Commit Graph

220 Commits

Author SHA1 Message Date
bloodshot
5ec34d4a17 Update for 1.5.9 release.
* Fix playerdata getting wrong accrued claim block value if world context existed while in global mode.
* Fix Citizen NPC's being denied entry to claim when flag 'enter-claim' is false.
* Fix some zh_HK translations.
* Fix NPE during potion splash.
* Fix enderman-grief flag definition.
* Fix villager-trade flag definition.
* Fix villager-farm flag definition.
* Fix timing NPE in EntityEventHandler.
* Fix owner name showing for enter/exit prefix in wilderness/admin claims.
* Fix untamed animals being denied when attacking eachother.
* Add 'claim-block-task' setting in global.conf to control whether block accrue task runs.
* Add animal-block-modify flag definition.
* Add ravager-block-break flag definition.
* Add silverfish-block-infest flag definition.
* Add new visual config setting 'cuboid-level-visuals-2d' under visual category to control whether cuboid visuals should be show during inspection of 2d claims with owner min/max level between 0-255.
* Add ru_RU translations for new flag definitions.
* Remove 'ForSale' click function in '/claiminfo' as it is no longer needed.
* Rewrite EntityChangeBlockEvent handling. Handler will now use the proper block flag when handling source/target block changes.
* (Sponge) Fix 'flowing_water' spam in gddebug.
* (Sponge) Add ice form/melt detection.
* (Sponge) Fix NPE in Nucleus listener.
* (Sponge) Fix rent sign interval.
* (Sponge) Fix compatibility with LittleTiles mod.
* (Sponge) Fix inability to disable modification/investigation tool in config.
* (Sponge) Fix some more debug spam during block pre event.
2021-01-08 13:59:00 -05:00
bloodshot
038e83d40d Bump to 1.5.6 for release. 2020-12-31 14:54:17 -05:00
bloodshot
c419c83de1 Fix zh_HK not being loaded due to case.
* Add more translations for flag and option UI.
* Add new config setting 'claim-block-task-move-threshold' to control
  the mininum threshold of movement (in blocks) required to receive
  accrued claim blocks.
2020-12-31 14:50:48 -05:00
bloodshot
15b253130e Fix timing NPE in onEntityDamage. 2020-12-30 17:32:22 -05:00
bloodshot
671d63a09b Update for 1.5.5 release.
* 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 '/gd claim we' command.
* 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 '/claimsell' on admin claim.
* 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 '/deletealladmin' only deleting admin claims in current world when passing no world argument.
* Fix '/claimcontract' and '/claimexpand' NPE in economy mode.
* 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.

Fixes #4
Fixes #200, Fixes #206, Fixes #222
Fixes #232, Fixes #237, Fixes #267
Fixes #269, Fixes #276, Fixes #296
Fixes #310, Fixes #311, Fixes #317
Fixes #324, Fixes #333, Fixes #334
Fixes #335, Fixes #336, Fixes #347
2020-12-28 17:28:12 -05:00
hkkongou
a9cf25ef2a
Add zh_HK language support (#349) 2020-12-26 21:13:49 -05:00
Yannick Schinko
08157ee321
Using "bin" distribution of gradle (#346)
Also updating it to 5.6.4 as that's the latest 5.x version.

This will ensure that people cloning this will have gradle downloaded faster and the version upgrade will also improve build times and fix bugs, etc.
2020-12-25 21:56:30 -05:00
Egor
cde0fe6138
Allow to input string as option value (#320) 2020-12-05 21:17:25 -05:00
bloodshot
5296d2af0f Fix async chunk load during visual revert. Fixes #319 2020-12-02 02:23:17 -05:00
bloodshot
3b2dd54f2b Fix player afk detection during claim block task.
* sponge: Clean up ClaimBlockTask.
2020-12-02 02:20:16 -05:00
bloodshot
0192a2daf5 sponge: Fix unlock drops being triggered on non-death drops. 2020-12-02 02:13:32 -05:00
bloodshot
bdcfc6b76c Add %owneruuid% support to DynmapProvider for sponge. 2020-12-02 02:11:12 -05:00
bloodshot
7d8af02aac Bump to 1.5.5-DEV for next development cycle. 2020-12-02 02:08:30 -05:00
Martijn Melchers
80a8abf98e
Add issue templates for bugs & feature requests. (#312)
* Add issue templates

* Update issue templates

* Update bug_report.md

Removed bug label as I feel that should be something bloodshot adds if it's determined to be a valid bug.

Cleaned up the formatting and hide comments from coming through on issue submission using inline HTML comment tags.

* Update feature_request.md

Cleaned up formatting and hide comments using inline HTML commenting

Co-authored-by: kencinder <3614897+kencinder@users.noreply.github.com>
2020-11-23 21:03:40 -05:00
bloodshot
bd8d13d0b7 Fix GDChunk memory leak. Fixes #313
* Bump GD API on Sponge.
2020-11-23 17:32:43 -05:00
bloodshot
1541d0bb39 Fix wrong return in player pickup event. 2020-11-18 23:39:37 -05:00
bloodshot
91156f0722 Fix item locked meta not being removed on pickup.
* Fix '/claimcreate' error message on invalid type.
2020-11-18 20:31:00 -05:00
bloodshot
28622cf4f4 Update lang. 2020-11-18 11:28:42 -05:00
bloodshot
11d9f1f278 More improvements and fixes.
* Add '/trapped' command to assist players when stuck.
  - Use setting 'player-trapped-cooldown' in 'global.conf' to configure the cooldown of this command. Default '300' seconds.
  - Use option 'player-teleport-delay' to add a delay when used.
* Add '/unlockdrops' command to unlock protected item drops after death.
  - Use option 'player-item-drop-lock' to control item drop protection on death.
  - Use option 'pvp-item-drop-lock' to control item drop protection on pvp death.
  Note: In order to use this feature, one of the item drop options must be enabled in 'options.conf'
* Add setting 'explosion-surface-block-level' to control surface block level during explosions. Fixes #280
* Verify chunk is loaded before sending block change to player. Fixes #309
* Remove 'player-deny-flight' option cache. Fixes #308
* Improve player afk location handling.
* Improve option config lookups.
* Update GriefDefenderAPI.
2020-11-17 02:22:52 -05:00
bloodshot
4db8346de1 Another round of fixes.
* Fix NPE when creating subdivision using WorldEdit. Fixes #297
* Fix NPE when executing '/claimrent info' in non-rented claims. Fixes
  #300
* Fix TrustClaimEvent Add/Remove events not triggering. Fixes #234
* Fix TransferClaimEvent not being cancellable. Fixes #233
* Fix WE CUI visuals not showing when calling visual apply.
* Fix visualization types not changing on setType call.
* Add '%owneruuid%' support to DynmapProvider. Fixes #271
* Update GriefDefenderAPI for TransferClaimEvent fix.
2020-11-13 22:03:57 -05:00
bloodshot
6b056d936e Fix explosions not respecting inheritance. Fixes #265
* Remove 'explosion-cancel-block-limit' as it breaks inheritance
  functionality.
2020-11-13 18:05:51 -05:00
bloodshot
771d6eb7e5 Fix resizing cuboids to 1 block high. Fixes #264 2020-11-13 17:56:49 -05:00
bloodshot
afd3d4098e Add 'pvp_combat_active' placeholder. Fixes #306 2020-11-13 17:51:42 -05:00
bloodshot
96d3ca5c21 Fix fire-spread flag definition for users. 2020-11-13 17:39:02 -05:00
bloodshot
720c37b5dd Fix player-deny-flight not resetting on teleport. 2020-11-13 17:37:52 -05:00
bloodshot
ffcc534e35 Fix PvP option not working in claims. 2020-11-13 17:03:31 -05:00
bloodshot
57e8f41eb6 Fix PvP protection.
* Players attacking within a protected claim with no longer be protected
  if in PvP combat.
* The 'pvp-combat-timeout' will now reset properly when engaging in PvP.
* Update PermissionsEx lib.
2020-11-13 16:56:25 -05:00
bloodshot
6a2ebf2e5b Fix world configs not using lowercase name on reload. 2020-11-08 22:42:55 -05:00
bloodshot
2121e09e91 Bump to 1.5.4-DEV for next development cycle. 2020-11-08 22:30:59 -05:00
bloodshot
22e6e7246c Update for 1.5.3 release.
* Add MC 1.16.4 support.
* Fix 'permission-build' es_ES translation.
* Remove debug in SlimefunProvider.
2020-11-04 01:51:51 -05:00
bloodshot
569dd608df Check slimefun block storage during player interacts.
This should solve protection issues when a player interacts with a block
that has no corresponding TileEntity.

* Improve SlimefunProvider lookups.
* Fix slimefun item_name context.
2020-10-30 11:54:12 -04:00
bloodshot
0ac8ad89d8 Don't check isInteractable for slimefun blocks. 2020-10-29 17:30:10 -04:00
bloodshot
ff974c216d Fix town creation cost in economy mode. Fixes #289 2020-10-11 15:16:37 -04:00
bloodshot
ba722f7e52 Fix NPE during InventoryMoveItemEvent. Fixes #285 2020-10-11 15:12:15 -04:00
bloodshot
c93dad7bea Bump to 1.5.3-DEV for next development cycle. 2020-10-11 15:05:39 -04:00
bloodshot
04d82b5a65 Update for 1.5.2 release.
* Add support for MC 1.16.3
2020-09-10 23:47:19 -04:00
bloodshot
3dd074145d Update for 1.5.1 release. 2020-09-10 19:29:03 -04:00
bloodshot
0819a53e71 Fix wrong command permission for /claimcontract. Fixes #279 2020-09-10 19:12:55 -04:00
bloodshot
03f2226e9c Fix wrong permission with cuboid subdivision creation. Fixes #277 2020-09-10 19:09:11 -04:00
bloodshot
2de749037d Revert WECUI visuals on logout. Fixes #272 2020-09-10 19:06:09 -04:00
bloodshot
221399d93b Fix town children not transferring to new owner. 2020-08-30 17:26:40 -04:00
bloodshot
d65a8a5f86 Fix '/cpp' command applying permission to wrong user. 2020-08-30 17:22:22 -04:00
bloodshot
b5b61b8b7a Fix flag definition GUI not checking definition permission group. 2020-08-30 16:38:15 -04:00
bloodshot
d2f5fb3ffd Fix economy default option values. Fixes #254 2020-08-30 16:08:16 -04:00
PolyacovYury
135da4e798 Update ru_RU translations. 2020-08-30 15:59:21 -04:00
bloodshot
465db2b1d3 Update pl_PL translations.
Thanks to Maul_PL for contribution.
2020-08-30 15:43:43 -04:00
bloodshot
de072d3fa5 Fix town creation over untrusted claims. 2020-08-30 15:29:58 -04:00
Andriy Kushnir
601ee8654f
Fixed missing initialization for startCorner/endCorner fields in ChangeClaimEvent.Resize (#261)
* Fixed missing initialization for startCorner/endCorner fields in ChangeClaimEvent.Resize

* Fixed initialization of startCorner/endCorner in Claim#resize()

Signed-off-by: Andriy Kushnir (Orhideous) <me@orhideous.name>

Co-authored-by: FireShine <m.pomeshchikov@mail.ru>
2020-08-30 15:05:58 -04:00
bloodshot
f258fb95e1 Bump to 1.5.1-DEV for next development cycle. 2020-08-30 14:56:15 -04:00
bloodshot
e8e57c5f5d Update for 1.5.0
* Fix blockstate id lookup not using proper id when block data was different than actual block.
* Fix block-break showing air as target when source block broke on its own.
* Fix race condition when migrating GP Bukkit playerdata.
* Fix race condition during flag definition saves.
* Fix wrong owner showing in claim when non-owner changes claim type.
* Fix explosions causing no sound when cancelling event.
* Fix rent min message showing max.
* Fix rent min payment not being applied as credit.
* Fix rent restore not working on rent end.
* Fix sell sign not working when rent system was disabled.
* Fix '/abandonall' not giving all money back when using economy mode.
* Fix '/claimsell' requiring for sale to be turned on.
* Fix '/givepet' taming pets without owner.
* Fix explosion sounds not triggering on cancel.
* Fix pvp 'allow-fly' only affecting creative mode.
* Fix confirmation message not showing after abandoning a subdivision.
* Fix wrong location being checked when placing water/lava with bucket.
* Fix dynmap owner style colors not being used.
* Fix NPE when using /reload.
* Fix ghost claim overlap error when creating claim.
* Fix user showing up as cause when using rtp.
* Fix high memory usage caused by GDClaimManager fastutil usage.
* (Bukkit) Fix NPE during InventoryMoveItemEvent.
* (Sponge) Fix explosion-surface being triggered with no settings.
* Refactor CompletableFuture handling when applying LP permissions and meta to avoid race conditions.
* Remove owner override context for flag definition 'fire-spread' as it doesn't affect global overrides.
* Change flag definition 'turtle-egg-hatch' target from 'air' to 'turtle-egg-hatch'
* Change flag definition 'snow-melt' target from 'air' to 'snow'
* Change onPlayerInteractBlockSecondary event priority from lowest to low in order to support plugins that need to cancel early.
* Add support for CustomItems. Any customitem used in game will show up in debug as customitems:<item_id>. You can also use customitems for modification and investigation tool in config.
* Add support for Slimefun4. Any slimefun item/block used in game will show up in debug as slimefun:<id>. You can also use slimefun items for modification and investigation tool in config.
* Add '/acball' command for adjusting all online players' bonus blocks.
* Add '/claiminvestigate' command to investigate claims.
* Add '/claimtool' to toggle claim tool usage.
* Add source/target any contexts to flag definitions.
* Add 'piston-protection-in-claims' setting to control piston protection within claims.
* Add pvp setting 'combat-logout' to determine if a player should be killed on logout during combat. Default 'false'.
* Add `projectile-impact-entity` to `endcrystal-use` flag definition.
* Add aquatic target for `monster-animal-damage` flag definition.
* Add `restrict-world-max-height` to determine if claiming should be restricted to world max height. Default 'true'.
* Add ability to control dynmap color settings by claim type.
* Add permission griefdefender.user.claim.command.info.teleport.inside which controls whether a player can ONLY teleport within the claim they are in. This is useful if players become trapped.
Note: This does not allow players to teleport to any other claim except the one they are in. It can only be used if the player cannot build in claim.
* Add permission griefdefender.user.claim.command.info.others.creation-date to control whether a player sees creation date in /claiminfo
* Add permission griefdefender.user.claim.command.info.others.last-active to control whether a player sees last active date in /claiminfo
* Add permission griefdefender.user.claim.command.info.others.claim-uuid to control whether a player sees claim uuid in /claiminfo
* All flag definitions will now persist.
* Refresh player option cache on permission change.
* Show TP info in '/claiminfo' when player does not have TP permission.
* (Sponge) Use 'tnt' as identifier instead of 'primedtnt' to match bukkit.
* (Sponge) Use 'item_frame' as identifier instead of 'itemframe' to
  match bukkit.
2020-08-16 00:39:38 -04:00