Commit Graph

175 Commits

Author SHA1 Message Date
bloodshot 1639945a1d 1.3.4 Update
* Fix deleteChunkHash NPE.
* Ignore '/claimrent' command in wilderness.
2020-06-08 17:50:17 -04:00
bloodshot cf2d6047cb 1.3.3 Update
* Fix startup NPE with 1.8.8 and 1.12.2.
* Fix another bug related to ghost claims.
* Fix withers using owner for block break.
* Fix ice being ignored.
* Fix context exception when using wilderness in default/override flag
  definition.
* Add support for multiple default/override contexts in flag definitions.
* Move chat input handling to lowest event priority.
* (Sponge) Fix debug not turning off properly.
* (Sponge) Fix walk/fly speed checks by rounding result.
2020-06-08 15:19:09 -04:00
bloodshot fa2b986f26 1.3.2 Update
* Fix tags not being added to contexts.
* Fix interact-entity-secondary using wrong source if item was in hand.
* Fix create limit check on shovel create start.
* Fix spawn-limit crashing server when checking wilderness limits.
* Fix sell signs being broken by non-trusted.
* Fix EntityChangeBlockEvent using owner of monster damage.
* Fix ClassCastException with WildTP.
* (Sponge) Fix schematic NPE on reload.
* Add workaround for VehicleDamageEvent passing null when source is block.
* Add bypass option support for trusted users.
* Optimize getChunks call.
* Cache user perk option lookups.
* Cache user bypass option lookups.
2020-06-07 23:02:24 -04:00
bloodshot 61a9d8efd1 1.3.1 Update
* Fix wrong type being displaying in /claiminfo.
* Fix claim teleport in nether.
* Fix claim visuals in/out of liquids.
* Fix inventory check on interaction.
* Fix walkspeed, gamemode, and weather options not resetting back to default on claim exit.
* Fix option gui not displaying decimals for doubles.
* Fix entity dupe on schematic restore.
* Fix claim schematic creation dates on load.
* Fix wither causing damage when spawned by players.
* Fix ice/snow form flags.
* Fix visuals not showing on snow.
* Fix inability to attack tameable entities with no owner.
* Fix claim cleanup task exiting prematurely.
* Fix scaffolding not breaking fully.
* Fix Flag GUI preset/advanced translations.
* Fix '/cog <group>' not displaying options for group.
* Fix option GUI toggle value hover.
* Fix block burn across blocks not triggering block-spread.
* Fix monsters such as phantom and ghast not being ignored during entity-damage checks.
* Fixed tamed entity protection when source is not entity.
* Fix snow-melt showing up as block-modify instead of block-break
* Fix player buckets not checking place or break.
* Fix 'fire-spread' and 'vehicle-use' flag definitions.
* Fix NPE when changing claim type
* Fix visuals loading unloaded chunks.
* Fix player options not being set while in claim.
* Fix isTileInventory check.
* Fix user playerdata in PlaceHolderProvider.
* Fix claim resize exploit.
* Fix flag definitions GUI not showing inheritance values.
* Fix entity explosion getting wrong user sometimes.
* Fix tracking data not always being saved.
* Fix #crops tag not working.
* Fix tnt chain explosions.
* Add 'player-fly-speed' option.
* Add support for decimal values in option GUI.
* Add missing translation when deleting all player claims.
* Add restore claim in progress message.
* Add pl_PL language support. Thanks to Maul for contribution
* Add permission 'griefdefender.admin.bypass.pvp-creative' to bypass pvp creative protection.
* Add permission 'griefdefender.user.claim.rent.base' for new '/claimrent' command.
* Add permission 'griefdefender.user.claim.rent.sign' to control rent sign usage.
* Add permission 'griefdefender.user.claim.sell.sign' to control sell sign usage.
* Add flag definition 'turtle-egg-hatch'
* Add flag definition 'falling-block-break' .
* Add flag definition 'fire-entity-damage'.
* Add flag/option enable control to respective configs.
* Add group context support for flag definitions.
* Add new context gd_claim_default=user and gd_claim_override=user which applies to all claim types except wilderness and admin.
* Add owner override support with gd_claim_override=claim context. You can use this context to have owners be affected in claims. They also have the ability to toggle these.
* Add villager-trade and villager-farm definitions.
* Add /claimtax command.
* Add /claimrent command.
  Note: To create a rental via command
  ex. /claimrent 10h - creates rental for $10 per hour
  ex. /claimrent 10h 5 - creates rental for $10 per hour w/ max 5 days.
* Add claim restore functionality for 1.14+ servers.
  Note: To restore a claim, use /claimrestore
* Add toggle support for isExpired in /claiminfo
* Add Rent/Sell signs.
* Add item frame rotation protection.
* Add support for 'AsyncWorldEdit'.
* Add /claimrent command for displaying rentable claims.
* Add PvP config to manage pvp control.
* Add PvP protection when flying during PvP.
* Add PvP protection when in creative mode.
* Add override support for options.
* Add gd_claim_override=claim support for /cf command.
* Add entity-damage logs for monster damage.
* Add tracking support for piston item spawns.
* Add client visual queue to avoid sending too much traffic in a single tick. Default 12 block changes per tick.
  See 'client-visuals-per-tick' in global.conf to change.
* Add 'filler-spacing' to visual config. Default 10
* Add explosion surface blacklists for block/entities.
* Add new flag 'inventory-item-move'
* Add falling block tracking.
* Add rent-schematic-restore-admin for controlling rent restores in admin claims.
* Add explosion-cancel-block-limit for controlling explosion block size limit in devents.
* Enhance claim visual functionality.
* Refactor visual backend to be more efficient with server resources.
* Ensure block transactions are never sent more than once to client during a single visual update.
* Further enhance visual functionality with left/right clicks.
* Improve '/gddebug' by adding a fully functional filter.
  Ex. '/gddebug record creeper' would show all actions with creeper.
  Ex. '/gddebug record claim' will show only claim you are standing in.
* Cleanup option permission lookups.
* Implement visual API.
* Improve claim getChunks call.
* Improve context display in debug paste.
* Allow renters to interact with living entities.
* Allow bank/tax systems to be used separately.
* Allow pistons to be protected in wilderness.
* Confirm buttons will now be invalidated after first click.
* Deny owner item spawns in claim that is rented and can restore.
* Deny '/giveblocks' on self.
* Check max accrued blocks during /giveblocks.
* Only adjust accrued blocks when using /giveblocks.
* Optimize tracking data saves.
* Force last active date save on player login.
* Ignore drowning damage.
* Move 'pvp' user definition to admin.
* Change 'player-health-regen' option default to 0.
* Change 'player-walk-speed' option default to 0.
* Change 'tax-rate' option default to 0.1
* Change 'fall-entity-damage' to global default context.
* Change 'fall-player-damage' to global default context.
2020-06-05 19:27:53 -04:00
bloodshot 53176a7f90 Allow pistons to be protected in wilderness. 2020-05-07 03:27:31 -04:00
bloodshot 67e5641d40 Add tracking support for piston item spawns.
This will allow servers to stop piston farms spawning items.

Ex. If you want to stop pistons from spawning items in all basic claims
you would enter the following command

'/cf item-spawn any false context[source=piston, override=basic]'
2020-05-07 03:21:14 -04:00
bloodshot d6b2958580 Allow default flags to be removed in claim tab by admins. 2020-05-07 00:48:55 -04:00
bloodshot 973c45d1ee Fix build error. 2020-05-06 22:54:48 -04:00
bloodshot 0f1882c387 Fix 'fire-spread' and 'vehicle-use' flag definitions. 2020-05-06 22:51:41 -04:00
bloodshot be212c8761 bukkit: Fix player buckets not checking place or break. 2020-05-06 22:48:03 -04:00
bloodshot 0893621bb3 Fix invalid context when using group key in command. 2020-05-06 12:32:18 -04:00
bloodshot 7c9df62c44 Fix pvp user flag definition.
* Show active result for user flag gui.
* Improve layout for active result.
2020-05-06 02:09:00 -04:00
bloodshot 9116bf5722 Revert flag definition description fix.
If descriptions are showing wrong language. Wipe the 'flags.conf' to
regenerate from lang file.
2020-05-05 17:56:13 -04:00
bloodshot 1813bd06f4 Fix flag definition description translations.
* Add missing description from 'block-trampling'.
2020-05-05 17:46:27 -04:00
bloodshot f801c065f3 Refactor Flag Definition System. Fixes #123
The flag definition system has had a major rehaul.
The following improvements have been made :
- Support for default values that can be applied on startup.
- All definitions have been moved to its own file 'flags.conf'.
- The 'enabled' setting now works as expected.
- GUI has been updated to show all relevant context/flag information.
- Admin definitions will now display the direct result of a definition.
  Note: The final active result will show on hover.
- User definitions will only display the result of the current claim.
  Note: User's can see extra info on hover.
  Note: If a user definition has been overridden, it won't be toggable.

* Add Context/Location improvements to GDDebug.
  - Users will now be able to expand location/context columns for more
  information.
* Add version check to use proper id for flag definitions.
* Move options from 'global.conf' to its own file 'options.conf'.
* Ignore suffocation for entity damage checks.
* Fix monster projectile's not checking monster source.
* Fix 'used_item' not showing up for buckets.
* Fix flag GUI sort when changing value.
* Fix town tag not showing properly on sponge. Fixes #201
* Change permission 'griefdefender.user.claim.command.flag.arg' to
  admin.
2020-05-05 15:55:32 -04:00
bloodshot 823fc88a21 Fix claim create limit checks not using type.
* Fix lava/water not forming cobblestone.
2020-05-01 19:53:47 -04:00
bloodshot 9221f7f50f Force chat record timeout on player logout. 2020-04-30 21:17:07 -04:00
bloodshot d8e6acce55 Force chat command input timeout on logout.
Fixes #196
2020-04-30 21:11:51 -04:00
bloodshot 69b37bc95c Fix trust GUI not showing text without chat perm.
Fixes #178
2020-04-30 18:28:40 -04:00
bloodshot 051632eba6 Prevent TP if world is not loaded. Fixes #191 2020-04-30 18:26:35 -04:00
bloodshot c3b6e3b6fb Fix wrong data passed in block form/spread events.
* Fix entity block damage being ignored in wilderness.
* Fix owners not being able to damage untamed animals.

Fixes #195
Fixes #174
Fixes #167
2020-04-30 12:57:33 -04:00
kencinder bfc5e08c38
Fix enderman-grief preset (#172) 2020-04-20 11:56:24 -04:00
bloodshot 6f96c90d9d Add support to clear claim names. Fixes #158 2020-04-09 17:59:46 -04:00
bloodshot d043037d26 Fix NPE during pvp protection checks. 2020-04-09 15:57:49 -04:00
bloodshot e79100c6f1 Ignore observers during block tracking. Fixes #164 2020-04-09 15:32:27 -04:00
bloodshot 9df1cbc7f9 Fix username underscores in debug. Fixes #143 2020-04-09 15:22:11 -04:00
kencinder a0727494e1
Fixes for #154 (#162)
* Update GDFlagDefinitions
2020-04-08 01:35:47 -04:00
bloodshot c1e5843482 Add perm check when changing claim type to town.
* sponge: Fix expiration cleanup interval not being passed to task.
2020-03-31 01:58:08 -04:00
Hutchy 80964978bc
Fixed NPE when checking username (#153) 2020-03-31 00:50:13 -04:00
Hutchy 189187fd25
Added dynmapProvider toggle (#144) 2020-03-27 17:33:13 -04:00
Hutchy ab9250d67e
Fixed null check running before Dynmap API fully loads (#137) 2020-03-11 12:37:55 -04:00
Bryce Browner 258441bdcb
Update metadata versions, description strings, and README.md (#129) 2020-03-08 00:43:10 -05:00
bloodshot c1acd88667 Remove LP user cache to fix rollback issues. 2020-02-25 18:45:19 -05:00
bloodshot c4543827eb Fix giveblocks command with negative amounts. 2020-02-16 15:35:30 -05:00
Vincent Schmandt 2ccd881bb6
Remove duplicate trustlist (#109)
Fixes #104
2020-02-14 21:11:15 -05:00
bloodshot 71d45beaec Fix NPE during claim create. 2020-02-11 12:54:51 -05:00
bloodshot a6e51f7c85 bukkit: Fix sticky pistons pulling blocks at edge.
Fixes #106
2020-02-10 09:26:59 -05:00
bloodshot 73d1e514f4 Fix user claim resize permission check. 2020-02-02 10:13:14 -05:00
bloodshot 4ccfda01f9 Fix subdivision context with commands. 2020-02-01 19:03:18 -05:00
bloodshot 44fc1c94e6 Fix claim option command adding wrong context.
The claim option command should no longer add a claim context when using
default or override contexts.

* Fix invalid value error when using 'undefined' to unset an option
using claim option commands.
2020-02-01 12:50:02 -05:00
bloodshot 99d0085d96 Fix NPE when checking player options on NPC. 2020-02-01 12:31:43 -05:00
bloodshot 84fdbd2de0 Fix claimlist command when passing target player.
* Add new permission 'griefdefender.user.claim.command.list.others' to
control whether a player can use target argument.
* Change permission 'griefdefender.user.claim.command.list' to
'griefdefender.user.claim.command.list.base' to account for others
addition.

bukkit:

* Remove call to Bukkit.getOfflinePlayer(name) as it would return a UUID
for any name passed to it.
2020-01-31 15:26:29 -05:00
bloodshot a09628a05b Fix claim expand/contract up and down directions. 2020-01-31 11:31:03 -05:00
bloodshot d4b99f5f74 Fix /playerinfo others check. 2020-01-31 11:12:26 -05:00
Hutchy ef9324efd1 Improve command execute checks with args. Closes #101 2020-01-31 10:56:43 -05:00
bloodshot 352f8ceb32 Refactor permission removal on claim deletion.
* Fix meta not being removed on claim deletion.
2020-01-31 10:15:41 -05:00
bloodshot 9b821609f6 Fix playerdata migrator when using server context. 2020-01-27 19:19:36 -05:00
bloodshot 7a8183f061 bukkit: Fix MC 1.15 json for new API. 2020-01-27 15:06:18 -05:00
bloodshot 23e7daab72 Move playerdata file format to permissions as meta.
All file player data which stores accrued and bonus claim block totals
will now be stored with permissions as meta. This allows servers that
share permissions data across multiple servers to also provide the same
GD player data across servers if configured to do so.

In order to migrate the file player data, the following must be
configured :

1. Under the 'playerdata' section in 'global.conf', the
'context-storage-type' needs to be set to 'global', 'server', or
'world'. Read comment for more information.
2. Under the 'migrator' section in 'global.conf', the 'playerdata'
setting needs to be set to true. Make sure to read the comment carefully
as there are things to check before turning on the migrator.

As always, backup your permissions data before enabling the migrator.

Note: GD will no longer use the file player data. If you do not
migrate, all players will have 0 accrued and 0 bonus claim blocks.
Simply enable the migrator and follow the steps above to maintain the
current player data.
2020-01-25 01:07:02 -05:00
bloodshot 6e45cd866a Add MC 1.15.2 support. 2020-01-23 00:12:36 -05:00
bloodshot eb7cb16fe8 Remove leftover debug. 2020-01-16 20:54:51 -05:00
bloodshot b8c3bfe820 Fix users accessing trust without permission. 2020-01-16 19:28:19 -05:00
bloodshot 89e57c17ba Improve User Flag GUI.
User Flag GUI will no longer show values as 'undefined'. Instead, if no
claim value is found then the default value will be displayed instead.
This should be more friendly for end-users.

* Fix sponge /givepet command.
* Add 'protect-tamed-entities' claim config to allow protection for tamed entities such as horses. This new config setting is enabled by default.
2020-01-12 00:31:24 -05:00
bloodshot a170a5cef0 Move assets to common folder. 2020-01-09 19:53:00 -05:00
bloodshot ebe0e49745 Fix claim context calculators. 2020-01-09 14:18:46 -05:00
bloodshot eca403bf1d Fix wrong permission for claim reserve. 2020-01-09 11:40:02 -05:00
bloodshot ab6db04328 Add chat recording feature for all command GUI's.
* Improve '/trustlist' command.
  Note: This command now supports adding and removing trusted users and
  groups.
* Improve '/claiminfo' command.
  Note: Trusted users will now link to the improved '/trustlist' command.
* Fix sizing for various GUI's. All GUI's should now fill screen.
2020-01-08 23:59:26 -05:00
bloodshot 9014c93633 Bump version to 1.2.5 2020-01-06 16:30:59 -05:00
bloodshot d5213a3d64 Various enhancements.
* Add '/claimreserve' command for administrators to reserve claim names.
* Add support for untrusting specific type via all untrust commands.
* Add #pet context support.
* Hide teleport button if player does not have access to teleport.
* Fix pagination error when swapping between menu's.

Fixes #8
Fixes #25
Fixes #26
Fixes #91
Fixes #93
2020-01-06 16:24:24 -05:00
bloodshot 0d870c2a70 Validate claim type permissions when using '/claimcreate'. 2020-01-03 09:40:16 -05:00
bloodshot 6169644109 Allow DynmapProvider to hide claim's by UUID. 2020-01-03 00:56:13 -05:00
bloodshot 0629618946 Fix NPE using '/cf' command with no value. Fixes #86 2020-01-01 21:21:05 -05:00
bloodshot 8743c5fe96 Don't add active contexts during getPermissionValue calls.
* Fix 'entity-spawn' flag lookups with wrong context.
2020-01-01 19:43:36 -05:00
bloodshot cccb3c79d5 Add server context to getPermissionValue calls. 2020-01-01 16:34:01 -05:00
bloodshot 1ac3ad932e Fix getOptionValue without server context.
* Disable weather change message.
2019-12-31 23:49:45 -05:00
bloodshot 63005e72f8 More fixes on handling of server contexts. Fixes #88
* Server contexts will be automatically added if not found on set.
* Flag definitions will automatically add a server context if none is
found on deserialization.
* Option and Flag GUI will fallback to no server context if none is
found.
2019-12-31 22:42:15 -05:00
bloodshot 90d7db65cc Add server context support. Fixes #88
* Fix user permission check.
* Add check for max inspection distance.
* Add radius-inspect option to config.
* Add active contexts when checking permissions.
2019-12-31 20:14:33 -05:00
bloodshot 3c1a515e34 bukkit: Fix '/cfg' and '/cog' commands. 2019-12-31 16:15:16 -05:00
bloodshot 039087cac7 Deny teleport to non-trusted users if no permission.
* Allow teleports to non-trusted if claim is for sale and they have
permission to teleport.
2019-12-31 12:37:33 -05:00
bloodshot 0ec94bb2cb Add option default value for list type. 2019-12-31 04:19:04 -05:00
bloodshot 091106308b More improvements for Option GUI.
* Fix missing options from claim tab.
* Fix '/claimlist' showing claims to non-trusted users.
* Fix setOptionValue return result.
* Fix wrong version in 'plugin.yml'.
* Force local weather change to player on toggle.
* Add missing fr_FR translations.
2019-12-31 04:04:18 -05:00
bloodshot dde267d997 Fix NPE when using flag command. 2019-12-30 18:50:20 -05:00
bloodshot 436f053fbe Finish implementing options for next major release.
* Fixed '/cfg' and '/cog' commands.
* Fixed 'create-mode' not working as intended.
* Fixed 'any' usage with flag commands.
* Fixed 'command-execute' usage.
* Fixed 'command-execute-pvp' usage.
* Fixed option removal/save with LP v5.
* Added context support for controlling user flag command usage.
* Added context support to option GUI.
* Added permission 'griefdefender.user.claim.command.flag.arg' which controls if a user can use flag command with arguments.
* Added permission 'griefdefender.user.claim.command.flag.gui' which controls if a user can use flag GUI.
* Added new group context '#all' which can be used to represent all sources or targets.
* Removed 'max-claim-inspection-distance' from config as it is now controlled by 'radius-inspect' option.
* Removed 'combat-timeout' from config as it is now controlled by 'pvp-combat-timeout' option.
* Implemented the folloing new options
  'player-command-enter' - Handles executing commands when a player enters a claim.
  'player-command-exit' - Handles executing commands when a player exits a claim.
   Note: both command options support the following placeholders : %player%, %owner%, %uuid%, %world%, %server%, %location%

  'player-gamemode' - Used to determine the gamemode of a player when entering a claim.
  'player-deny-godmode' - Used to determine if a player can be in godmode when entering a claim.
  'player-walk-speed' - Controls the player walk speed when entering a claim.
  'player-weather' - Controls player local weather when entering a claim.
  'pvp-combat-command' - Used to determine if a player can use commands during PvP combat.
  'pvp-combat-teleport' - Used to determine if a player can teleport during PvP combat.
  'pvp-combat-timeout' - Used to determine how many seconds PvP combat is considered to continue after the most recent damage.
  'radius-inspect' - Controls the radius in blocks to search within when inspecting for claims.
  'spawn-limit' - Used to control the spawn limit for a specific set of entities in a claim.
* Only save once when toggling flag definitions that include multiple definitions.
2019-12-30 18:27:37 -05:00
bloodshot 9bd3436a55 Fix gradle jar output. 2019-12-28 17:26:37 -05:00
bloodshot 69cb3c6728 Fix debug filter with usernames. 2019-12-28 12:55:22 -05:00
bloodshot 217d5aecb8 Improve PvP checks. 2019-12-28 12:45:25 -05:00
bloodshot 772a8d077e Update LuckPermsProvider to v5. 2019-12-28 12:35:03 -05:00
John cad082bdcd Improve de_DE translations (#87) 2019-12-26 19:38:41 -05:00
YoSuboDeToh c74f578692 Add es_ES language support. 2019-12-24 11:14:41 -05:00
bloodshot 53ad9e1f84 bukkit: Update PEX permission provider. 2019-12-23 09:16:17 -05:00
bloodshot 57357bf4d8 Fix NoSuchMethodError during teleport. 2019-12-23 08:41:26 -05:00
bloodshot 309f0f237c Fix door spam allowing player access. 2019-12-22 12:33:46 -05:00
bloodshot eec002a377 Fix Flag GUI toggle. Fixes #84 2019-12-21 20:26:34 -05:00
bloodshot 7aeb9f1333 Fix wrong encoding in de_DE lang file. 2019-12-20 22:46:50 -05:00
bloodshot f17b45fd68 Update API for FlagDefinition update. 2019-12-19 18:19:52 -05:00
bloodshot 75fbcebb58 Implement FlagDefinition API. 2019-12-19 17:43:16 -05:00
andrepl f2a13b9539 Fix teleport cancelled message showing after successful teleport. (#72) 2019-12-15 15:41:55 -05:00
bloodshot 699cc3bb97 Update plugin.yml for 1.2.3 release. 2019-12-11 18:42:02 -05:00
bloodshot 5f3992fd60 Add MC 1.15 support. 2019-12-11 11:51:39 -05:00
DrWurzeli d22fdc0196 Add de_DE language support. 2019-12-08 17:29:17 -05:00
bloodshot f3ac02782c More improvements and bug fixes.
* Add PlaceholderAPI support. See https://github.com/bloodmc/GriefDefender/wiki/PlaceholderAPI
* Add Dynmap support. See https://github.com/bloodmc/GriefDefender/wiki/Dynmap
* Fix /claimexpand and /claimcontract up and down directions.
* Fix create claim location cache not clearing properly on delete.
* Fix being unable to interact with doors with access trust if holding an item.
* Fix getAllPlayerClaims not accounting for global playerdata.
* Avoid migrating empty claim files during GP migration.

Fixes #71, Fixes #73, Fixes #75
2019-12-07 16:50:56 -05:00
bloodshot 3a8de49049 Fix world permission checks.
* Ignore item frames during entity-chunk-spawn checks.
2019-12-02 22:18:04 -05:00
bloodshot 4433d9c2f3 Force save after claim migration. 2019-12-02 16:11:12 -05:00
bloodshot 8b4239452d Add proper gradle support. 2019-11-19 13:11:47 -05:00
bloodshot 2f7da6a633 More fixes for next release.
* Fix /buyblocks command adding to accrued instead of bonus blocks.
* Fix various relocation issues causing plugin event listeners not to be
registered.
* Move visual revert and claim creation cancel to shift right-click.
Note: With this change, visuals will no longer revert on left-click and/or item change.
* Add support to visualize claims, using left-click, during claim creation.
* Add teleport support for BorderClaimEvent.
* Add support for Java 13.
* Update FR/RU lang files. Thanks to Ark'I'Dian and Polyacov for
translations.

Fixes #67
Fixes #68
Fixes #70
2019-11-19 11:40:46 -05:00
bloodshot 90eed11bea First round of fixes for 1.2.3 release.
* Fix funds not being returned after claim create failure in economy
mode.
* Fix '/gd option claim' command with global options such as
'economy-block-cost'.
* Fix schematics not loading on startup.
* Fix claim cleanup task.
* Remove item frame defaults.
* Add '/claimcreate <radius> [type]' command. Used to create a claim
around player.
* Add new direction parameter 'all' for commands '/claimexpand' and
'/claimcontract'.
* Add confirmation to '/cfr' command.

Fixes #59
Fixes #63
Fixes #64
Fixes #65
Fixes #66
2019-10-30 10:44:33 -04:00
bloodshot 7d6654aa39 More stability fixes for 1.2.2.
* Fix inspection tool interact on right-click when targetting a block.
* Fix custom flags being applied twice.
* Fix entity type NPE.
* Fix /claimlist user trust.
* Fix /claimlist usage with player name.
* Fix LP provider hasPermission check.
* Fix item frame transient defaults in wilderness.
2019-10-09 16:28:35 -04:00
bloodshot d92365e50a More fixes and improvements for 1.2.2 release.
* Fix flags being reset on claim deletion.
* Fix user claim flag permission check.
* Fix sign interaction not using proper flag 'interact-block-secondary'.
* Fix '/claimexpand' and '/claimcontract' tab completion.
* Fix 'entity-damage' flag attempting to protect dropped items.
* Fix 'player-keep-inventory' not clearing drops on death.
* Fix 'player-keep-level' not clearing XP drops on death.
* Fix EntityChangeBlockEvent using wrong source location.
* Fix claim create mode triggering twice on first right-click.
* Fix default/override claim types not showing up properly in Flag GUI.
* Fix entity-damage flag not using proper user on left-click.
* Fix abandon-delay default value.
* Remove ability to resize claims when auto-schematic-restore is enabled.
* Add support for setting no modification/investigation tool in config.
* Add '/claim', '/gd mode claim' command to toggle a new claim mode for inspecting and claim creation.
* Add 'combat-timeout' pvp setting to config to control how long a player stays in pvp combat after an attack.
* Implement 'abandon-delay' option.
* Implement 'player-teleport-delay' option.
* Implement 'pvp' option.
  - When a player attempts to attack another player, both players must have pvp allowed.
  If 1 player is not allowed to PvP, the attack will be cancelled.
* Improve '/claimlist' command.
  - Only trusted claims will be shown to users.
  - Admins can use '/ignoreclaims' to see all claims.
  - Fixed server crash if too many claims were listed.
  - Fixed subdivision filter.
* Improve '/claimspawn' command.
  - The command now takes the following arguments  '/claimspawn [name] [player]'
  Ex. If you want to spawn in a claim that you own named 'lair', you would enter '/claimspawn lair'
  Ex. If you want to spawn in a claim owned by 'Mike' named 'stables', you would enter '/claimspawn stables mike'
* Improve flag definition defaults.
* Improve flag default configuration.

Fixes #51, Fixes #53, Fixes #54
Fixes #55, Fixes #56, Fixes #57
2019-09-18 11:28:49 -04:00
bloodshot 4ca3d78709 More fixes for 1.2.2 release.
* Fix claim inheritance.
* Fix getPermissionValue not continuing after matching contexts.
* Fix messages being sent to players during entity attacks.
* Fix item frame protection.
* Fix safe teleport being used for /claimspawn (temp fix)
* Fix safe teleport ending above nether.
* Fix PvP toggle not showing proper default value in /claiminfo.
* Fix a few issues with option GUI.
* Add /claimexpand <amount> [direction] and /claimcontract <amount> [direction] to resize claims without shovel.
* Add support for VehicleMoveEvent.
* Don't listen to InventoryOpenEvent. Handle inventory via interacts instead.
* Reset claim visuals on resize.
* Remove 'gd_claim_type' context as it is no longer needed.
2019-09-03 13:59:12 -04:00
bloodshot 9bcb2f265c Fix active pages with flag preset menu. 2019-08-26 13:21:32 -04:00