Coder Social home page Coder Social logo

hankur / restrictedcreative Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 20 KB

Extremely lightweight, but fully-featured and customizable Creative mode limiter.

Home Page: https://www.spigotmc.org/resources/restrictedcreative.42790/

Java 100.00%
minecraft-plugin spigot-plugin spigot-resource spigot-plugins spigotplugin bukkit-plugin bukkit-plugins restrictedcreative creative-mode

restrictedcreative's Introduction

restrictedcreative's People

Contributors

prunt avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

thexmanguy

restrictedcreative's Issues

Can drop creative items in survival chest

Scenario: We have a WorldGuard zone flagged as "creative". A player who is just outside this zone, in the survival area, can place a chest / enderchest close to the edge of the zone. When they are in the creative area, they stock up their inventory (ie 64 stack of diamonds).
Then, they go back into the survival zone - and they run to the creative region. Just a second before they enter the Creative zone, they open the chest. Because you don't stop instantly, they slide a little further (just into the Creative area) about .25 block. The chest is still open, but they have creative inventory, so they can put the free stuff (ie that stack of diamonds) into the chest / enderchest. Then, they can take out the items next time they are back into survival.

Yes, one of my players was fast enough to do this repeatedly! Luckily he was staff, testing for things like this.
Using: latest version Spigot & RestrictedCreative, WorldGuard, and several other plugins.

Disabled worlds

For me I can still get in GM with essentials can you fix this? Like in the disabled words people can still get in GMC

I found bug on click spawn monster_egg

Plugin name : RestrictedCreative
Plugin version : 1.12.5
Spigot server version : 1.8.8
Error report:

[Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to RestrictedCreative v1.12.5
org.bukkit.event.EventException
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1315) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_151]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_151]
	at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_151]
Caused by: java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerInteractEntityEvent.getHand()Lorg/bukkit/inventory/EquipmentSlot;
	at me.prunt.restrictedcreative.EventListener.onPlayerInteractEntity(EventListener.java:1280) ~[?:?]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151]
	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot.jar:git-Spigot-21fe707-e1ebe52]
	... 15 more

Issues - Suggestion

Hi there,
Well it's me again. We bought this plugin a few days ago and it's already updated to latest version.
(If you're wondering why my name isn't in your purchase list it's because the owner bought the plugin not me. If you want to look for the name... His name is something like "Koolaid" in here.)
Here is what i found:

Issues

  • Duplicated message when opening inventory using CommandNPC right-clicking on NPCs. (I'm not sure but this can be CommandNPC problem)
    It also happens when you right-click a painting. (I don't even know why it should send a message for paintings...)

  • Permissions for opped players doesn't seem to work at all. Are the permission set to false by default?
    I even disabled permissions in config.yml
    permissions:
    enabled: false
    list:

  • (Nevermind just found out you already noticed and mentioned in the plugin page) If you put a flower in a flower pot and break the block under it, it'll drop the flower. Same when using falling anvils.

  • If you break a redstone or diamond ore (Using pickaxe in survival) it'll still drop EXP.

Suggestion

  • Some players complain that why Creative Inventory resets when they logout. Can you add an option in config so we can disable that?
  • Just a small thing... You can ignore this, not even a problem... But don't you think it's better you keep the Configuration File guide in the Wiki section and remove it from the config header? I mean it's totally okay if you disagree. Your opinion!

Message after block's destroyed from creative

Hello! Please add message after block's destroyed. For example, "This block was placed using the creative mode, so it did not drop out". Of course, if it does not overload the plugin.

Logged blocks placed in GM 1 break and drop in GM 0

Hi, Spigot 1.12 as per web post, placing blocks in GM 1 , then switching to GM 0 they break and enter inv. This is via testing an account with no OP privileges, and GM changes assigned via console due to no permissions being added as yet on our test server. All other creative limiting plugins also disabled.

Thanks

PlayerVaults

Players can't open PV's but the pv gets cleared for no reason and if I want to disable to open the pv's I have to do - 'pv 1' - 'pv 2' pls can you make it that it will disable that too

Mob Interaction

Here are the list of mobs that players can hit when they're in creative:

  • Squid
  • Shulker
  • Slimes
  • Magma Slimes
  • Villager Golem
  • Enderdragon

Not sure if there is more.

Tested it in a completely empty server and i can still hit those mobs.
I tested this myself using EntityDamageByEntityEvent and cancelled it, worked just fine.
Even removed MONITOR event priority flag from the event and it still worked fine.
Are you using anything else? Idk.

And btw, just to let you know I'm using Spigot v.1.12.2 using Restricted Creative 1.12.2. (Like i said before there was a server owner who bought the plugin not me, so i just still have it. And i can no longer contact the person to download the new version for me.) So I'm not pretty sure if it's the outdated version that is causing the issue but i checked every single update log from v1.12.2 and reported issues and none of them included this issue.

RestrictedCreative v1.15.3 not loading again

[10:29:03] [Server thread/INFO]: [RestrictedCreative] Enabling RestrictedCreative v1.15.3
[10:29:04] [Server thread/ERROR]: Error occurred while enabling RestrictedCreative v1.15.3 (Is it up to date?)
java.lang.NullPointerException: null
	at me.prunt.restrictedcreative.Main.getMessage(Main.java:726) ~[?:?]
	at me.prunt.restrictedcreative.Main.loadConfig(Main.java:645) ~[?:?]
	at me.prunt.restrictedcreative.Main.onEnable(Main.java:171) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1523]
	at java.lang.Thread.run(Unknown Source) [?:?]
[10:29:04] [Server thread/INFO]: [RestrictedCreative] Disabling RestrictedCreative v1.15.3
[10:29:04] [Server thread/ERROR]: Error occurred while disabling RestrictedCreative v1.15.3 (Is it up to date?)
java.lang.NullPointerException: null
	at me.prunt.restrictedcreative.Main.onDisable(Main.java:600) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:350) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:320) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1523]
	at java.lang.Thread.run(Unknown Source) [?:?]

After New update error

I have this error in the console after the update:

[10:12:23] [Server thread/ERROR]: Could not pass event PlayerInteractEvent to RestrictedCreative v1.12.3
org.bukkit.event.EventException: null
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1271]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1271]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1271]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:515) ~[patched_1.12.2.jar:git-Paper-1271]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:500) ~[patched_1.12.2.jar:git-Paper-1271]
	at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:236) ~[patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.PlayerInteractManager.a(PlayerInteractManager.java:460) ~[patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:990) ~[patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37) ~[patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5) ~[patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.2.jar:git-Paper-1271]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_144]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_144]
	at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:843) [patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:426) [patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [patched_1.12.2.jar:git-Paper-1271]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [patched_1.12.2.jar:git-Paper-1271]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: java.lang.NullPointerException
	at me.prunt.restrictedcreative.EventListener.onPlayerInteractHighest(EventListener.java:1189) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor516.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1271]
	... 18 more

Cannot execute command in RestrictedCreative v1.15.3

Server paperspigot 1.12.2
[16:42:16] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Cannot execute command 'rc' in plugin RestrictedCreative v1.15.3 - plugin is disabled.
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:36) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1475) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1280) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.2.jar:git-Paper-1533]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:849) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:773) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) ~[patched_1.12.2.jar:git-Paper-1533]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
[16:42:40] [Server thread/ERROR]: Could not pass event CraftItemEvent to Jobs v4.7.0
java.lang.NoClassDefFoundError: Could not initialize class com.gamingmesh.jobs.CMILib.ItemManager$1
at com.gamingmesh.jobs.CMILib.ItemManager$CMIMaterial.isDye(ItemManager.java:2196) ~[?:?]
at com.gamingmesh.jobs.CMILib.ItemManager$CMIMaterial.isDye(ItemManager.java:2192) ~[?:?]
at com.gamingmesh.jobs.listeners.JobsPaymentListener.onInventoryCraft(JobsPaymentListener.java:577) ~[?:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor748.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1533]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:527) ~[patched_1.12.2.jar:git-Paper-1533]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1985) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.12.2.jar:git-Paper-1533]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_181]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_181]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:849) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:773) ~[patched_1.12.2.jar:git-Paper-1533]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) ~[patched_1.12.2.jar:git-Paper-1533]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]

MySQL

I know why it kept sending me the console Alert.

database:
type: SQLite
username: root
password: ''
host: localhost
port: 3306
database: rc_database
table: rc_table

You have the data base automaticly on SQLite not on MySQL

Ending up toggling between 3 inventories

Our server owner added this plugin and I was testing it for him last night.
The issue I'm seeing is that I'm ending up with 3 different inventories. I'll outline how I'm seeing them.
1.Start in survival with survival inv.
2.Switch to creative and get empty inventory as expected. Use creative mode a bit and get a "creative inventory"
3.Switch back to survival and get a new empty inventory.
4.Switch back to creative and get my original Survival Inventory.
5.Switch back to survival and get my creative inventory.
6.Switch back to creative and get that 3rd inventory.
7.Switch back to survival and get my original Survival Inventory.

I tested with 2 different players and was getting this pattern every time.

I saw there was a closed issue where someone referenced the PerWorldInventories causing a problem because they were using it in a separate world for creative but the issue was closed because the OP never replied. I'm wondering if PWI is causing the issue here as well possibly. We are not using this in a separate world like that person did, we will be using this in our survival world, but we are using PWI because we have a survival world and a SkyBlock world and PWI is keeping those inventories separated.

1.12 Inventory Saving

People can get like Money Vouchers on their own server and use them by saving the GMC inventory. This caused a huge economy exploid is there any way you can solve this?

Pickup FIX

This plugins seems to have a problem, when I am using PickUP Fix players can still pickup items in gamemode.

Problems with interact inventories

Hi! If you set these settings, you can not use the chests in creative mode:

disable:
interact:
inventories: true

But even then it will not be possible to open any GUI menu on the server. For examle: /menu, /donate, /rules, /info. Is there any way to fix this? Thank you in advance.

Could not pass event BlockPhysicsEvent to RestrictedCreative v2.0b-BROKEN

[19:54:27] [Server thread/ERROR]: Could not pass event BlockPhysicsEvent to RestrictedCreative v2.0b-BROKEN
org.bukkit.event.EventException: null
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.13.1.jar:git-Paper-214]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:527) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callBlockPhysicsEvent(CraftEventFactory.java:1128) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.BlockPlant.updateState(BlockPlant.java:18) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.BlockTallPlant.updateState(BlockTallPlant.java:17) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.IBlockData.updateState(IBlockData.java:252) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.DefinedStructure.lambda$a$1(DefinedStructure.java:262) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.VoxelShapeDiscrete.a(SourceFile:313) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.VoxelShapeDiscrete.a(SourceFile:282) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.DefinedStructure.a(DefinedStructure.java:252) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.DefinedStructure.a(DefinedStructure.java:141) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.DefinedStructurePiece.a(SourceFile:59) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.WorldGenShipwreck$a.a(SourceFile:139) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.StructureStart.a(SourceFile:62) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.StructureGenerator.generate(StructureGenerator.java:50) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.WorldGenDecoratorEmpty.a(SourceFile:16) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.WorldGenDecoratorEmpty.a(SourceFile:13) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.WorldGenFeatureComposite.a(SourceFile:27) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.BiomeBase.a(SourceFile:504) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkGeneratorAbstract.addDecorations(ChunkGeneratorAbstract.java:98) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.generator.NormalChunkGenerator.addDecorations(NormalChunkGenerator.java:59) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkTaskDecorate.a(SourceFile:12) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkTask.a(SourceFile:35) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:95) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkTaskScheduler.a(ChunkTaskScheduler.java:78) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkTaskScheduler.a(ChunkTaskScheduler.java:16) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:147) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:442) ~[?:1.8.0_181]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:260) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.concurrent.CompletableFuture$UniCompletion.claim(CompletableFuture.java:529) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:599) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:577) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:617) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture.thenApplyAsync(CompletableFuture.java:1993) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:147) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.Map.computeIfAbsent(Map.java:957) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:137) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:143) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:105) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:22) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:143) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.Map.computeIfAbsent(Map.java:957) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:137) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:143) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:105) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:22) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:143) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.Map.computeIfAbsent(Map.java:957) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:137) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:143) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:105) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkStatus.a(SourceFile:22) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:143) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.Map.computeIfAbsent(Map.java:957) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:137) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler$a.a(SourceFile:115) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.Scheduler.a(SourceFile:61) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) ~[?:1.8.0_181]
	at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:260) ~[patched_1.13.1.jar:git-Paper-214]
	at java.util.concurrent.CompletableFuture.asyncSupplyStage(CompletableFuture.java:1604) ~[?:1.8.0_181]
	at java.util.concurrent.CompletableFuture.supplyAsync(CompletableFuture.java:1830) ~[?:1.8.0_181]
	at net.minecraft.server.v1_13_R2.Scheduler.a(SourceFile:62) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.SchedulerBatch.a(SourceFile:39) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:121) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.PlayerChunk.a(PlayerChunk.java:98) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.PlayerChunkMap.flush(PlayerChunkMap.java:159) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.WorldServer.doTick(WorldServer.java:322) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1066) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:428) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:936) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:834) ~[patched_1.13.1.jar:git-Paper-214]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Caused by: net.minecraft.server.v1_13_R2.ReportedException: Exception generating new chunk
	at net.minecraft.server.v1_13_R2.ChunkProviderServer.a(ChunkProviderServer.java:181) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:126) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.getChunkAt(CraftWorld.java:181) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.getChunkAt(CraftWorld.java:185) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getChunk(CraftBlock.java:98) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlockState.<init>(CraftBlockState.java:40) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getState0(CraftBlock.java:415) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getState(CraftBlock.java:277) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getState(CraftBlock.java:271) ~[patched_1.13.1.jar:git-Paper-214]
	at me.prunt.restrictedcreative.listeners.BlockUpdateListener.onBlockUpdate(BlockUpdateListener.java:43) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor933.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.13.1.jar:git-Paper-214]
	... 76 more
Caused by: java.lang.RuntimeException: Batch already started.
	at net.minecraft.server.v1_13_R2.SchedulerBatch.b(SourceFile:27) ~[patched_1.13.1.jar:git-Paper-214]
	at net.minecraft.server.v1_13_R2.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:120) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.getChunkAt(CraftWorld.java:181) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.CraftWorld.getChunkAt(CraftWorld.java:185) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getChunk(CraftBlock.java:98) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlockState.<init>(CraftBlockState.java:40) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getState0(CraftBlock.java:415) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getState(CraftBlock.java:277) ~[patched_1.13.1.jar:git-Paper-214]
	at org.bukkit.craftbukkit.v1_13_R2.block.CraftBlock.getState(CraftBlock.java:271) ~[patched_1.13.1.jar:git-Paper-214]
	at me.prunt.restrictedcreative.listeners.BlockUpdateListener.onBlockUpdate(BlockUpdateListener.java:43) ~[?:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor933.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.13.1.jar:git-Paper-214]
	... 76 more

My server because this Disconnect

[RestrictedCreative] Plugin RestrictedCreative v1.13 generated an exception while executing task 19421
java.lang.AbstractMethodError: org.sqlite.Conn.isValid(I)Z
at me.prunt.restrictedcreative.Database.isValidConnection(Database.java:73) ~[?:?]
at me.prunt.restrictedcreative.Database.getConnection(Database.java:52) ~[?:?]
at me.prunt.restrictedcreative.Main$5.run(Main.java:499) ~[?:?]
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[server.jar:git-Spigot-de459a2-51263e9]
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [server.jar:git-Spigot-de459a2-51263e9]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_91]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_91]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]

Glitch

If I restart my server players in GMC will keep the GMC inv in GMS and their old GMS inv will be gone. Is there anyway you can fix this?

Water Physics

You cannot place water on certain blocks.
One of them is glass.

There is no restriction for WATER_BUCKET in the config and when I disabled the plugin this stopped.
This is really annoying and happens randomly with some other blocks as well.
Please fix this ASAP.

Just sending it.

[15:21:19] [Craft Scheduler Thread - 52/WARN]: Exception in thread "Craft Scheduler Thread - 52"
[15:21:19] [Craft Scheduler Thread - 52/WARN]: org.apache.commons.lang.UnhandledException: Plugin RestrictedCreative v1.12.6 generated an exception while executing task 15523
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.AbstractMethodError: org.sqlite.Conn.isValid(I)Z
at me.prunt.restrictedcreative.Database.isValidConnection(Database.java:73)
at me.prunt.restrictedcreative.Database.getConnection(Database.java:52)
at me.prunt.restrictedcreative.Main$5.run(Main.java:462)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more

Error

[15:40:22] [Craft Scheduler Thread - 404/WARN]: org.apache.commons.lang.UnhandledException: Plugin RestrictedCreative v1.12.8 generated an exception while executing task 736970
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.AbstractMethodError: org.sqlite.Conn.isValid(I)Z
at me.prunt.restrictedcreative.Database.isValidConnection(Database.java:73)
at me.prunt.restrictedcreative.Database.getConnection(Database.java:52)
at me.prunt.restrictedcreative.Main$5.run(Main.java:479)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more

1.15.3 not work Paper 1.12.2

[04:00:56] [Server thread/ERROR]: Error occurred while enabling RestrictedCreative v1.15.3 (Is it up to date?)
java.lang.NullPointerException: null
	at me.prunt.restrictedcreative.Main.getMessage(Main.java:726) ~[?:?]
	at me.prunt.restrictedcreative.Main.loadConfig(Main.java:645) ~[?:?]
	at me.prunt.restrictedcreative.Main.onEnable(Main.java:171) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1523]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
[04:00:56] [Server thread/INFO]: [RestrictedCreative] Disabling RestrictedCreative v1.15.3
[04:00:56] [Server thread/ERROR]: Error occurred while disabling RestrictedCreative v1.15.3 (Is it up to date?)
java.lang.NullPointerException: null
	at me.prunt.restrictedcreative.Main.onDisable(Main.java:600) ~[?:?]
	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:350) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:320) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:395) ~[patched_1.12.2.jar:git-Paper-1523]
	at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:344) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:442) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:403) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:341) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:289) ~[patched_1.12.2.jar:git-Paper-1523]
	at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:616) ~[patched_1.12.2.jar:git-Paper-1523]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

Errors

[11:03:22] [Server thread/ERROR]: Could not pass event PlayerGameModeChangeEvent to RestrictedCreative v1.13org.bukkit.event.EventExceptionat org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.craftbukkit.v1_8_R3.entity.CraftPlayer.setGameMode(CraftPlayer.java:850) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at com.earth2me.essentials.commands.Commandgamemode.run(Commandgamemode.java:68) [EssentialsX.jar:?]at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:157) [EssentialsX.jar:?]at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:517) [EssentialsX.jar:?]at com.earth2me.essentials.Essentials.onCommand(Essentials.java:430) [EssentialsX.jar:?]at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_141]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_141]at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]Caused by: java.lang.NullPointerExceptionat me.prunt.restrictedcreative.Main.unCreative(Main.java:889) ~[RestrictedCreative.jar:?]at me.prunt.restrictedcreative.listeners.EventListener.onPlayerGameModeChange(EventListener.java:990) ~[RestrictedCreative.jar:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_141]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_141]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]... 25 more

Some players can't do anything in gmc

[10:31:11] [Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to RestrictedCreative v1.12.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1342) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_141]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_141]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
Caused by: java.lang.NoSuchMethodError: org.bukkit.event.player.PlayerInteractEntityEvent.getHand()Lorg/bukkit/inventory/EquipmentSlot;
at me.prunt.restrictedcreative.EventListener.onPlayerInteractEntity(EventListener.java:1280) ~[?:?]
at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_141]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) ~[PaperSpigot-1.8.8.jar:git-PaperSpigot-"4c7641d"]
... 16 more

Error

[12:58:52] [Server thread/ERROR]: Could not pass event PlayerGameModeChangeEvent to RestrictedCreative v1.12.3
org.bukkit.event.EventException: null
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot.jar:git-Spigot-7754231-94b0980]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Spigot-7754231-94b0980]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:499) [spigot.jar:git-Spigot-7754231-94b0980]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:484) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.EntityPlayer.a(EntityPlayer.java:1145) [spigot.jar:git-Spigot-7754231-94b0980]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer.setGameMode(CraftPlayer.java:798) [spigot.jar:git-Spigot-7754231-94b0980]
at com.earth2me.essentials.commands.Commandgamemode.run(Commandgamemode.java:68) [EssentialsX-2.0.1.jar:?]
at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:157) [EssentialsX-2.0.1.jar:?]
at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:511) [EssentialsX-2.0.1.jar:?]
at com.earth2me.essentials.Essentials.onCommand(Essentials.java:424) [EssentialsX-2.0.1.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-7754231-94b0980]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-7754231-94b0980]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:651) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1392) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1227) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-7754231-94b0980]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_111]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_111]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot.jar:git-Spigot-7754231-94b0980]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot.jar:git-Spigot-7754231-94b0980]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: java.lang.ClassCastException: Cannot cast [Lorg.bukkit.inventory.ItemStack; to me.prunt.restrictedcreative.Main
at java.lang.invoke.MethodHandleImpl.newClassCastException(MethodHandleImpl.java:361) ~[?:1.8.0_111]
at java.lang.invoke.MethodHandleImpl.castReference(MethodHandleImpl.java:356) ~[?:1.8.0_111]
at me.prunt.restrictedcreative.Main.creative(Main.java:712) ~[?:?]
at me.prunt.restrictedcreative.EventListener.onPlayerGameModeChange(EventListener.java:958) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_111]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_111]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_111]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_111]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot.jar:git-Spigot-7754231-94b0980]
... 25 more

WitherBoss Patterns Bypass

You can summon a witherboss in different ways other than doing the following pattern below:

       *  *  *
       |   |   |
           |
           |

(| = Soul Sand, * = Wither Skeleton Skull)

See the screenshot below for two other simple patterns that my donator found.
2018-05-08_18 26 55

[Suggestion] World Guard Regions

I would suggest adding something, so you could limit the players to switch to creative mode ONLY in a certain region.

For example, I am having a building competition. I want to set up a large region players could use creative in, rather than anywhere in said world.

I hope to see this added soon :)

Fence bug

  1. Place block and lever, button etc...
  2. Break block.
  3. Place fence.
  4. Dropped creative items.

image
image
image

PerWorldInventory

I use a plugin called PerWorldInventory in order to have a creative world. Having a creative world + perworldinventory with restrictedcreative really screws up the inventories and they often don't load properly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.