Premium RestrictedCreative [Paid]

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

  1. Prunt updated RestrictedCreative with a new update entry:

    Finally stable

    Read the rest of this update entry...
     
    • Like Like x 1
  2. Hi, welcome back. ^_^

    The RC version I used previously that worked, was [1.13+] 2.1.1. Then I updated the RC plugin to [1.13+] 2.2d-BETA, where the issues popped up. I was using Spigot 1.14.2 (May 27 2019).
     
  3. I think just adding some bypass permissions to your admins would suffice. "rc.bypass.limit.regions.whitelist" would probably do the trick in your case.
     
  4. Hi, thanks for getting back to me so quickly.

    I added - rc.bypass.limit.regions.whitelist to the permissions for the Admin group and restarted the server. Unfortunately, it still gives me the same issue.
     

    Attached Files:

  5. emm prune,
    can you help me. why did the plugins took so long to load database even when empty

    Creative > Loaded 0 blocks in 0 chunks from database!
    Creative > Done! Took 34542ms
     
  6. I'm having the same issue as ginsengsamuari. Giving admins the proper permissions won't bypass worldguard region limits. Not even for operators for that matter.
     
    • Useful Useful x 1
  7. If you leave the server while restricted and you join again you will be in survival mode and have your restricted items instead of survival items.
    Thats because we have a forced gamemode on our server but this problem has to be fixed in your code.
     
  8. I'll take a closer look and publish an update soon.

    Try deleting the database (MySQL: "DROP TABLE YOUR-TABLE-NAME"; SQLite: delete the "your-database-name.db" file in the plugin folder). It's possible that there is old data in the database.

    There seems to be an issue with this indeed. It'll be fixed in the next version.
     
    • Like Like x 1
  9. Prunt updated RestrictedCreative with a new update entry:

    Long overdue fixes

    Read the rest of this update entry...
     
    • Friendly Friendly x 1
  10. could you add a way to convert database from flatfile to mysql or vise versa?
     
  11. I actually had this feature a while ago, but removed it since nobody was using it and I wasn't too sure how well it worked. I think that it'd be easier to use an external SQLite to MySQL converter, just google around a bit.
     
  12. ah okay, because that day i change a hoster. and their mysql is laggy af. so i had to reset the database and start new.
    just that it would be nice if there is something build in
     
  13. Could not execute SQL statement:
    [00:47:37] [Server thread/WARN]: org.sqlite.SQLiteException: [SQLITE_CONSTRAINT] Abort due to constraint violation (UNIQUE constraint failed: rc_invs.player, rc_invs.type)
    [00:47:37] [Server thread/WARN]: at org.sqlite.core.DB.newSQLException(DB.java:941)
    [00:47:37] [Server thread/WARN]: at org.sqlite.core.DB.newSQLException(DB.java:953)
    [00:47:37] [Server thread/WARN]: at org.sqlite.core.DB.execute(DB.java:854)
    [00:47:37] [Server thread/WARN]: at org.sqlite.core.DB.executeUpdate(DB.java:895)
    [00:47:37] [Server thread/WARN]: at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102)
    [00:47:37] [Server thread/WARN]: at me.prunt.restrictedcreative.storage.Database.executeUpdate(Database.java:192)
    [00:47:37] [Server thread/WARN]: at me.prunt.restrictedcreative.utils.Utils.saveInventory(Utils.java:681)
    [00:47:37] [Server thread/WARN]: at me.prunt.restrictedcreative.listeners.PlayerMiscListener.onPlayerQuit(PlayerMiscListener.java:264)
    [00:47:37] [Server thread/WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor412.execute(Unknown Source)
    [00:47:37] [Server thread/WARN]: at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
    [00:47:37] [Server thread/WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:76)
    [00:47:37] [Server thread/WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [00:47:37] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.PlayerList.disconnect(PlayerList.java:409)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1518)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.NetworkManager.handleDisconnection(NetworkManager.java:370)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.ServerConnection.c(ServerConnection.java:153)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1216)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:420)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1064)
    [00:47:37] [Server thread/WARN]: at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:908)
    [00:47:37] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
     
  14. What version of Spigot are you using? Could you send me your rc_database.db file (to PM, for example)?
     
  15. Code (Text):
    [Sat, 20. Jul 2019 06:24:29 AEST ERROR] Could not execute SQL statement:
    [Sat, 20. Jul 2019 06:24:29 AEST WARN] org.sqlite.SQLiteException: [SQLITE_CONSTRAINT]  Abort due to constraint violation (UNIQUE constraint failed: rc_invs.player, rc_invs.type)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.sqlite.core.DB.newSQLException(DB.java:941)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.sqlite.core.DB.newSQLException(DB.java:953)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.sqlite.core.DB.execute(DB.java:854)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.sqlite.core.DB.executeUpdate(DB.java:895)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.sqlite.jdbc3.JDBC3PreparedStatement.executeUpdate(JDBC3PreparedStatement.java:102)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at me.prunt.restrictedcreative.storage.Database.executeUpdate(Database.java:192)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at me.prunt.restrictedcreative.utils.Utils.saveInventory(Utils.java:681)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at me.prunt.restrictedcreative.listeners.PlayerMiscListener.onPlayerQuit(PlayerMiscListener.java:264)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor356.execute(Unknown Source)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:545)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.PlayerList.disconnect(PlayerList.java:409)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.PlayerConnection.a(PlayerConnection.java:1518)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.NetworkManager.handleDisconnection(NetworkManager.java:370)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.ServerConnection.c(ServerConnection.java:153)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.MinecraftServer.b(MinecraftServer.java:1216)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.DedicatedServer.b(DedicatedServer.java:420)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.MinecraftServer.a(MinecraftServer.java:1064)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:908)
    [Sat, 20. Jul 2019 06:24:29 AEST WARN]     at java.lang.Thread.run(Thread.java:748)
    I'm receiving complaints of inventories duplicating from creative to survival.
    Most recent version of rc, Paper-134
     
    • Friendly Friendly x 1
  16. Will release a fix soon.

    This only happens every 5 minutes by default and is mostly async so it shouldn't have much effect on TPS. Are you certain it's the cause and not anything else?

    Sorry for making you wait so long!
     
    • Friendly Friendly x 1
  17. Prunt updated RestrictedCreative with a new update entry:

    Whoopsie!

    Read the rest of this update entry...
     
    • Like Like x 1