||7 years ago|
|LICENCE||7 years ago|
|README.md||7 years ago|
|depends.txt||7 years ago|
|init.lua||7 years ago|
|uba_core.lua||7 years ago|
|uba_inventory.lua||7 years ago|
|uba_nodes.lua||7 years ago|
|uba_register.lua||7 years ago|
[uba] Utimate Battle Arena
This mod aims to become the utimate battle arena for Minetest servers. It offers the core functionalities of an arena which can be completed with additional mods via a global namespace.
The commands :
Player commands :
/uba join <arena_name>Join the arena <arena_name>
/uba leaveLeave the arena you are playing in. The player can leave at any time.
/uba voteThe battle won't start until the arena is full. The players can vote to start earlier. The votes are available 60 secs after the opening of the arena.
/uba listReturns a list of all the arenas with their name, number of players and status
Admin commands (needs the 'uba' privilege) :
/uba new <arena_name>Create a new arena <arena_name> in the worldedit selection. Returns the arena nodes in the catsers inventory.
/uba saveSave the arena you are editing. This also enables the arena.
/uba edit <arena_name>Edit an existing arena. Returns the arena nodes in the casters inventory. This will also kick all the players if used on an active arena.
/uba disable <arena_name>Disable the arena <arena_name>. This will also kick all the players if used on an active arena. The disable flag is set in arenas.conf
/uba additem <arena_name> <itemstring> <count>Adds the given tool (itemstring) to the arena's items.conf with the given count.
/uba rmitem <arena_name> <itemstring>Removes the given tool (itemstring) from the arena's items.conf /!\ Broken due to this Minetest bug
First Protect the area where your arena will be build. You can use https://forum.minetest.net/viewtopic.php?id=7239 .
Then select a region with worledit using
//pos2 and execute
/uba new <arena_name>. Walls will be automatically
build around your selection to demarcate the arena.
You can now place the slabs and arena chests. When you are ready, use
/uba save to save and enable the arena. Your players can now enjoy the newly build arena.
Chest: the special arena chest will be randomly refilled with the content of items.conf after each round. These chests can only be destroyed by their placer (most likely the admin)
Slab: the special arena slabs are used as spawnpoints for the incoming players. These slabs can only be destroyed by their placer (most likely the admin)
Wall: the arena wall can only be removed with worledit. This is to avoid that players can dig it and escape before the server checks for dig permission (lag)
Inventory: the player's inventories are cleared when joining an arena to avoid cheating. These are restored at the end of a round or when the player leaves.
- lgpl 2.1