After month and few days there is a time to post new update for BedWars. This update is the biggest I've ever done for this minigame. I hope you enjoy the new features in this plugin.
IMPORTANT NOTE:
If you use 1.14 spigot, there could be a problem with lore because spigot wrongly read lore and with special items, because special items use lore to identity item stack. So if you are using 1.14, please change version of ItemStacks to 1.14 (1952). Because the 1.14 spigot is still under development, I hope that this bug will be fixed.
Code (YAML):
- price
: 4
price-type
: bronze
stack:
==
: org.bukkit.inventory.ItemStack
v
: 1952
# <- 1952 is 1.14
type
: GLASS
Additions:
- Special Item: Traps
- Trap is special item from original BedwarsRel plugin. When the enemy goes into the trap, the trap disappears and gives player some potion effects, plays sound to alert the presence of the enemy or gives damage. It depends on your mind. And you can combine these things!
-
Code (YAML):
- price
: 3
price-type
: iron
properties:
- name
:
"Trap"
data
:
# List of events that happen when a player gets trapped
- sound
: ENTITY_SHEEP_AMBIENT
# This is sound event, it plays ENTITY_SHEEP_AMBIENT sound
- effect
:
# Effect is PotionEffect
==
: org.bukkit.potion.PotionEffect
# You must start with this declaration of PotionEffect
effect
: 15
# This is the number of type
amplifier
: 2
duration
: 100
ambient
: true
has-particles
: true
has-icon
: true
- effect:
==
: org.bukkit.potion.PotionEffect
effect
: 18
amplifier
: 2
duration
: 100
ambient
: true
has-particles
: true
has-icon
: true
- effect:
==
: org.bukkit.potion.PotionEffect
effect
: 2
amplifier
: 2
duration
: 100
ambient
: true
has-particles
: true
has-icon
: true
- damage
: 1.0
# (double) Player gets this damage
stack:
==
: org.bukkit.inventory.ItemStack
type
: STRING
v
: 1519
meta:
==
: ItemMeta
meta-type
: UNSPECIFIC
display-name
:
"Trap"
lore
:
-
"Get informed if an enemy steps on your trap"
-
"and your enemy won't be able to move properly."
- This item is in standard shop.yml configuration.
- Special Item: LuckyBlock
- LuckyBlock is special item from LuckyBlockAddon for original BedwarsRel plugin. When you broke these block, it could give you potion effect, teleport you a certain number of blocks above or you could give an potion effect! It plays just one random event from all.
-
Code (YAML):
- price
: 7
price-type
: iron
properties:
- name
:
"LuckyBlock"
data:
- type
: tnt
# This detonates TNT
- type
: nothing
# This does nothing :)
- type
: teleport
height
: 50
# This teleports you above, if you are in height 60, you'll be in height 110
- type
: item
stack
:
# Gives you just normal ItemStack
==
: org.bukkit.inventory.ItemStack
type
: DIRT
v
: 1519
message
:
"This sends you message, you can add it to all of these types."
- type
: potion
effect
:
# Gives you just normal PotionEffect
==
: org.bukkit.potion.PotionEffect
effect
: 15
amplifier
: 2
duration
: 100
ambient
: true
has-particles
: true
has-icon
: true
stack:
==
: org.bukkit.inventory.ItemStack
type
: SPONGE
v
: 1519
meta:
==
: ItemMeta
meta-type
: UNSPECIFIC
display-name
:
"Lucky Block"
- Property: transform::applycolorbyteam
- These property changes wool color to color of team after player buys it.
-
Code (YAML):
- price
: 1
price-type
: bronze
properties:
- name
:
"transform::applycolorbyteam"
stack:
==
: org.bukkit.inventory.ItemStack
v
: 1519
type
: WOOL
- Stats holograms
- If you have HolographicDisplays plugin on your server, you can make holograms! Just run command /bw addholo and hologram is here!
- Upgrades (experimental)
- Now you can do simple upgrades! When you create spawner, use /bw admin <arena> spawner add <type> [name for spawner] [starting level - default: 1]
- Then in shop config you can use upgrade variable.
Code (YAML):
...
upgrade:
entities:
- type
: spawner
# Now there is just one type
customName
: name
# Name of you spawner
levels
: 1
# How much levels gives this update to spawner
price
:
...
price-type
:
...
stack
:
...
...
Changes:
- Changes in shop format:
- Now the shop is using SimpleGuiFormat library (from me
), so any bugs and ideas related with formatting and generating gui post to issues on SimpleGuiFormat github page.
- Now there are new shop config version (version 2). The shop.yml file could update automatically. Now there is not shop-items, but data:
Code (YAML):
# DO NOT EDIT THIS!!!
version
: 2
data:
- stack:
==
: org.bukkit.inventory.ItemStack
v
: 1519
type
: DIAMOND_CHESTPLATE
amount
: 1
meta:
==
: ItemMeta
meta-type
: UNSPECIFIC
display-name
:
"Armor"
lore
:
-
"Protect yourself with armor! Click here."
items
:
-
...
- Now there isn't categories, but there is just item, that can have child items. So you can create category in category. And you can use positions everywhere!
- If item has both items: and price: with price-type:, items has a higher priority.
- Items can have id: It's string that could identity the item, for example
Code (YAML):
id
: myFavouriteItem
- Then you can clone item.
Code (YAML):
clone
: §myFavouriteItem
There are three types of clone:
- previous - This clones previous item.
- cosmetic - You can clone cosmetic defined in config.
- §id - This clones item by id. This text must start with paragraph.
- And there are four types of clone-method
- default, missing - This clones just variables missing in new item.
- override - This always clones variables from old item.
- increment, increment-default, increment-missing - If variable is list, it will just merge these lists. So if old item has in list 2 childs and new item has in list 3 childs, final new item has 5 childs. For other variables uses missing/default method.
- increment-override - Does same things with lists as previous method and for other variables does same things as override method.
- insert - If item has these variable, it will insert childs from items to selected item by §id or to main. This item never be rendered in gui.
- And there are more and more things in shop. I'll prepare wiki for SimpleGuiFormat.
- New configuration:
- Now you can customize bossbar:
Code (YAML):
bossbar:
lobby:
enable
: true
color
: YELLOW
style
: SEGMENTED_20
game:
enable
: true
color
: GREEN
style
: SEGMENTED_20
You can customize bossbar colors in game with command /bw admin <arena> lobbybossbarcolor <color> and /bw admin <arena> gamebossbarcolor <color>
- There is new variables, that could be configured for all games and for one game:
- prevent-spawning-mobs
- spawner-disable-merge
- spawner-holograms
- scoreboard (ingame, has another name in config)
- lobbyscoreboard (ingame, has another name in config)
- bossbar (ingame, has another name in config)
- lobbybossbar (ingame, has another name in config)
- New just ingame variables:
- upgrades (/bw admin <arena> upgrades <true|false> - enables experimental upgrades feature, that will be fully implemented in version 0.2.0
- arenaTime (/bw admin <arena> arenatime <type>) - sets time in arena (WORLD, DAY, NIGHT, ...)
- arenaweather (/bw admin <arena> arenaweather <type>) - This sets weather in arena (default, CLEAN, DOWNFALL)
- There is new sound event in config: on_upgrade_buy
- There is new holograms section in config:
Code (YAML):
holograms:
enabled
: true
headline
:
"Your §eBEDWARS§f stats"
- You can use any target, not just bed.
- Shops (entities):
- You can specify shopfile: /bw admin <arena> store add [shopfile] [use main shop file: true | false] - This yaml file must have data: inside as normal shopfile. In this command you use just myShop, not myShop.yml!
- You can change entity type with: /bw admin <arena> store type <entity>
- Now /bw admin <arena> info has better and categorized output.
- New API version
- And a lot of small changes!

Fixes:
- Fall on game end caused by statistics.
- Missing method broke support on legacy versions.
- On legacy versions there stay title for longer time.