Spigot Restrict Creative 5.1

Restrict the shere of items between a creative player and a survival player.

  1. i'm using ViaVersion plugin and when i place a creative block it kicks me. here is the error.


    Code (Text):
    09.05 21:30:45 [Server] ERROR io.netty.handler.codec.EncoderException: String too big (was 407306 bytes encoded, max 262144)
    09.05 21:30:45 [Server] WARN io.netty.handler.codec.EncoderException: String too big (was 407306 bytes encoded, max 262144)
    09.05 21:30:45 [Server] WARN at net.minecraft.server.v1_13_R2.PacketDataSerializer.a(PacketDataSerializer.java:331)
    09.05 21:30:45 [Server] WARN at net.minecraft.server.v1_13_R2.PacketDataSerializer.a(PacketDataSerializer.java:132)
    09.05 21:30:45 [Server] WARN at net.minecraft.server.v1_13_R2.PacketPlayOutChat.b(PacketPlayOutChat.java:39)
    09.05 21:30:45 [Server] WARN at net.minecraft.server.v1_13_R2.PacketEncoder.encode(PacketEncoder.java:42)
    09.05 21:30:45 [Server] WARN at net.minecraft.server.v1_13_R2.PacketEncoder.encode(PacketEncoder.java:12)
    09.05 21:30:45 [Server] WARN at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
    09.05 21:30:45 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    09.05 21:30:45 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:498)
    09.05 21:30:45 [Server] WARN at us.myles.ViaVersion.util.PipelineUtil.callEncode(PipelineUtil.java:72)
    09.05 21:30:45 [Server] WARN at us.myles.ViaVersion.bukkit.handlers.BukkitEncodeHandler.encode(BukkitEncodeHandler.java:50)
    09.05 21:30:45 [Server] WARN at sun.reflect.GeneratedMethodAccessor33.invoke(Unknown Source)
    09.05 21:30:45 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    09.05 21:30:45 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:498)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.reflect.accessors.DefaultMethodAccessor.invoke(DefaultMethodAccessor.java:16)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelInjector.encode(ChannelInjector.java:458)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelInjector.access$100(ChannelInjector.java:66)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelInjector$1.encode(ChannelInjector.java:232)
    09.05 21:30:45 [Server] WARN at io.netty.handler.codec.MessageToByteEncoder.write(MessageToByteEncoder.java:107)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelInjector$1.write(ChannelInjector.java:238)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)
    09.05 21:30:45 [Server] WARN at protocolsupport.utils.netty.MessageToMessageEncoder.write(MessageToMessageEncoder.java:57)
    09.05 21:30:45 [Server] WARN at protocolsupport.utils.netty.MessageToMessageCodec.write(MessageToMessageCodec.java:61)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)
    09.05 21:30:45 [Server] WARN at io.netty.channel.ChannelDuplexHandler.write(ChannelDuplexHandler.java:106)
    09.05 21:30:45 [Server] WARN at me.neznamy.tab.bukkit.packets.Packet$1.write(Packet.java:101)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)
    09.05 21:30:45 [Server] WARN at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:111)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:801)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:814)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:794)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:831)
    09.05 21:30:45 [Server] WARN at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1071)
    09.05 21:30:45 [Server] WARN at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:300)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelProxy.writeAndFlush(ChannelProxy.java:327)
    09.05 21:30:45 [Server] WARN at net.minecraft.server.v1_13_R2.NetworkManager.lambda$b$4(NetworkManager.java:214)
    09.05 21:30:45 [Server] WARN at com.comphenix.protocol.injector.netty.ChannelInjector$3.lambda$onMessageScheduled$1(ChannelInjector.java:310)
    09.05 21:30:45 [Server] WARN at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
    09.05 21:30:45 [Server] WARN at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
    09.05 21:30:45 [Server] WARN at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:313)
    09.05 21:30:45 [Server] WARN at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:884)
    09.05 21:30:45 [Server] WARN at java.lang.Thread.run(Thread.java:748)
    09.05 21:30:45 [Disconnect] User SirHectorin has disconnected, reason: Internal Exception: io.netty.handler.codec.EncoderException: java.lang.RuntimeException: An internal error occured.
     
  2. Please send me in PM the version of viaVersion and version of server ( i don`t think its from my plugin because in error don`t show anything about this plugin.)
     
  3. The coordinates (x, y, z) of the blocks in gm1 are displayed on the display screen. It interferes with the review of the world and spamming in the chat. Please make it possible to disable this in the chat. Sorry for the bad English.
     

    Attached Files:

  4. Now i will remove it , was just for debugging for me and i forget it to remove it :D in max 10 min will be posted the update
     
    • Like Like x 1
    • Like Like x 1
  5. Deiutz works with 1.14.2?
     
  6. no itsn`t work with items from 1.14 but work with items from 1.13> , PM me on Discord to send you a version with 1.14 Api-Version set it :D ( Deiutz#1349 )
     
  7. when will update to 1.14.2? Already have to do for 1.14.3:p
     
    #28 egor123, Jun 3, 2019
    Last edited: Jun 3, 2019
    • Agree Agree x 1
  8. I really want you to do it for 1.14.2. :)
     
  9. Ok , i will do a official version update for 1.14.x
     
    • Like Like x 1
    • Like Like x 1
    • Friendly Friendly x 1
  10. Hi guys! Please report any bug or glitch any problem , if you don`t report it , I don`t know about them .
     
    • Like Like x 1
  11. works for me on 1.14.2, thank
     
    • Useful Useful x 1
  12. Version 2.4 does not work on spigot 1.12.2


    Error occurred while enabling RestrictCreative v2.4 (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.plugin.PluginDescriptionFile.getAPIVersion()Ljava/lang/String;
    at ro.deiutzblaxo.RestrictCreative.Main.setApiVersion(Main.java:44) ~[?:?]
    at ro.deiutzblaxo.RestrictCreative.Main.onEnable(Main.java:28) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) ~[Spigot.jar:git-Spigot-e8ded36-acbc348]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545) [Spigot.jar:git-Spigot-e8ded36-acbc348]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
     
  13. In 2.5 ( in 1-2 hours will be release) i will solve this problem and allow compatibility for 1.8 or higher
     
  14. When someone place the block from creative people can break it and get the items..
     
  15. Version?