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. You must place the beds in the arenas and spawn positions in correct places. Strike wont teleport them multiple blocks above the spawn location. Note that only edit the arenas in /sprac arenasworld, not the copies.

    hasn't been reported before and I need more information such as what the /battlekit info looks like for those kits
  2. How can I make the players who are in a FFA match respawn in the FFA arena? They are sent back to spawn.
  3. Hi. Currently that's not possible. Might make it possible in some future update
  4. Toppe updated StrikePractice – 1v1, 2v2, PvP Bots, Tournaments, Parties, Kit Editor (GUI), Best of Rounds and more with a new update entry:

    Update - 3.0.9

    Read the rest of this update entry...
  5. Dude how many times do i have to ask you to fix your plugin? I have been using this for more than a year and you cant address the flaws of it.

    I reported you many times that the plugin just has a incredibly high cpu usage because it keeps saving all the player data over and over again every x minutes dude why are you doing this? Its not necessary to save the entire database every x minutes. And yes, its saving the entire database because it uses like 600% for some minutes and then stops and this only happens when theres like 2k + player data stored.

    Create a collection that contains changed players and add them there when you change them and dont FREAKING SAVE the entire database every x time save only changed players on QUIT or every x seconds and after saved remove them from the changed list.

    Im waiting for a fix because my server is unplayable since long.
  6. Hi.
    I'm sorry if I have failed to help you with something.
    Please have a look in the config though. You can fully customize when the player data is saved and it only saves online players. There's the auto save period option in the config, it means every x seconds ONLINE player's data will be saved. Setting that to greater than your restart will make it never save the online players data, instead it will only save when a player quits (and only the data of that player). Moreover, this was completely new information to me and I don't remember receiving any similar messages from you before. Also, 1.8.8 is recommended because most people use and you will have least problems with it but there are no known problems that can't be solved, (except a few with 1.15).

    Also, if you do not use SQL database strike isn't smart enough to calculate top stats only once, instead it will regularly (about every 10 minutes by default) check all files in playerdata folder, therefore SQL is highly recommended (or setting top-placeholders-require-mysql: true so it will skip top stats)
    #1046 Toppe, Feb 10, 2020
    Last edited: Feb 10, 2020
  7. I sent ya messages in 2018 about this issues.

    I did it and its still saving data. I set it to like 999999999. Every x seconds it starts using up all the cpu. I had to remove all player data in strikepratice to get it fixed.

    I use 1.8.8 for hosting StrikePractice.

    Cant this be fixed to prevent it from happening again?

    About the 1.12 bug is that armor is not correctly added to the npc bots and they lack a lot of behaviour that they do have on 1.8 plus sumo doesnt die when falling to water sometimes.
  8. The issue seems to be solved now.
  9. Nevermind it still lags even with only like 100 player data files... I dont know why it is causing so much cpu usage with only 9 players online. Even Survival uses less cpu. And no one is pla
    Yep im gonna change my review :)
  10. Please send me new timings if the server lags. With the config options I suggested using strike completely ignores other playerdata than ones of online players and the scoreboard setting I suggested (increasing lobby update time as there's no need to update it as often), could reduce its CPU usage by up to around ~30%. Will look forward to reduce CPU usage in future updates (currently it does it asynchronously so you benefit from multiple CPU cores)
    #1050 Toppe, Feb 11, 2020
    Last edited: Feb 11, 2020
  11. The last one i send to ya via discord shows the part causing issues. And it being async still makes the cpu go crazy but it wont show on the timings.
  12. please can you add tournament 2v2 3v3 4v4 5v5
  13. Hi. The features have not been planned. There's 1v1 tournament and 1v1 and 2v2 queue though (but not 2v2 etc tournaments)
  14. I purchased the plugin
    But I get an error
    error code
    [12:48:02] [Server thread/ERROR]: Error occurred while enabling StrikePractice v3.0.9 (Is it up to date?)
    net.minecraft.server.v1_15_R1.ReportedException: Exception generating new chunk
    at net.minecraft.server.v1_15_R1.MinecraftServer.initWorld( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.createWorld( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.Bukkit.createWorld( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.WorldCreator.createWorld( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at ga.strikepractice.StrikePractice.onEnable( ~[?:?]
    at ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin( [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin( [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins( [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.MinecraftServer.a( [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.DedicatedServer.init( [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at [spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at Source) [?:1.8.0_241]
    Caused by: java.lang.UnsupportedOperationException: Custom generator is missing required method generateChunkData
    at org.bukkit.generator.ChunkGenerator.generateChunkData( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.craftbukkit.v1_15_R1.generator.CustomChunkGenerator.buildBase( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.ChunkStatus.e(SourceFile:71) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.ChunkStatus$d.doWork(SourceFile:258) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.ChunkStatus.a(SourceFile:214) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.PlayerChunkMap.lambda$26( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mojang.datafixers.util.Either$ ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.PlayerChunkMap.lambda$24( ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at java.util.concurrent.CompletableFuture.uniCompose(Unknown Source) ~[?:1.8.0_241]
    at java.util.concurrent.CompletableFuture$UniCompose.tryFire(Unknown Source) ~[?:1.8.0_241]
    at java.util.concurrent.CompletableFuture$ Source) ~[?:1.8.0_241]
    at net.minecraft.server.v1_15_R1.ChunkTaskQueueSorter.b(SourceFile:58) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.ThreadedMailbox.e(SourceFile:83) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.ThreadedMailbox.a(SourceFile:123) ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at ~[spigot-1.15.2.jar:git-Spigot-800b93f-8160e29]
    at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source) ~[?:1.8.0_241]
    at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) ~[?:1.8.0_241]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) ~[?:1.8.0_241]
    at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) ~[?:1.8.0_241]
    at Source) ~[?:1.8.0_241]
  15. Hi. Seems like the custom world generator broke in 1.15. Disable "empty-arenas-world" in the config. Although, I'd still highly recommend not using 1.15 on a practice server if possible. Anyway, if you have any problems you can contact me on discord: Toppe#4670
  16. Can you add an option to limit players going out of arena borders?
  17. Hi. There's "storm-wall-outside-arenas: true/false" in the config. They will start taking damage but won't prevent them though. I'll add option to prevent building outside the arenas if that helps
  18. That would be great, thanks.
  19. If you want to try it pm me on discord: Toppe#4670