Premium [25% OFF] StrikePractice – PvP Bot, Replay Matches, Build, Ranked, Party, Events, Kit Editor,...

Discussion in 'Resource Discussion' started by Toppe, Sep 16, 2017.

  1. Hello @Toppe! Good night. (I hope my inglish is understandable)

    I would like to make a query good man and report on the plugin. I'm testing the plugin with a network in open beta phase... i have noting that teleportation between worlds is consuming a lot of resources. How much ram would be ideal for the add-in to work normally?

    I also wanted to report a bug that has happened to me in an event of sumo. The players after the end of the sumo event returned at the lobbyspawn with fly and without their "spawnitems" in the Quick Access Toolbar. To return to normal, you must use / leave, which is quite annoying, how could fix it? Thank you before hand and a greeting.

    Link video:
     
    #501 BrandPV, Jul 9, 2018
    Last edited: Jul 9, 2018
  2. Hi. About the world teleportation, be sure you don't have multiverse core plugin. It may cause errors and have an impact on performance. If you have any errors in the console (without multiverse core) please post them here. It's difficult to say exact amount of ram but something like "number of players/10 + 2" should be ok. (For example about 5gb for 30 players, 8gb for 60 players, 14gb for 120 players)

    I'm not sure what causes the sumo spectator bug but check console if there are any errors. You can also set "allow-brackets-spectating: false" so player's stay at "/sumo setlobby" location and they don't fly.
     
    • Like Like x 1
  3. thank you, I'll do the tests again with those suggestions. I do not have any multiverse plugin, I will look at the console and anything will report it. Again, thank you very much
     
    • Like Like x 1
  4. Hi @Toppe ,
    Congrats for this plugin is really amazing.
    I'm not buyer but admin of @BrandPV's server, and i'm helping to improve the performance, i have two questions.
    what exactly performance-mode and keep-chunks-loaded do?
    also how affects async-update and enhanced-performance on the scoreboard to the server performance and why will cause bugs?

    the timings shows a Synchronous Task Timer of Interval 1 causing a bit of lag.
     
    #504 Esmorall, Jul 10, 2018
    Last edited: Jul 10, 2018
    • Like Like x 1
  5. Hi.
    I don't recommend enabling "keep-chunks-loaded" with default spigot etc config it only causes more lag. performance-mode makes some things asynchronous (so the task runs on different thread than the server so the server will never wait or freeze even if the task takes multiple ticks) and it also changes some features that might cause lag, for example slows down arena regeneration. Therefore, I recommend enabling it. "async-update" might cause problems but "enhanced-performance" should have good performance and it's enabled by default if you use performance-mode. If it or performance-mode causes any errors in the console try this in the config:
    Code (Text):

    scoreboard:
      avoid-errors: true
     
    I hope this helps :)
     
    • Like Like x 1
    • Informative Informative x 1
  6. Hello again! First of all, I would like to tell you that the performance of the plugin has improved significantly. The truth is fantastic this snap-in, but i error encountered quite serious. I didn't have time to spend these days for work, but I have sent evidence of players in the server error, I also have errors received on the console

    Link video:

    Code (Text):

    [12:21:20] [Server thread/INFO]: mauriagus10 issued server command: /unranked
    [12:21:27] [Server thread/INFO]: mauriagus10 issued server command: /spec
    [12:21:27] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'spec' in plugin StrikePractice v1.9.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [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(Executors.java:511) [?:1.8.0_162]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162]
        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(Thread.java:748) [?:1.8.0_162]
    Caused by: java.lang.NullPointerException
        at org.bukkit.craftbukkit.v1_8_R3.entity.CraftHumanEntity.openInventory(CraftHumanEntity.java:176) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at ga.strikepractice.u.IlIlllIIIllllIlIIIIllIIllIlIllIIIlllIIllIIIllllIlI.onCommand(SpectatorCommand.java:37) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        ... 15 more
    [12:21:37] [Server thread/INFO]: mauriagus10 issued server command: /spec maurielproxd
    [12:21:39] [Server thread/INFO]: [ConditionalCommands] > Dispatching command "aacstaffnotify maurielproxd was kicked for hacks > Criticals > [0;36;22mWorld[0;33;1m|[0;32;22mPing[0;33;1m|[0;35;22mTPS[0;33;1m=[0;36;22mArenas_1[0;33;1m|[0;32;22m408[0;33;1m|[0;35;22m20.0 "[m
    [12:21:39] [Server thread/INFO]: [0;37;22m[[0;33;22mAAC[0;37;22m] [0;32;22m[CONSOLE] [mmaurielproxd was kicked for hacks > Criticals > [0;36;22mWorld[0;33;1m|[0;32;22mPing[0;33;1m|[0;35;22mTPS[0;33;1m=[0;36;22mArenas_1[0;33;1m|[0;32;22m408[0;33;1m|[0;35;22m20.0 [m
    [12:21:39] [Server thread/INFO]: [ConditionalCommands] > Dispatching command "aackick maurielproxd ERROR: Internal exception: java.net.SocketException: Connection reset(004) "[m
    [12:21:39] [Server thread/INFO]: maurielproxd lost connection: §fERROR: Internal exception: java.net.SocketException: Connection reset(004)
    [12:21:39] [Server thread/WARN]: handleDisconnection() called twice
    [12:21:41] [Thread-244/INFO]: UUID of player maurielproxd is 6df33a03-7ea7-3cfa-a4a6-704aabc7e3fa
     
    in many occasions this error appears
    Code (Text):

    [12:23:43] [Server thread/INFO]: franGT issued server command: /queue leave
    [12:23:46] [Server thread/INFO]: franGT issued server command: /spec
    [12:23:46] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'spec' in plugin StrikePractice v1.9.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162) [spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997) [spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-21fe707-e1ebe52]
        at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [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(Executors.java:511) [?:1.8.0_162]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_162]
        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(Thread.java:748) [?:1.8.0_162]
    Caused by: java.lang.NullPointerException
        at org.bukkit.craftbukkit.v1_8_R3.entity.CraftHumanEntity.openInventory(CraftHumanEntity.java:176) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        at ga.strikepractice.u.IlIlllIIIllllIlIIIIllIIllIlIllIIIlllIIllIIIllllIlI.onCommand(SpectatorCommand.java:37) ~[?:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-21fe707-e1ebe52]
        ... 15 more
    [12:23:50] [Async Chat Thread - #10/INFO]:  manolejo [0;32;22m[21m> [0;37;22mxddd[m
    [12:23:57] [Server thread/INFO]: franGT issued server command: /spectar
    [12:23:59] [Server thread/INFO]: franGT issued server command: /unranked
    [12:24:10] [Server thread/INFO]: [ConditionalCommands] > Dispatching command "aackick maurielproxd ERROR: Internal exception: java.net.SocketException: Connection reset(004) "[m
    [12:24:10] [Server thread/INFO]: maurielproxd lost connection: §fERROR: Internal exception: java.net.SocketException: Connection reset(004)
    [12:24:10] [Server thread/INFO]: [ConditionalCommands] > Not dispatching command because maurielproxd is not online...[m
     
    I also found a strange bug the kit. Then they are saved to start a game does not load the configuration of inventories, When You can investigate it further I will be know. Thank you for everything!
     
  7. Hi. Be sure you have this in your config:
    Code (Text):

    allow-spectating: true
     
    That's only thing I can think of. If it doesn't help check that you don't have errors when the plugin is enabled. Also if that's modified spigot try with normal spigot/paperspigot and also check other plugins that you have installed.

    Not sure if I understood but if you have edited the kit in kit editor and then edit the "base" kit, the server's kit in kits.yml the player's kit won't change.
     
    • Like Like x 1
  8. Hi, I'm here again. I wanted to thank him for the good attention he has given us. We were able to solve all of our inconveniences so far andWe greatly appreciate this deal.

    But now I come to consult you about a problem I had, until now I had never tried the "brackets event", But when I try to use it I get an invalid sand error, I can not understand how to place sands for this mode, could you help me with it?

    upload_2018-7-23_23-24-52.png
     
  9. Hi again.

    Nice to hear that the problems have been solved.

    Brackets event requires an arena called "brackets". Basically just create a normal arena "/arena create brackets" and then use "/arena pos1 brackets", "/arena pos2 brackets" and "/arena center brackets". Also be sure you have set "/brackets setlobby".
     
    • Like Like x 1
  10. There seems to be a bug with sumo :/ when the timer is over we have to wait an additional 5 seconds. Could you fix this?
     
  11. Hi. Sorry but I only give support to buyers. If someone else bought the plugin for your server/network please tell me or get them here or "Agree" on the message.
     
  12. A many of errors will be displayed when shutting down the server.
     
  13. Hi. Seems like the plugin didn't enabled properly. Check the logs when the server starts. If there's anything you can post it here.
     
  14. No error was issued when the plugin became enabled.
    Also, I found another error.
    An error will occur if the player wins PvPBot.
     
  15. That's weird.
    Do kits work though? Also if the server was running different spigot version that might cause it, if that's the case you might need to delete playerdata. If you need more help please contact me on discord or somewhere else:
    Skype: thetoppe
    Telegram: https://t.me/Toppe (@Toppe)
    Discord: Toppe#4670


    The pvp bot error doesn't have any effect on anything but will be fixed in the future.
     
  16. [17:26:19] [Server thread/WARN]: Failed to update scoreboard for Fran_LR
    [17:26:19] [Server thread/WARN]: java.lang.NullPointerException
    [17:26:19] [Server thread/WARN]: at ga.strikepractice.m.IIllIIIIlIIIIlIIIlIlllIIIIIIllllIlllIIlllIIllIIlll.IlIlIlIlIIllIIIIIllllIlllIIIIIllllIIIllIllIllllIIl(Placeholders.java:285)
    [17:26:19] [Server thread/WARN]: at ga.strikepractice.s.IIllIlIlIIIIIIIllIIIllIIIllllllIIlIIlIllIlllIlllll.IlIlIlIlIIllIIIIIllllIlllIIIIIllllIIIllIllIllllIIl(ScoreboardManager.java:371)
    [17:26:19] [Server thread/WARN]: at ga.strikepractice.s.IIllIlIlIIIIIIIllIIIllIIIllllllIIlIIlIllIlllIlllll.IlIlIlIlIIllIIIIIllllIlllIIIIIllllIIIllIllIllllIIl(ScoreboardManager.java:163)
    [17:26:19] [Server thread/WARN]: at ga.strikepractice.s.IIIIIIlIlIIIIIlIllIIlllIlllIlIIIIlIIIlIllIIlllIIlI.IlIlllIIIllllIlIIIIllIIllIlIllIIIlllIIllIIIllllIlI(ScoreboardUpdater.java:99)
    [17:26:19] [Server thread/WARN]: at ga.strikepractice.s.IIIIIIlIlIIIIIlIllIIlllIlllIlIIIIlIIIlIllIIlllIIlI.run(ScoreboardUpdater.java:85)
    [17:26:19] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
    [17:26:19] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:352)
    [17:26:19] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:783)
    [17:26:19] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
    [17:26:19] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)
    [17:26:19] [Server thread/WARN]: at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)
    [17:26:19] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
    [17:26:19] [Server thread/WARN]: Failed to update scoreboard for TheJuanGaymerMC
     
  17. Hi. Be sure you have the latest version of StrikePractice. If it happens in the latest it will be fixed in next update. It happened with <arena> placeholder in koth I think.
     
  18. Yes with the latest version is fixed thanks!
     
  19. But im having the same problem than BrandPV, the sumo event removes the spawnitems, please fix :)
     
  20. Hi. try setting "allow-brackets-spectating: false" in the config.yml. It should fix it for now. I'll have a look at it.