TNTRun
TNTRun is a fully automated minigame plugin that is based on the popular map TNTRUN. For those who doesn't know what is it, here is and explanation.
Players start on layer of sand and every block that they step on dissapears. If player falls through the hole he loses the game. The last player wins the game.
Features
- Multiple arenas
- Block destroy delay
- Custom gamelevel
- AntiCamping system
- Custom messages
- Formatting codes support
- Signs
- Time limit
- Automatic arena regeneration
- Arena leave checker
- Player rewards
Game commands:
/tr list - list all arenas
/tr join {arena} - join arena (can be disallowed by giving player tntrun.onlysignjoin permission)
/tr leave - leave current arena
/tr vote - vote for current arena start
/tr lobby - teleport to lobby
Arena setup commands:
Permssion: tntrun.setup
Main setup commands
Use worldedit for selections, built-in slection system is broken for now.
Build gamelevel blocks yourself, anything under player feet breaks.
/trsetup create {arena} - create {arenaname}
/trsetup setarena {arena} - set bounds of the arena (if player leaves arena bounds while in game, he automatically loses)
/trsetup setloselevel {arena} - set looselevel bounds
/trsetup setspawn {arena} - set spawnpoint at location you are standing at.
/trsetup setspectate {arena} - sets spectator spawnpoint.
/trsetup finish {arena} - finish arena creation and save it.
Additional setup commands
/trsetup delspectate {arena} - deletes spectator spawnpoint
/trsetup setgameleveldestroydelay {arena} {ticks} - add a delay before gamelevel block is destoyed after player stepped on it. (default: 2)
/trsetup setmaxplayers {arena} {player} - set max players for this arena (default: 6)
/trsetup setminplayers {arena} {players} - set min players for this arena (default: 2)
/trsetup setvotepercent {arena} {0<votepercent<1} - set the percent of votes requered to start the game for this arena (default: 0.75)
/trsetup settimelimit {arena} {seconds} - set the time limit for arena.
/trsetup setcountdown {arena} {seconds} - set countdown time for arena
/trsetup setitemsrewards {arena} - sets everithing what you have in your inventory as a reward for winning
/trsetup setmoneyrewards {arena} {amount} - sets money rewards (vault is required for this)
/trsetup setteleport {arena} {previous/lobby} - teleports player to pre-join or to lobby location after player lose
/trsetup setdamage {arena} {on/off/zero} - sets pvp state in the arena (on - full damage, zero - zero damage, off - no attack at all)
/trsetup reloadbars - reload configbars.yml
/trsetup reloadmsg - reload configmsg.yml
Arena managment commands
/trsetup enable {arena} - enable the arena
/trsetup disable {arena} - disable the arena
/trsetup delete {arena} - delete arena
Lobby:
Permission to set lobby: tntrun.setup
/trsetup setlobby - sets a lobby at your location
Signs:
Permission to create signs: tntrun.setup
Join sign format:
1st line: [TNTRun]
2nd line: [Join]
3rd line: arenaname
Leave sign format:
1st line: [TNTRun]
2nd line: [Leave]
Vote sign format:
1st line: [TNTRun]
2nd line: [Vote]
Additions:
You can use worldedit for selections instead of built-in selection.
Downloads area and source code:
source code (new)source code (old)
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
jenkins
@ifraaannk
No it won't recognize sand or tnt or something. So you will have to define cuboid gamelevel and build a curculas arena inside this cuboid.
@ifraaannk
Just go to their edges and set tnt and sand.
@Shevchikden
Fantastic! One more thing. What if I have an arena that's circular? Is that possible? I was thinking of the plugin recognizing all the TNT and sand in the already-set arena? If you know what I mean.
Thanks for this awesome and so-far-bug-free plugin! :)
ifraaank
@ifraaannk Changing to air can be done.
But customising levels will be available only at seconds release.
@Shevchikden
What about changing it to air (or is that the same?) Or what about stopping the regeneration? Thanks! :D
@ifraaannk You can just remove water, but plugin will regenerate it on server restart. And changing it to void now is not the easiest thing.
Could you make it, so the lose-level isn't water, but just when you fall into the void, you're dead? Or can I just remove the water after I've set the loselevel? :)
@Shevchikden
Oh, just delete my ticket again then. Didn't think you'd reply this fast! :D
@ifraaannk It's because of the system that destroys all 4 blocks under your feet. I will add a configurable delay before block is removed.
Got it all working now. But when I run around, it seems like it removes the block right in front of me, and that makes me fall very quickly.. Its too fast xD
Opened ticket system. Use tickets to suggest something (otherwise i may forget about it). P.S. started 5 hour testing on my server , if i won't find any bugs, i will upload first release.
I finished some safeguard. Now plugin won't allow you to define gamelevel, loselevel and spawnpoint outside of arena bounds
Added colored messages. Fixed maxplayers wasn't doing anything. Now also saves player food level and gamemode.
@Shevchikden
Apparently, it breaks every server restart.
Thank you.
@Shevchikden
Alright.
@TarikBerk I will add more safeguard and checks for configuration after i will finish custom messages.
It works now, hope it doesn't break.
@Shevchikden
It keeps saying "Arena bounds not set.", even though I've set them like 3 times now.
@TarikBerk
Looks like spawnpoint is not in the arena bounds.