Arena-Setup
Arena-Setup for Tower Defense X
Setting up an arena in Tower Defense X is a simple process. Follow the steps below to create an arena for your players to enjoy:
Set the lobby location by using the command /td setlobby. This will be the location where players will be teleported when they use the /td join command.
Create the arena by teleporting to the arena world and using the command /td create <Name> <minPlayers> <maxPlayers>. This will create a new arena with the specified name, minimum and maximum player counts.
Set the waiting lobby for the arena using the command /td setlobby <Arena>. This is where players will wait for the arena countdown to finish and they can vote for difficulty or equip classes there.
Set the location that the players will teleport to when the game actually begins using /td setspawn <Arena>. This should be inside the map.
Setup the enemy path by using the command /td addpathspawn <Arena> <Path ID>. Use Path ID = 1 for your first route. If you have a second route, repeat the process using Path ID = 2 and so on. You can delete the last added path using /td removepathspawn <Arena> <Path ID> and check the paths added using /td showpath <Arena> <Path ID>.
Select the central blocks of towers using the command /td buildingarea <Arena>. Use the tool to left-click a block and make it a central block.
Enable the arena in the arena editor (/td edit <Arena>) and hit save.
Backup your worlds using the worldmanager commands.
If you want to make all players automatically join Tower Defense X when they join the server, enable bungee mode in, see Bungee-modefor that.
Using bungee mode, if you have only one arena set up, players will automatically join that arena once they join the server and when the arena finishes, the server will close. If you have multiple arenas set up, the plugin will simply run the command /td join to put all players in the lobby where they can select an arena. This prevents them from leaving the lobby and there is no restarting done here.
Last updated