Premium RestrictedCreative [Paid]

Discussion in 'Resource Discussion' started by Prunt, Jul 1, 2017.

  1. Where did you add the new blocks to check?
     
  2. Hey! This plugin seems very interesting and I would love to use it on my server. I was wondering if/when 1.17 support is coming? Thanks! :)
     
  3. Do you have Discord? I have video where you can see how to get items from creative to survival. Can you check it?



     
  4. it already works fine on 1.17
     
  5. Plugin so slow load data from database
    [​IMG]
    Code (Text):
    [21:48:46 INFO]: Creative > Please wait! Loading data from database...
    [21:48:46 INFO]: [CoreProtect] WorldEdit logging successfully initialized.
    [21:48:46 INFO]: Done (24.935s)! For help, type "help"
    [21:48:46 INFO]: Timings Reset
    [21:48:59 INFO]: UUID of player SweetNone is 23891e2f-b1cc-4020-bdcd-4442866f7115
    [21:48:59 INFO]: Disconnecting [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:58260): Please wait! Loading data from database...
    [21:48:59 INFO]: Disconnecting [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:58260): Please wait! Loading data from database...
    [21:48:59 INFO]: [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:58260) lost connection: Please wait! Loading data from database...
    [21:54:41 INFO]: UUID of player SweetNone is 23891e2f-b1cc-4020-bdcd-4442866f7115
    [21:54:41 INFO]: Disconnecting [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:58593): Please wait! Loading data from database...
    [21:54:41 INFO]: [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:58593) lost connection: Please wait! Loading data from database...
    [21:59:58 INFO]: UUID of player SweetNone is 23891e2f-b1cc-4020-bdcd-4442866f7115
    [21:59:58 INFO]: Disconnecting [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:57581): Please wait! Loading data from database...
    [21:59:58 INFO]: [email protected][id=23891e2f-b1cc-4020-bdcd-4442866f7115,name=SweetNone,properties={textures=[[email protected]]},legacy=false] (/127.0.0.1:57581) lost connection: Please wait! Loading data from database...
     
  6. I can't guarantee that there aren't any bugs, but I'm pretty confident that there isn't any, because none has been reported that haven't been fixed. I'm also happy to fix any bugs that should arise.

    The basic features of creative and survival separation has always been there. You can disable items based on it's name or lore, dropping, picking up, interacting with inventories and entities, animal breeding, PVP, PVE etc. I'm not sure if chest content duplication is prevented, but creative players can't duplicate those items into survival mode anyway.

    The plugin is actually intended to work out-of-the-box in normal circumstances, i.e. with other popular plugins installed. It should absolutely prevent every way of getting creative items to survival mode when no other plugins are installed. Of course I can't guarantee that RC is 100% compatible with every other plugin out-of-the-box, but I'm doing my best to provide support for the cases it doesn't work as it should.

    What changes have you made to block all potential exploits? I'm sure other server owners would benefit from your experience, if you don't mind sharing. If there's any change I could make that should apply to everyone, then I'd be happy to include them as default.

    You can try adding the chest Material enum to the "disable.interacting.on-ground" list to see if that fixes the problem.

    The error comes from the string "ZOMBIE_PIGMAN_SPAWN_EGG" you have listed in the config under "disable.interacting.in-hand". This is referring to a Material enum that doesn't exist in your version of Spigot. You should check out the default config to add all the other new enums as well: https://bitbucket.org/Prunt/restrictedcreative/wiki/Default config

    I'm currently planning on finishing the update before the end of this month.

    Could you post the error again? The link points to 404, unfortunately.

    I'll add this to the todo list.

    You can send me the video via PM.
     
  7. You can add support for the Lands plugin, here its API.
     
  8. Code (Text):
    [15:58:11] [Server thread/ERROR]: Could not pass event PlayerRightClickEvent to RestrictedCreative v2.5.2
    java.lang.NoClassDefFoundError: me/mrCookieSlime/Slimefun/Objects/SlimefunItem/SlimefunItem
        at me.prunt.restrictedcreative.listeners.SlimefunListener.onPlayerRightClick(SlimefunListener.java:61) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor1115.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Airplane-48]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Airplane-48]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Airplane-48]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Airplane-48]
        at io.github.thebusybiscuit.slimefun4.implementation.listeners.SlimefunItemInteractListener.onRightClick(SlimefunItemInteractListener.java:62) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor769.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Airplane-48]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76) ~[patched_1.17.1.jar:git-Airplane-48]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Airplane-48]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.17.1.jar:git-Airplane-48]
        at org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:538) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:541) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1801) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:33) ~[?:?]
        at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:9) ~[?:?]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$1(PacketUtils.java:56) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:23) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1407) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.server.MinecraftServer.shouldRun(MinecraftServer.java:190) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:122) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1385) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1378) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:132) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1354) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1265) ~[patched_1.17.1.jar:git-Airplane-48]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:317) ~[patched_1.17.1.jar:git-Airplane-48]
        at java.lang.Thread.run(Thread.java:831) [?:?]
    how do i fix this error?
     
  9. I'll add it to the todo list.

    RC isn't updated to 1.17 yet, that's the problem. It's referencing an old version of Slimefun.
     
  10. Hello.
    Any update on the 1.17.1?
    I had to stop using the plugin due to errors spamming my console regarding RC. I would appreciate honestity, in order to know if I do need to find other alternatives about allowing creative on users.
     
  11. Hi!

    RC v3 is currently in blocker bugfix stage, meaning that writing the code is done and I'm fixing bugs that prevent the plugin from being used at all. I'd say that I'll release an alpha version in a week or so, after that all of you can help me find the little bugs.
     
    • Like Like x 3
  12. Prunt updated RestrictedCreative with a new update entry:

    The first ALPHA version of RC3 is here!

    Read the rest of this update entry...
     
  13. Looking forward for 1.18!
     
  14. 1.18 will be already supported by the next RC3 update, no need to worry.
     
  15. Do you know when this update will get dropped?
     
  16. hello,
    does the version "..-1.16" work on 1.16.5?
    thanks for your help :)
    MrMog2002
     
  17. Unfortunately, no. I promise I'm doing my best, though.

    Yes!