GriefPrevention Official Thread [1.10/1.11/1.12] TOWN/WECUI Support


#1209

Instead of override, one can do default.


#1210

for some reason i cant get banitem to work or i am not using it properly. Using griefprevention-1.10.2-2.3.0.249 and trying to ban items globally. I hold the item run /banitem and it shows me the primary and secondary permission (with item name included) in chat but not sure what to do after this.

any help is greatly appreciated. I am using spongeforge-1.10.2-2202-5.1.0-BETA-2034


#1211

Update to latest SF, LuckPerms, GP then use interact-item-secondary and interact-item-primary flags instead. Check wiki/discord for more information.


#1212

My fault. I am using nucleus as well. Is there a compatibility issue with nucleus?


#1213

No nucleus will work perfectly fine.


#1214

Will do. Thanks for help


#1215

I use PermissionsManager. Do I HAVE to switch to LuckPerms?


#1216

The flags of this subdivision keeps resetting. I have /cfg group enter-claim any true
But it always gets reset and that group losing permission to enter


#1217

When I've tried using Grief Prevention, with LuckPerms, I get this message: [Server] Server thread/ERROR [griefprevention]: Unable to initialize plugin. Detected SpongeForge build 2039 but GriefPrevention requires build 2184+

=( What can I do to fix this? I've matched it with spongeforge-1.10.2.2202-5.1.0-BETA-2039

I'm afraid if I change the forge that Pixelmon won't work for my server. What should I do? I've been trying to use griefprevention-1.10.2-2.3.1.264. I've spent days and days on this and I feel like there's no other options other than to quit at this point.


#1218

Do exactly what it says and update. Pixelmon works perfectly fine on latest SF and Forge. You will get no support running outdated builds of Sponge.


#1219

I was using griefprevention and something I noticed was that I needed to trust players in order for them to be able to build in wilderness, for whatever reason. So, the simple solution is to trust them with /trust public while in wilderness, but for some reason every time the server resets, public needs to be retrusted. Is there anything in the config corresponding to default wilderness trust permissions?


#1221

Was wondering if you could add an option, so that instead of deleting expired claims, it would keep them around and show as "abandoned".
Then admins could run /abandonedclaims in order to get a list of claims by users which have been left behind. Since there are some users who I know will return and many, who only came on for a few hours, claimed land and left, who's I want to get rid off.


#1222

@blood, So this is by far my most sought after plugin. Im in the process of getting my server up and running, and I am running Permissions Manager, I read in your description that your plugin doesn't work with PM, is this still the case or has it been resolved? I really hope that this becomes available as its the most simple and player friendly protection plugin out there it seems.


#1223

From the Permission Manager thread: "This version should fix the problems of the last versions with GriefPrevention". Go for it!


#1225

A portal to the End on the admin region does not teleport players. Flag for the use of the teleport is set to true. How to fix?


#1226

Hi. What do I need to do to get this plugin working with LuckPerms on forge 1.10.2? I just want the default group and the default gp perms. Beyond placing a chest and getting the initial plot, no commands work (no permission) and neither does the gold shovel (you do not have permission to claim land). I have checked and the default group is there with the griefprevention.claim permission. These do not even work for op. I would just like all players to be able to claim and expand plots! I haven't done any commands as the default group and default gp permission is enough.

forge-1.10.2-12.18.3.2202
spongeforge-1.10.2-2221-5.2.0-BETA-2223
griefprevention-1.10.2-2.3.1.271
LuckPerms-Sponge-3.0.35

Heres is a gold shovel right click debug:

[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking f451 for: griefprevention.flag.interact-item-secondary.minecraft.golden_shovel.source.minecraft.player (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking f451 for: griefprevention.flag.interact-item-secondary.minecraft.source.minecraft.player (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking local:defaults/default for: griefprevention.flag.interact-item-secondary.minecraft.golden_shovel.source.minecraft.player (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking local:defaults/default for: griefprevention.flag.interact-item-secondary.minecraft.source.minecraft.player (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking local:defaults/default for: griefprevention.flag.interact-item-secondary.minecraft.golden_shovel.source.minecraft.player (TRUE)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking f451 for: griefprevention.flag.interact-block-secondary.minecraft.grass.source.minecraft.player.0 (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking f451 for: griefprevention.flag.interact-block-secondary.minecraft.source.minecraft.player.0 (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking local:defaults/default for: griefprevention.flag.interact-block-secondary.minecraft.grass.source.minecraft.player.0 (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking local:defaults/default for: griefprevention.flag.interact-block-secondary.minecraft.source.minecraft.player.0 (UNDEFINED)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking local:defaults/default for: griefprevention.flag.interact-block-secondary.minecraft.grass.source.minecraft.player.0 (TRUE)
[23:08:30] [pool-2-thread-1/INFO]: [LP] LOG > Checking f451 for: griefprevention.user.claim.create (UNDEFINED)

Cheers, F451


#1227

@Fahrenheit451 I'm having this same problem. I tried generating perms on a new instance and nothing.

Edit: Nevermind, fixed it. Simply needed to add griefprevention.user to the default group


#1228

GP failing to start up:

[23:11:55] [Server thread/ERROR] [Sponge/sponge]: Could not pass FMLPreInitializationEvent to Plugin{id=griefprevention, name=GriefPrevention, version=2.3.1, description=This plugin is designed to prevent all forms of grief., source=/home/container/mods/griefprevention-1.10.2-2.3.1.272.jar}
java.util.NoSuchElementException: No value present
    at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_111-internal]
    at me.ryanhamshire.griefprevention.GriefPreventionPlugin.onPreInit(GriefPreventionPlugin.java:403) ~[GriefPreventionPlugin.class:?]
    at org.spongepowered.common.event.listener.GamePreInitializationEventListener_GriefPreventionPlugin_onPreInit6.handle(Unknown Source) ~[?:?]
    at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2254-5.2.0-BETA-2234]
    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:313) [SpongeModEventManager.class:1.10.2-2254-5.2.0-BETA-2234]
    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:342) [SpongeModEventManager.class:1.10.2-2254-5.2.0-BETA-2234]
    at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:234) [SpongeMod.class:1.10.2-2254-5.2.0-BETA-2234]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111-internal]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111-internal]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111-internal]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111-internal]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?]
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243) [LoadController.class:?]
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221) [LoadController.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111-internal]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111-internal]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111-internal]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111-internal]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?]
    at net.minecraftforge.fml.common.LoadController.redirect$onPost$zzb000(LoadController.java:552) [LoadController.class:?]
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145) [LoadController.class:?]
    at net.minecraftforge.fml.common.Loader.preinitializeMods(Loader.java:624) [Loader.class:?]
    at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:99) [FMLServerHandler.class:?]
    at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:328) [FMLCommonHandler.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:121) [ld.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111-internal]

[23:12:32] [Server thread/ERROR] [Sponge/sponge]: Could not pass FMLServerAboutToStartEvent to Plugin{id=griefprevention, name=GriefPrevention, version=2.3.1, description=This plugin is designed to prevent all forms of grief., source=/home/container/mods/griefprevention-1.10.2-2.3.1.272.jar}
java.lang.ExceptionInInitializerError
    at me.ryanhamshire.griefprevention.GriefPreventionPlugin.loadConfig(GriefPreventionPlugin.java:1453) ~[GriefPreventionPlugin.class:?]
    at me.ryanhamshire.griefprevention.GriefPreventionPlugin.onServerAboutToStart(GriefPreventionPlugin.java:717) ~[GriefPreventionPlugin.class:?]
    at org.spongepowered.common.event.listener.GameAboutToStartServerEventListener_GriefPreventionPlugin_onServerAboutToStart8.handle(Unknown Source) ~[?:?]
    at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.10.2-2254-5.2.0-BETA-2234]
    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:313) [SpongeModEventManager.class:1.10.2-2254-5.2.0-BETA-2234]
    at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:342) [SpongeModEventManager.class:1.10.2-2254-5.2.0-BETA-2234]
    at org.spongepowered.mod.SpongeMod.onStateEvent(SpongeMod.java:234) [SpongeMod.class:1.10.2-2254-5.2.0-BETA-2234]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111-internal]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111-internal]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111-internal]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111-internal]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?]
    at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:243) [LoadController.class:?]
    at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:221) [LoadController.class:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111-internal]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111-internal]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111-internal]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111-internal]
    at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) [minecraft_server.1.10.2.jar:?]
    at com.google.common.eventbus.EventBus.post(EventBus.java:275) [minecraft_server.1.10.2.jar:?]
    at net.minecraftforge.fml.common.LoadController.redirect$onPost$zzb000(LoadController.java:552) [LoadController.class:?]
    at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:145) [LoadController.class:?]
    at net.minecraftforge.fml.common.Loader.serverAboutToStart(Loader.java:925) [Loader.class:?]
    at net.minecraftforge.fml.common.FMLCommonHandler.handleServerAboutToStart(FMLCommonHandler.java:287) [FMLCommonHandler.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:264) [ld.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:431) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111-internal]
    Caused by: java.lang.NullPointerException
    at me.ryanhamshire.griefprevention.DataStore.<clinit>(DataStore.java:129) ~[DataStore.class:?]
    ... 34 more

griefprevention-1.10.2-2.3.1.272.jar
spongeforge-1.10.2-2254-5.2.0-BETA-2234.jar
LuckPerms-Sponge-3.0.32.jar


#1229

So on my server I don't want players breaking the spawn points so I set the flag block-break any false override in my admin claim. However is there a way that I can still access the admin claims to build? I don't want to have to keep removing the flag every time I want to edit something.

I am using Luckyperms for permissions.


#1230

If you're an admin, you should be able to build inside admin claims, even if block-break is false. If you want to let someone else build, you use /trust [name] inside the claim.

Works perfectly fine on my server, however I don't have the override flag (pretty sure override doesn't matter, but if you're concerned about that, just do default or claim instead of override).

Also make sure to have the lastest sponge, lp, and gp, in case it's part of an old bug which got fixed