Closed deserterghost closed 5 months ago
I've been testing this issue further and realised that the source of the problem is that data gets lost on server restart. I checked if GriefPrevention acts in a similar way, but manually giving /permissiontrust and /buildtrust seems to be saved properly, as they remain after server restart. When players use /buysubclaim, however, they only own the subclaim as long as the server is running. As soon as I restart, they lose their subclaim.
I haven’t had time to test on my own just yet but here are my initial thoughts. Sounds like there’s 2 issues happening here.
Fixed in builds 176 and above! https://jenkins.luminescent.dev/job/GPFlags/
Bought Subclaims Can Still Be Bought Players have bought subclaims on my server but the message still shows up when I enter them (not when the person who bought them enters), and I can still buy the subclaims. This results in multiple managers in the trustlist.
To Reproduce Steps to reproduce the behavior:
Expected behavior The subclaim that a player has bought should not be available for other players to buy, nor should the message appear for them when they enter the plot.
Configs:
GriefPrevention: SeaLevelOverrides: world: -1 world_nether: -1 world_the_end: -1 Claims: Mode: world: Survival world_nether: Disabled world_the_end: Disabled PreventGlobalMonsterEggs: true PreventTheft: true ProtectCreatures: true PreventButtonsSwitches: true LockWoodenDoors: false LockTrapDoors: false LockFenceGates: true EnderPearlsRequireAccessTrust: true RaidTriggersRequireBuildTrust: true ProtectHorses: true ProtectDonkeys: true ProtectLlamas: true InitialBlocks: 500 Claim Blocks Accrued Per Hour: Default: 100 Max Accrued Claim Blocks: Default: 80000 Accrued Idle Threshold: 0 AccruedIdlePercent: 0 AbandonReturnRatio: 1.0 AutomaticNewPlayerClaimsRadius: 4 AutomaticNewPlayerClaimsRadiusMinimum: 0 ExtendIntoGroundDistance: 99999 MinimumWidth: 5 MinimumArea: 20 MaximumDepth: -2147483648 InvestigationTool: STICK ModificationTool: GOLDEN_SHOVEL Expiration: ChestClaimDays: 7 UnusedClaimDays: 30 AllClaims: DaysInactive: 60 ExceptWhenOwnerHasTotalClaimBlocks: 10000 ExceptWhenOwnerHasBonusClaimBlocks: 10000 AutomaticNatureRestoration: SurvivalWorlds: false AllowTrappedInAdminClaims: false MaximumNumberOfClaimsPerPlayer: 0 CreationRequiresWorldGuardBuildPermission: true VillagerTradingRequiresPermission: true CommandsRequiringAccessTrust: /sethome DeliverManuals: true ManualDeliveryDelaySeconds: 30 RavagersBreakBlocks: true FireSpreadsInClaims: false FireDamagesInClaims: false LecternReadingRequiresAccessTrust: true Spam: Enabled: true LoginCooldownSeconds: 60 LoginLogoutNotificationsPerMinute: 5 ChatSlashCommands: /me;/global;/local WhisperSlashCommands: /tell;/pm;/r;/whisper;/msg WarningMessage: Please reduce your noise level. BanOffenders: false BanMessage: Banned for spam. AllowedIpAddresses: 1.2.3.4; 5.6.7.8 DeathMessageCooldownSeconds: 120 Logout Message Delay In Seconds: 0 PvP: RulesEnabledInWorld: world: false world_nether: false world_the_end: false ProtectFreshSpawns: true PunishLogout: true CombatTimeoutSeconds: 15 AllowCombatItemDrop: false BlockedSlashCommands: /home;/vanish;/spawn;/tpa ProtectPlayersInLandClaims: PlayerOwnedClaims: true AdministrativeClaims: false AdministrativeSubdivisions: true AllowLavaDumpingNearOtherPlayers: PvPWorlds: true NonPvPWorlds: false AllowFlintAndSteelNearOtherPlayers: PvPWorlds: true NonPvPWorlds: false ProtectPetsOutsideLandClaims: false Economy: ClaimBlocksMaxBonus: 80000 ClaimBlocksPurchaseCost: 2.0 ClaimBlocksSellValue: 1.0 ProtectItemsDroppedOnDeath: PvPWorlds: false NonPvPWorlds: true BlockLandClaimExplosions: false BlockSurfaceCreeperExplosions: false BlockSurfaceOtherExplosions: false LimitSkyTrees: false LimitTreeGrowth: false PistonMovement: EVERYWHERE PistonExplosionSound: true FireSpreads: true FireDestroys: true AdminsGetWhispers: true AdminsGetSignNotifications: true VisualizationAntiCheatCompatMode: false SmartBan: true Mute New Players Using Banned Words: true MaxPlayersPerIpAddress: 3 SilenceBans: true Siege: Worlds: [] BreakableBlocks:
GLASS_PANE DoorsOpenDelayInSeconds: 300 CooldownEndInMinutes: 60 EndermenMoveBlocks: false SilverfishBreakBlocks: false CreaturesTrampleCrops: false RabbitsEatCrops: true HardModeZombiesBreakDoors: false Database: URL: '' UserName: '' Password: '' UseBanCommand: false BanCommandPattern: ban %name% %reason% Advanced: fixNegativeClaimblockAmounts: true ClaimExpirationCheckRate: 60 OfflinePlayer_cache_days: 90 Abridged Logs: Days To Keep: 7 Included Entry Types: Social Activity: true Suspicious Activity: true Administrative Activity: false Debug: false Muted Chat Messages: false ConfigVersion: 1
GriefPrevention Flags
Plugin Version: 5.12.9
Server Version: git-Paper-132 (MC: 1.20.1)
Settings: Log Enter/Exit Messages To Console: true World Flags: world: Default Gamemode: survival PvP Only In PvP-Flagged Claims: false Message To Send When PvP Is Denied: Player vs. player combat is restricted to designated areas. Send Message On Enter PvP Enabled Claim: false Message: PvP is enabled in this claim, be careful Send Message On Exit PvP Enabled Claim: false ExitMessage: PvP is disabled in this area, you are now safe NoMonsterSpawn Flag Ignores Spawners and Eggs: true NoMobSpawn Flag Ignores Spawners and Eggs: true world_nether: Default Gamemode: survival PvP Only In PvP-Flagged Claims: false Message To Send When PvP Is Denied: Player vs. player combat is restricted to designated areas. Send Message On Enter PvP Enabled Claim: false Message: PvP is enabled in this claim, be careful Send Message On Exit PvP Enabled Claim: false ExitMessage: PvP is disabled in this area, you are now safe NoMonsterSpawn Flag Ignores Spawners and Eggs: true NoMobSpawn Flag Ignores Spawners and Eggs: true world_the_end: Default Gamemode: survival PvP Only In PvP-Flagged Claims: false Message To Send When PvP Is Denied: Player vs. player combat is restricted to designated areas. Send Message On Enter PvP Enabled Claim: false Message: PvP is enabled in this claim, be careful Send Message On Exit PvP Enabled Claim: false ExitMessage: PvP is disabled in this area, you are now safe NoMonsterSpawn Flag Ignores Spawners and Eggs: true NoMobSpawn Flag Ignores Spawners and Eggs: true
'13': buysubclaim: params: '20000' value: true