This mod adds automatised battle arenas to your minetest world.
Just create and enable it once, the mod handles the rest.
Install the gauges mod from Calinou to add a nice healthbar above the players.
I'm waiting for your suggestions and feedback in the comments below ! :D
Screenshot :
How it works :
A player with the 'uba' privilege creates a new arena by making a selection with worledit 'pos1' and 'pos2' .
A wall is then created, delimiting the arena.
The player can now place the chests and slabs that he received in his inventory. Each placed chest and slab will be added to the arena database.
The slabs are used as spawn points for the players who join the arena.
The chests are randomly (re)filled after each round with content from 'arena_name/items.conf' .
When ready, save the arena. Everyone can now join the new arena.
The commands :
Player commands :
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Join the arena
- Code: Select all
/uba join <arena_name>
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Leave the arena you are playing in. The player can leave at any time.
- Code: Select all
/uba leave
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.The 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.
- Code: Select all
/uba vote
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Returns a list of all the arenas with their name, number of players and status
- Code: Select all
/uba list
Admin commands (needs the 'uba' privilege) :
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Create a new arena in the worldedit selection. Returns the arena nodes in the catsers inventory.
- Code: Select all
/uba new <arena_name>
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Save the arena you are editing. This also enables the arena.
- Code: Select all
/uba save
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.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.
- Code: Select all
/uba edit <arena_name>
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Disable the arena . This will also kick all the players if used on an active arena. The disable flag is set in arenas.conf
- Code: Select all
/uba disable <arena_name>
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Adds the given tool (itemstring) to the arena's items.conf with the given count.
- Code: Select all
/uba additem <arena_name> <itemstring> <count>
- Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.Removes the given tool (itemstring) from the arena's items.conf /!\ Broken due to this Minetest bug
- Code: Select all
/uba rmitem <arena_name> <itemstring>
Privileges :
uba
Depends :
default, stairs, worldedit
Not needed, but useful is 'areas' to protect the arena.
Licence :
GNU LGPL v2.1
Browse code :
https://github.com/indriApollo/uba
Download :
https://github.com/indriApollo/uba/archive/master.zip