Skip to content

Setup new arena

AlonsoAliaga edited this page Feb 16, 2023 · 2 revisions

Setup new arena

Before you start using the plugin you MUST select the lobby.
To do this, go to your spawn world and type /alonsorftb setlobby

⚠️ Remember you must use the command in the exact location in which players will appear after a game ends.

⚠️ REMEMBER, IT'S ONE ARENA PER WORLD.

In this example, we will create an arena with the following data:

  • Identifier: oldcaves <- Identifiers must be lowercase and can only contain letters and dashes -
  • Arena name: Old Caves <- The name that will be displayed in scoreboards and more
  • Total time in seconds: 300
  • Release time in seconds: 15
  • Should beast be teleported if falls to void?: false
  • Beast amount: 1 <- Do NOT set it to other than 1 for now
  • Min players: 2
  • Max players: 10

To setup a new arena you must follow the next steps:

1) Go to your arena world

Teleport to the world in which the arena is.

2) Select the items for the beast

Clear you inventory and pick the armor the beast will have.
Suggestion: diamond armor and a diamond sword.

3) Let's create the arena

Type the following command replacing it with your current names and values.
/alonsorftb createarena <arena-identifier> <Arena_name> <total-time> <release-time> <beast-teleport-void?> <beasts-amount> <min-players> <max-players>

Replacing with our values above we have:
/alonsorftb createarena oldcaves Old_Caves 300 15 false 1 2 10
⚠️ If you want the arena name to have a space you must use an underscore that will be replaced with space.

You will receive the setup items!

4) Start setting up the arena with the items

🔰 SELECTING LOCATIONS AND TRIGGERS! 🐲

✔️ Let's start selecting the important locations!

Use the item Set waiting location to set the waiting location

The location in which players will appear when joining the arena.

Use the item Set cage location to set the cage location

The location in which the beast will be teleported when selected.

Use the item Set runners location to set the runners location

The location in which the runners will be teleported to start running.

Use the item Set beasts location to set the beast location

The location in which the beast will be teleported to start chasing the runners.
This location can be the same as the runners location.\

🔰 SELECTING TRIGGERS ⚔️ (This is optional and can be ignored)

🧰 Triggers are useful because they allow you to:

  • Teleport a player to a location.
  • Give effects to a player.
  • Remove all effects from a player.

Teleporting players

The command to create the teleport item is:
/alonsorftb createaction teleport <physical/right-click> <only-alive> <cancel-event>
Let's supposed you want to make a pressure plate that teleports player to other location.
You MUST hold that item in your main hand and WHILE standing in the TARGET location, execute this command:
/alonsorftb createaction teleport physical true true
Once done, place the pressure plate wherever you want it to be. If you want it to be a botton, hold a button in your main hand and use:
/alonsorftb createaction teleport right-click true true

Giving effect to players

The command to create the effect item is:
/alonsorftb createaction effect <physical/right-click> <only-alive> <cancel-event> <potion-effect-type> <time-in-seconds> <amplifier>
Let's supposed you want to make a pressure plate to give jump boost to players.
You MUST hold that item in your main hand and execute this command:
/alonsorftb createaction effect physical true true JUMP_BOOST 10 4
Once done, place the pressure plate wherever you want it to be. If you want it to be a botton, hold a button in main hand and use:
/alonsorftb createaction effect right-click true true JUMP_BOOST 10 4

Giving effect to players

The command to create the effect item is:
/alonsorftb createaction clear_effect <physical/right-click> <only-alive> <cancel-event>
Let's supposed you want to make a pressure plate that clears effects from players.
You MUST hold that item in your main hand and execute this command:
/alonsorftb createaction clear_effect physical true true
Once done, place the pressure plate wherever you want it to be. If you want it to be a botton, hold a button in main hand and use:
/alonsorftb createaction clear_effect right-click true true

⚠️ To remove these action blocks you simply break them in creative mode.

🔰 SELECTING ARMORY ⚔️

✔️ Make sure you fill the chests with the loot you want!
💡 Suggestions: Make a chest with potions, one with bow and arrows and other with diamond armor/swords

Use the item Add refill chest to make the chest auto refill

The chest selected will never be empty when player opens it. (Open chest animation won't be displayed)

Use the item Add no refill chest to make the chest with limited loot.

The chest selected will not be refilled, if a player take the items, it won't regenerate.

Use the item Remove chest to remove a chest from the arena.

The chest will be removed from the arena data. (Removes refill and no-refill chests)

5) Saving the map!

To finish and save the map you simply right click the item Save arena.

THAT'S IT! Arena is ready to be played! Easy, isn't it?

⚠️ You can discard the arena in any moment (data will be lost) using /alonsorftb stopediting!

Clone this wiki locally