0.0.6 - Team Join Entity, Lobby scoreboard, effects, customizable sounds
Additions:
Team Join Entity
Can be any type of Living Entity (for example Armor Stand, Villager etc.)
How to create it?
Go to your bedwars lobby and place the entity
Switch your arena to edit mode
Run command /bw admin <arena name> jointeam <team name>
Right click the entity that you want
Now the entity gets name same as team and if the entity is Armor Stand it gets leather armor in team color. And it makes your entity persistent.
Now save your arena and you can play
Can it be created manually?
Yes, of course. Create any living entity with custom name same as team name and place it in your lobby. Bedwars plugin doesn't save this only finds team by name after right click.
Effects will always be played on location of player that trigger it or on location of killed player. On game start it will be played on location of all players and on game end only on location of winners.
Now there are three types of effects:
Particle
Just plays particle from Particle list in bukkit API
Code (YAML):
<some event>:
type: Particle
value: <some value from Bukkit Particle enum>
Now there aren't any other configurations (it will be added in new versions)
Effect
Just plays particle from Effect list in bukkit API
Code (YAML):
<some event>:
type: Effect
value: <some value from Bukkit Effect enum>
Now there aren't any other configurations (it will be added in new versions)
Firework
Launchs fireworks!!
Code (YAML):
<some event>:
type: Firework
power: 1
# (int) power of firework effects: # Firework effect list - ==: org.bukkit.FireworkEffect
# One firework effects type: BALL
# Firework Effect type from enum fade-colors: # Fade color list (must exists at least 1) - ==: org.bukkit.Color
RED: 255
GREEN: 255
BLUE: 255
colors: # Color list (must exists at least 1) - ==: org.bukkit.Color
RED: 255
GREEN: 255
BLUE: 255
trail: false
# (boolean) trail flicker: false
# (boolean) flicker
Some changes in config.yml (look at main page)
Fixes:
Fixed respawn location can be changed by other plugin.
Fixed in scoreboard are teams that aren't playing in this game but in previous they are.
Fixed wrong items clearing.
Fixed items for selecting team don't work when you click to air.
Fixed compass team selector doesn't work with WorldEdit plugin.
Fixed when you left from lobby and you were connected to team, you weren't be removed from team and it still count down to game start.
Fixed loading internal messages on Windows don't works properly so I forced coding to use UTF-8.
Fixed error when you saved arena and you forgot to set team bed or team spawn.
Fixed possibly bug with worlds when you have another plugin than Multiverse.