Hybrid improvements, Command Description Translations, Potion/Enchant contexts, and more!
IMPORTANT:
Due to recent changes, you will need to perform the following before starting server with new update
- Delete ./plugins/GriefDefender/lang
The main highlights of this update are as follows
Hybrid Improvements
- Greatly improved compatibility for Hybrid servers such as Mohist and Magma.
- A new TileEntity registry was added to support mods such as IC2.
- Mod entity types will now register properly.
Command Description Translations
Command descriptions will finally be translated to the appropriate language you have set on your server. To view command descriptions, use the command `/gd` then hover over each command for information.
Potion Effect/Enchantment contexts
To further improve protection, GD now supports potion effect and item enchantment contexts.
The new 'potion_effect' context will be automatically applied during permission checks if any potion effect is used.
Any item containing an enchantment, including books, will contain a new 'enchantment' and 'enchantment_data' context.
Note: Enchantments are disabled by default and will require the server admin to turn on 'enchantments' in global config under context category.
PlaceHolderAPI for Sponge servers
Sponge servers can now make use of all GD placeholders.
In order to enable this addition, you will need to grab the latest PlaceHolderAPI 4.5.1 which can be found here
https://github.com/randombyte-devel...ases/download/v4.5.1/PlaceholderAPI-4.5.1.jar
Nucleus v2 support for Sponge servers
Sponge servers can now use Nucleus v2 with GD 1.5.5.
Note: Nucleus v1 will also continue to work if you wish to stick with that.
Memory Improvement
Fixed a memory issue in GDCauseStackManager. Thanks to mikroskeem for discovering this bug.
zh_HK Translation
GD now supports zh_HK/TW translations. Thanks to himehina for the contribution!
Now for the changelog =)
Changelog
Code (Text):
* Add potion effects support.
* Add item enchantment support.
* Add pvp lookup methods for claim and playerdata.
* Add 'block-tileentity-id-list' used to override mod block id's that are used for many TE's.
- Ex. IC2 uses a base block id 'ic2:te' for all TE's. When the id is detected during block/item usage, it will be converted to the actual id.
* Add TileEntity registry to better support hybrid servers.
* Add '/claiminfo' UUID click support to copy text to chat.
* Add support for overriding option 'player-command-exit/enter' on player.
* Add command description translation support.
* Add zh_HK language support.
* Fix event cause not clearing on push.
* Fix abandon claim within town returning funds to owner in economy mode.
* Fix player afk detection during claim block task.
* Fix async chunk load during visual revert.
* Fix advanced flag GUI toggle with definitions.
* Fix rent sign update not checking all children claims.
* Fix rent sign not being updated when cancelled via '/claimrent cancel'.
* Fix NPE when attempting to purchase an admin claim for sale.
* Fix command description translations.
* Fix isInvulnerable NPE on 1.8.8 servers.
* Fix '/abandonworld' exiting when no economy data found for player.
* Fix '/claimcontract' and '/claimexpand' NPE in economy mode.
* Fix '/claimsell' on admin claim.
* Fix '/deletealladmin' only deleting admin claims in current world when
passing no world argument.
* Fix '/gd claim we' command.
* Fix GD claim enter/exit prefix. The prefix will now use '[<playername>]'.
Note: This can be configured in lang file under 'claim-prefix-enter' and 'claim-prefix-exit'
* Clean up advanced flag GUI code.
* Disable /buyblocks command when economy-block-cost is <= 0
* Deny town claim abandon if basic claims exist owned by owner.
* Allow to input string as option value.
* Improve pvp source contexts.
* Clean up '/acb' command code.
* (Bukkit) Add potion splash protection support.
* (Bukkit) Fix tamed entities being hit by projectiles.
* (Bukkit) Fix enderman block place protection.
* (Hybrid) Fix wrong EnumCreatureType being registered for entities.
* (Hybrid) Add TileEntity registry.
* (Hybrid) Add mod command support for 'command-execute' flag.
* (Sponge) Add PlaceHolderAPI support.
* (Sponge) Add Nucleus v2 support.
* (Sponge) Add IgniteEntityEvent support.
* (Sponge) Fix '/cpp' and '/cpg' command.
* (Sponge) Fix player block placement deny not sending message.