Commit Graph

223 Commits

Author SHA1 Message Date
bloodshot e281231d87 Update for 1.5.10 release.
* Fix ClaimBlockTask prematurely exiting if a player had max claim blocks.
* Fix TaxApplyTask not pulling funds from claim bank first.
* Fix ClaimContextCalculator overwriting option claim contexts.
* Fix player option commands running during a command causing a loop.
* Fix player-command-enter running command from subclaim.
* Fix player-command-exit running command to subclaim.
* Fix player contexts not being added in all cases where a player is involved.
* Fix flag definitions not accepting any context.
* Fix elytra enter-claim bypass.
* Add 'claim-create-radius-limit' to global config.
* Add Simplified Chinese language support (zh_CN).
* Add enter-claim flag permission check on player login.
* Add enter/exit-claim support for player respawns. If denied, GD will respawn player back in source claim in a safe location.
* Add TE NBT id support for mods such as gregtech.
* (Hybrid) Fix mohist EntityType mod registration.
* (Hybrid/Sponge) Add TE NBT id support for mods such as gregtech. See new setting 'tile-id-nbt-map' under mod category in global.conf
* (Sponge) Add 'interact-item-force-list' to global config. Used to force interact-item flag checks when a player left/right-clicks with an item in hand.
* (Sponge) Add check to prevent re-registration of worlds.
* (Sponge) Add workaround during collisions when user is wrapped in ProjectileSource.
* (Sponge) Add EntityThrowable support for getEntityOwner.
* (Sponge) Add method to get internal DamageSource type name.
* (Sponge) Fix NPE when cancelling claim with '/claimrent cancel'
* (Sponge) Fix wrong block being checked during bucket interactions such as lava and water.
* (Sponge) Fix block-pre not handing certain mod permission checks such as AE2 cables.
* (Sponge) Fix 'block-id-convert-list' feature not using correct id during player interactions.
* (Sponge) Fix item-pickup flag not checking trust.
2021-03-10 21:25:04 -05:00
ahdg ad31466bb1
Fix zh_CN not being loaded (#369) 2021-02-10 17:39:36 -05:00
ahdg c160fcde54
Added Simplified Chinese(简体中文[中国大陆] - zh_CN) Translation (#362) 2021-01-31 00:39:30 -05:00
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