- Fixed important issues with BuySubclaim, BuyBuildtrust, BuyContainertrust, and BuyAccesstrust where they would sometimes revert purchased permissions and claim settings after a server restart.
- Made minor improvements to the update checker to work better when using snapshot versions and on nodes without apache dependencies.
- Added The ability to allow /listclaimflags in only some claims via gpflags.command.listclaimflags.ownclaim and other similar permissions.
- Added /bulksetflag and /bulkunsetflag commands to manage flags in all of a specific player's claims. Experimental.
- Added The ability for ReadLecterns to work with Book and Quill instead of just signed books.
- Added a new AllowInfest flag.
- Fixed an issue where RaidMembersOnly would sometimes allow untrusted players to trigger raids.
- Fixed an issue where AllowBlockExplosions could be set as a world or server flag (which wouldn't work anyway)
- Fixed an issue where OwnerMemberFly would sometimes send a message about disabling flight without actually disabling it.
- Fixed various issues with the NotifyExit flag.
- Fixed issues with flags in subclaims.
- Fixed an issue where ProtectNamedMobs would also protect named armor stands and item frames
- Fixed an issue where ramming into a NoEnter claim while flying fast in an elytra would take a few seconds to unfreeze you.
- Fixed an issue where the plugin wouldn't start on some machines.
- Fixed an issue where trying to set/unset NoCoralDeath would set NoBlockFade instead.
- Fixed an issue on newer Minecraft versions of 1.20.4 starting February 10 where GPFlags would throw NoSuchMethod errors regarding EntityDamageByEntityEvent.
- Added 5 new flags: NoMapMaking, NoCoralDecay, NoBlockFade, EnterActionBar, and ExitActionBar
- Added the ability to use ProtectNamedMobs on the world level.
- Added a message to let people know they were removed from the claim if they were banned from the claim while in it.
- Added the ability for UnsetDefaultClaimFlag to be usable from console.
- Fixed an issue where the plugin wasn't usable on 1.13-1.16 servers.
- Fixed an issue where the plugin wouldn't startup on some machines.
- Fixed AllowPvp on newer GriefPrevention versions.
- Fixed NPEs with the NoEliteMobSpawns flag.
- Fixed NPEs with the ViewContainers flag.
- Fixed issues with the NoEnter flag.
- Fixed NoEnterPlayer bypasses not always working.
- Fixed NoEnterPlayer banning more players than it should.
- Fixed NoEnterPlayer not keeping players banned after a name change.
- Fixed that command autocomplete would suggest "persist" when it's redundant.
- Removed the "flight was enabled" message if it was already enabled.
- Changed NoMobDamage to no longer protect mobs through entity cramming limits.
- Changed EnterMessage and ExitMessage flags to no longer trigger if the claim the player moves to has the same message and owner as the prior claim.
- Fixed /gpflags reload not reloading the language file.
- Fixed an issue where logging in on a NotifyEnter claim would notify the claim owner even if you logged in with vanish or spectator mode.
- Changed GPFlags now attempts to listen to the alternative instead of ClaimModifiedEvent if using GriefPrevention 16.18.1.
- Added bypass permissions for NotifyEnter (gpflags.bypass.notifyenter) and NotifyExit (gpflags.bypass.notifyexit). Previously bypassing these flags was only possible through spectator mode or vanish.
- Added an update checker. You'll now be notified on startup if you're using an outdated version.
Fixed an issue with 5.12.6 on Paper servers and forks where I wasn't using the right method to look at passengers
Added
- Added the NoAnvilDamage flag which prevents anvils from being damaged when used.
- Added the ability to hide tab completion for /buybuildtrust, /buycontainertrust, /buyaccesstrust, and /buysubclaim by dening the permissions gpflags.command.buybuildtrust, gpflags.command.buycontainertrust, gpflags.command.buyaccesstrust, and gpflags.command.buysubclaim respectively.
Fixed
- Fixed an issue where /setdefaultclaimflag couldn't be used by the console.
- Fixed a null pointer exception when using /setdefaultclaimflag with some flags.
- Fixed hoglins not being treated as monsters for some flags like NoMonsters.
- Fixed NoSuchMethodError on servers using an older GriefPrevention version.
- Fixed bstats.
- Fixed an issue where GPFlags wouldn't recognize someone entering a claim if they were riding on a plugin's pet. This is only fixed on Paper servers and its forks.
ADDED:
- NoStructureGrowth flag to prevent growth of trees, mushrooms, and chorus fruit.
- NoEliteMobSpawns flag (if you have the EliteMobs plugin).
- BuySubclaim flag which works similar to BuyBuildTrust but only works on subclaims and removes the flag after trust is bought to prevent other players from also buying the subclaim.
- Unsetting fly flags now disables flight immediately.
- NoVineGrowth now works on cave vines (glow berries).
CHANGED:
- $ is no longer used to translate color codes in the config. Use & from now on.
- Reworked AllowBlockExplosions to better mimic the GP /claimexplosions command.
FIXED:
- An issue where the claim owner and trusted members with higher trust levels could still use the buy trust commands.
- An issue where KeepLoaded would not load the chunks on startup.
Added
- KeepLoaded flag
- AllowWitherDamage flag
- AllowBlockExplosions flag
- NoPotionEffectsFlag
- SpawnReasonWhitelist flag
Fixed
- Fixed an issue where GPFlags could uncancel PlayerToggleFlightEvent. Adds support for plugins like infinitejump.
- Fixed an issue that would occur when OwnerFly was enabled in an admin claim.
- Fixed a null pointer exception with the NoMcMMOXP flag.
- Fixed an issue where setting the NoEnter & NoEnterPlayer flag would kick out players with bypass permissions.
- Fixed an issue where setting the NoEnterPlayer flag would not kick players out of the claim
Changed
- NotifyEnter and NotifyExit are no longer triggered if the player cannot be seen by the claim owner (vanished) or in spectator mode.