Warzones created in worlds that are then deleted can cause a stack
trace to dump in the error log. This replaces the stack trace with
an informative error message.
Closes#774
I personally dislike forcing our users to use a separate plugin
just to abstract different economy plugins, but sadly we live in a
hell world where there are 20 competing economy plugins and
counting so I don't want to deal with that.
Closes#507.
War now includes a configuration option "TPWARMUP" to add delays
before teleporting players to a war. This can be used on full-world
PvP servers to prevent players from running away from a fight.
The configuration option is specified in ticks - 20/sec.
The delay is activated for /zone and /warhub.
@taoneill @cmastudios documentate for 1.9 release.
Closes#615.
The new APPLYPOTION configuration option allows warzone makers to
give potion effects ot players every time they spawn.
Use case: Resistance 5 for a few seconds on player spawn to prevent
them from being "spawn camped" - killed when they step out by other
players waiting nearby.
Format of APPLYPOTION: effect_type:duration:amplification
effect_type:
For a valid list of values that can be used for this type param,
please see http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html
duration:
Time in ticks (1/20 sec) that the potion will apply for.
amplification:
Amplifier to the potion's power.
@taoneill @cmastudios documentate how to tune this option before
1.9 release on the wiki. Also please test use of this option in
game (pulling a @grinning here).
@taoneill @grinning we need a new name for War 1.9. Maybe Bob can have his
chance again after all?
@taoneill also please update main war branch to 'develop'.
- We just take care of wiping top inventory slots in CRAFTING-type inventory views (container inventories weren't causing the same issue)
- End-of-game teleport and state restoration shouldn't wipe your chat anymore either
PL has been completed, KO corrections.
There needed to be a trailing newline on the warhub sign localization or the plugin crashed when loading a lobby.
Adding metrics support via shading caused a unexpected break due to versions of shade being incompatible with older versions of maven. In theory, everyone should update to maven3 if possible. However, I would like to retain compatiblity for our older CI servers.
This commit adds localizations for the languages French, Korean, and Norwegian. Portuguese, Hungarian, and Polish are still a work-in-progress but they have been added. The languages German, Spanish, and Russian have been updated also.
War now collects statistics from servers running the plugin. The statistics are minimal. The goal is so the developers of the plugin can tell what areas they need to do more work in.
In addition to the default statistics collected by PluginMetrics, War sends the number of warzones and if certain plugins that War interfaces with are enabled.
To prevent your server from sending statistical data, set "opt-out" to "true" in plugins/PluginMetrics/config.yml.
Closes#716.
Warzones that previously used blockheads:false during the preview to get a properly colored hat now need to switch to blockheads:true for a hat. Old warzones that have blockheads:true will now have colored helmets instead of block heads.
Closes#528.
returns the code after the leaving of the zone. Not sure if it works.
Don't think it returns under all cases
Conflicts:
war/src/main/java/com/tommytony/war/Warzone.java