Setup: Difference between revisions

From MBedwars
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
3: Restart your server using the command ''/restart''<br />
3: Restart your server using the command ''/restart''<br />
== Configurations ==
== Configurations ==
There're 4 files with configurations at ''/plugins/MBedwars''<br />
There're 9 files with configurations at ''/plugins/MBedwars''<br />
Every configurable file ends with .yml!<br />
'''config.yml:''' The main configurations for this plugin<br />
'''config.yml:''' The main configurations for this plugin<br />
'''achievements-config.yml:''' Enable or disable achievements<br />
'''achievements-config.yml:''' Enable or disable achievements<br />
'''itemspawners.yml:''' Create your own spawner or change a spawner<br />
'''itemspawners.yml:''' Create your own spawner or change a spawner<br />
'''shop-config.yml:''' Configurate the look of the shop or manage the pages/items in the shop<br />
'''shop-config.yml:''' Configurate the look of the shop or manage the pages/items in the shop<br />
'''lobby-config.yml:''' Configurate the inventory in lobby<br />
'''scoreboard-ingame.yml:''' Configurate the scoreboard in a round<br />
'''scoreboard-lobby.yml:''' Configurate the scoreboard in the lobby<br />
'''hologram-lines.yml:''' The lines of a hologram<br />
'''sounds-config.yml:''' Configurate any sound here<br />
== Creating and configurating a arena ==
== Creating and configurating a arena ==
0: (once only) Set the location where the players will be teleported at end using: ''/bw setgamedonelocation''<br />
0: (once only) Set the location where the players will be teleported at end using: ''/bw setgamedonelocation''<br />
1: Select the border of your arena using worldedit<br />
1: Now we are going to create the arena. Because there're 2 arena types, we must first decide which one is the best for us: <br />
2: Create a arena: /bw arena create <arena name> <made by> [made by 2] [made by 3]...<br />
* Region (default): An arena with the type region has 2 corner. You are able to create as many arenas in a world as you want. <br />
3: Add itemspawners: /bw arena additemspawner<br />
* World: This type is recommended if your arena is the ONLY thing in the world. <br />
4: Get the bed for each team with: ''/bw arena getteambed <team color>'' and place it<br />
2.Region.1: If you decided to use the region type, you must first set the corners using WorldEdit or with the axt you can optain with /bw arena getpositionaxe. <br />
5: Set the spawn point for each arena with: ''/bw arena setteamspawn <arena name> <team color>''<br />
2.Region.2: After that, you must type in this command: /bw arena create <arena name> <made by> [more made by...] <br />
2.World: If you decided to use the world type, you only need to type in this command: /bw arena create <arena name> <made by> [more made by...] -world. Make sure that you are in the world of the arena! <br />
3: Add a itemspawners: /bw arena itemspawner add <arena name> <itemspawner> <br />
4: Get the bed for each team with: ''/bw arena team getbed <team color>'' and place it<br />
5: Set the spawn point for each team with: ''/bw arena team setspawn <arena name> <team color>''<br />
6: Set the lobby-location for this arena: ''/bw arena setlobby <arena name>''<br />
6: Set the lobby-location for this arena: ''/bw arena setlobby <arena name>''<br />
7: Spawn the villager to trade with using a mob-spawner or the command: ''/bw summon dealer''<br />
7: Spawn the villager to trade with using a mob-spawner or the command: ''/bw summon dealer''<br />
8: Spawn the villagers to change the team using: /bw summon teamselectvillager <team color><br />
8: Spawn the villagers to change the team using: /bw summon teamselectvillager <team color><br />
9: Enable this arena using the command: /bw arena setstopped <arena name> false<br />
9: Enable this arena using the command: /bw arena setenabled <arena name> true<br />
10: There're 2 ways to let a player join the arena:<br />
10: There're 2 ways to let a player join the arena:<br />
*Creating a sign with: /bw addsign <arena name>
*Creating a sign with: /bw addsign <arena name>
*Spawning a villager: /bw summon lobbyvillager specify <arena name>
*Spawning a villager: /bw summon hubvillager specify <arena name>
11: Whenever you are making changes to the arena use /bw arena saveblocks <arena name> to save the arena
== Creating a votelobby (optional) ==
1: Enable 'arenavoting-enabled' in the config.yml<br />
2: Create a votelobby using '/bw arena create <arena name> -mapvote<br />
2.1: The players config in the create GUI is the max players amount.<br />
For example if it is set to 4, only arenas with 2x2 or 1x4 can join.<br />
3. Set the lobby using the command: /bw arena setlobby <arena name><br />
4. Enable the arena with the command: /bw arena setenabled <arena name><br />
<br />
That's it!<br />
Make sure that there're enough arenas to vote for.

Latest revision as of 18:21, 24 October 2019

Installing the plugin

1: Download this plugin
2: Put the downloaded file into the /plugins/ folder
3: Restart your server using the command /restart

Configurations

There're 9 files with configurations at /plugins/MBedwars
config.yml: The main configurations for this plugin
achievements-config.yml: Enable or disable achievements
itemspawners.yml: Create your own spawner or change a spawner
shop-config.yml: Configurate the look of the shop or manage the pages/items in the shop
lobby-config.yml: Configurate the inventory in lobby
scoreboard-ingame.yml: Configurate the scoreboard in a round
scoreboard-lobby.yml: Configurate the scoreboard in the lobby
hologram-lines.yml: The lines of a hologram
sounds-config.yml: Configurate any sound here

Creating and configurating a arena

0: (once only) Set the location where the players will be teleported at end using: /bw setgamedonelocation
1: Now we are going to create the arena. Because there're 2 arena types, we must first decide which one is the best for us:

  • Region (default): An arena with the type region has 2 corner. You are able to create as many arenas in a world as you want.
  • World: This type is recommended if your arena is the ONLY thing in the world.

2.Region.1: If you decided to use the region type, you must first set the corners using WorldEdit or with the axt you can optain with /bw arena getpositionaxe.
2.Region.2: After that, you must type in this command: /bw arena create <arena name> <made by> [more made by...]
2.World: If you decided to use the world type, you only need to type in this command: /bw arena create <arena name> <made by> [more made by...] -world. Make sure that you are in the world of the arena!
3: Add a itemspawners: /bw arena itemspawner add <arena name> <itemspawner>
4: Get the bed for each team with: /bw arena team getbed <team color> and place it
5: Set the spawn point for each team with: /bw arena team setspawn <arena name> <team color>
6: Set the lobby-location for this arena: /bw arena setlobby <arena name>
7: Spawn the villager to trade with using a mob-spawner or the command: /bw summon dealer
8: Spawn the villagers to change the team using: /bw summon teamselectvillager <team color>
9: Enable this arena using the command: /bw arena setenabled <arena name> true
10: There're 2 ways to let a player join the arena:

  • Creating a sign with: /bw addsign <arena name>
  • Spawning a villager: /bw summon hubvillager specify <arena name>

11: Whenever you are making changes to the arena use /bw arena saveblocks <arena name> to save the arena

Creating a votelobby (optional)

1: Enable 'arenavoting-enabled' in the config.yml
2: Create a votelobby using '/bw arena create <arena name> -mapvote
2.1: The players config in the create GUI is the max players amount.
For example if it is set to 4, only arenas with 2x2 or 1x4 can join.
3. Set the lobby using the command: /bw arena setlobby <arena name>
4. Enable the arena with the command: /bw arena setenabled <arena name>

That's it!
Make sure that there're enough arenas to vote for.