Big Update - Bugfixes, New Features & Improvements
Please read everything before updating! I'd recommend you to delete language.yml and options.yml, see the reason below.
New Class!
Shaman
Summons a tornado!
Code (Text):
#
#For a complete tutorial see pyromancer.yml.
#
# Note that all values that are set to 0 here are not being used.
#
display-name: 'Shaman'
description:
- '&9Shaman'
- ' '
- '&7Creators a Tornado!'
#Tornado duration, in seconds
tornado-duration: 4.5
#Will Tornado apply slow effect to players?
tornado-apply-slow: true
#Starting from 0
tornado-slow-level: 1
#Value in ticks (20 ticks = 1s)
tornado-slow-duration: 20
#Push players
tornado-push-players-back: true
As it is, you have to delete your shop file to generate a new one, or just add these lines to your shop.yml (Check the slot, I've modified the default menu and slots)
As always, you can modify everything on the class file.
Was planning 3 classes for this update, but there's a lot of other things that had to be reworked, new classes coming soon.
General
Added support for ItemBridge for Items.
Set Options.ItemBridge to true.
Just set the item name to the item name that you want ItemBridge to get.
Tested, but please test it out before running on a server, let me know if you find any problems with it, it's a very simple thing but for loading kits it can mess something up.
Added some Objectives settings:
Capture-Rate: Default > 1
Decrease to add capture time.
Capture-Max: Default > 24
Increase to add capture time.
Added /wizards reloadClasses
Please be careful, this will unregister all classes events and unload everything from memory and to load again.
Also, please, DO NOT reload Wizards with PlugMan, we have a reload command for everything now.
There is a protection system that will not let you use the command if there's a game running.
Added items to classes file.
Works the same way as kits.
You have to manually add the lines below to your classes file or delete your classes files to generate new files ones.
Added an option to set arena bounds so players won't leave the arena.
Use /wizards wand, it works just like WorldEdit wand.
Select the corners and use /wizards setBounds <arena>.
You can choose to teleport or kill the player when the leave the arena area, set Options.Game.Kill-Player-When-Leave-Arena-Bounds to false to just teleport the player to the spawn.
Options.Game.Warn-When-Leave-Arena-Bounds warns before applying an action.
New Messages: Messages.Out-Of-Bounds, Messages.Out-Of-Bounds-Warning.
Avoiding WorldEdit due amount of API changes from version 6 to 7.
Added a global placeholder (PlaceholderAPI)
%wizards_team_color%
Returns player's team color, if in game.
You can now join a game that already started (Check Options.Join-While-In-Game).
Changed Material API.
Empty strings ("") will no longer be shown.
Wizards will now load when not using Java 8, but with an warning, the plugin is still built in Java 8.
Bugfixes
Fixed a bug with 1.13+ items.
Fixed saving the arena after using /wizards edit does nothing in 1.13+.
Fixed Wizards trying to copy session.lock, causing spam errors due minecraft crap.
Fixed scoreboard teams not being created.
Fixed team color not being set on tablist.
Fixed language.yml typos.
Fixed some titles not being displayed.
Fixed some sounds not being played.
Fixed restoring game state on signs.
Fixed win commands not working.
Fixed top killers command not working
Fixed hand damage applying same damage as weapon damage.
Fixed sign not updating.
Fixed coins per kill not working.
Fixed disable rewards not working.
Fixed limit of Offline Data not working.
Fixed Block data errors in Legacy versions.
Fixed Some problems with Indicators.
Recoded World loading and deleting.
World loading should be a lot faster now.
Removed unused options and messages.
Reorganized options.yml and messages.yml
I'd recommend you to backup your settings and language files to delete and generate new fresh ones. You'll get all new options anyways but a lot of things were removed, had the name changed or had its path changed.
Removed ton of unused code.
Thanks for all suggestions, part of them are in this update, things that aren't on this update yet will be implemented later!
As you can see that was a big update with a ton of bugfixes, please test it out and report anything you find.
Please report bugs at discussion or via Private Message.
Also feel free to leave a review on Wizards, let everyone know what you think of the resource!