Spigot WorldEditSelectionVisualizer [1.7.10-1.17] 2.1.0

Visualize your WorldEdit selection with particles and without any mod.

  1. Hi, I would definitely need more information to be able to comment on this. For example, did you upgrade any other plugin at the same time? Did you try to disable everything else but WESW and test? Are you using 1.10 or 1.11 server version? Do you use ProtocolLib on the server?

    As for the functionality, it didn't change since Mar 07, 2015, so if I had to guess, I would say this is most probably caused by some other set of variables that came to play after you upgraded.
     
  2. Currently on 1.10. Using ProtocolLib, however I haven't downloaded the 1.11 ProtocolLib update yet. And No, I only updated your plugin. It's only when making a selection and going near the particles when it laggs.
     
  3. Could it be client-side lag?

    Try executing tps command in your console before and after making the selection and going near it to see if the server TPS is still the same. TPS change would tell you whether it's the server that lags. If TPS is comparable before and after you make the selection, then it's the client that lags.

    In that case, maybe the selection is too big for the client to process and show all the particles at once? Or you could try disabling ProtocolLib to see if that helps (which limits the distance from which you can see particles, thus displaying fewer particles on the client).
     
  4. It is client side, because it's only the person using it. However, it effects everyone. Big or small selection.
     
  5. In such case, there isn't much I could do here with the plugin itself. This is the first report of such a thing as well, so this is all I can think of that I would try myself:

    1. increase memory for Java when running Minecraft
    2. change particle types to something different to see if that makes difference
    3. disable ProtocolLib
     
  6. So just done some test,

    Works fine on my Survival and creative servers, just not my Build server. Probably something not behaving. Sorry to bother you.
     
  7. No worries, hope you'll be able to trace the problem. Have fun!
     
  8. Code (Text):
    29.05 14:36:10 [Server] WARN [WorldEditSelectionVisualizer] Task #89 for WorldEditSelectionVisualizer v1.4.5 generated an exception
    29.05 14:36:10 [Server] INFO com.darkblade12.particleeffect.ParticleEffect$ParticlePacket$VersionIncompatibleException: Your current bukkit version seems to be incompatible with this library
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1416) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.<init>(ParticleEffect.java:1347) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:602) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:621) ~[?:?]
    29.05 14:36:10 [Multicraft] Skipped 66 lines due to rate limit (30/s)
    29.05 14:36:10 [Server] WARN [WorldEditSelectionVisualizer] Task #89 for WorldEditSelectionVisualizer v1.4.5 generated an exception
    29.05 14:36:10 [Server] INFO com.darkblade12.particleeffect.ParticleEffect$ParticlePacket$VersionIncompatibleException: Your current bukkit version seems to be incompatible with this library
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1416) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.<init>(ParticleEffect.java:1347) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:602) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:621) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.rojel.wesv.ParticleSender$1.run(ParticleSender.java:77) ~[?:?]
    29.05 14:36:10 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:829) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    29.05 14:36:10 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_11_R1.Packet63WorldParticles
    29.05 14:36:10 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:92) ~[patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:10 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_131]
    29.05 14:36:10 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_131]
    29.05 14:36:10 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]
    29.05 14:36:10 [Server] INFO at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_131]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ReflectionUtils$PackageType.getClass(ReflectionUtils.java:414) ~[?:?]
    29.05 14:36:10 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1410) ~[?:?]
    29.05 14:36:10 [Server] INFO ... 11 more
    29.05 14:36:11 [Server] WARN [WorldEditSelectionVisualizer] Task #89 for WorldEditSelectionVisualizer v1.4.5 generated an exception
    29.05 14:36:11 [Server] INFO com.darkblade12.particleeffect.ParticleEffect$ParticlePacket$VersionIncompatibleException: Your current bukkit version seems to be incompatible with this library
    29.05 14:36:11 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1416) ~[?:?]
    29.05 14:36:11 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.<init>(ParticleEffect.java:1347) ~[?:?]
    29.05 14:36:11 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:602) ~[?:?]
    29.05 14:36:11 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:621) ~[?:?]
    29.05 14:36:11 [Multicraft] Skipped 110 lines due to rate limit (30/s)
    29.05 14:36:11 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]
    29.05 14:36:11 [Server] INFO at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_131]
    29.05 14:36:11 [Server] INFO at com.darkblade12.particleeffect.ReflectionUtils$PackageType.getClass(ReflectionUtils.java:414) ~[?:?]
    29.05 14:36:11 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1410) ~[?:?]
    29.05 14:36:11 [Server] INFO ... 11 more
    29.05 14:36:12 [Server] WARN [WorldEditSelectionVisualizer] Task #89 for WorldEditSelectionVisualizer v1.4.5 generated an exception
    29.05 14:36:12 [Server] INFO com.darkblade12.particleeffect.ParticleEffect$ParticlePacket$VersionIncompatibleException: Your current bukkit version seems to be incompatible with this library
    29.05 14:36:12 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1416) ~[?:?]
    29.05 14:36:12 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.<init>(ParticleEffect.java:1347) ~[?:?]
    29.05 14:36:12 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:602) ~[?:?]
    29.05 14:36:12 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect.display(ParticleEffect.java:621) ~[?:?]
    29.05 14:36:12 [Server] INFO at com.rojel.wesv.ParticleSender$1.run(ParticleSender.java:77) ~[?:?]
    29.05 14:36:12 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:829) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661) [patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
    29.05 14:36:12 [Server] INFO Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_11_R1.Packet63WorldParticles
    29.05 14:36:12 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:92) ~[patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[patched_1.11.2.jar:git-Paper-1103]
    29.05 14:36:12 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_131]
    29.05 14:36:12 [Server] INFO at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_131]
    29.05 14:36:12 [Server] INFO at java.lang.Class.forName0(Native Method) ~[?:1.8.0_131]
    29.05 14:36:12 [Server] INFO at java.lang.Class.forName(Class.java:264) ~[?:1.8.0_131]
    29.05 14:36:12 [Server] INFO at com.darkblade12.particleeffect.ReflectionUtils$PackageType.getClass(ReflectionUtils.java:414) ~[?:?]
    29.05 14:36:12 [Server] INFO at com.darkblade12.particleeffect.ParticleEffect$ParticlePacket.initialize(ParticleEffect.java:1410) ~[?:?]
    29.05 14:36:12 [Server] INFO ... 11 more
     
  9. This does not happen to me with the latest 1.11 version - make sure you have the latest version by running a /version command in the console.
     
  10. can you please add few messagess to be translatable..like this one "The visualzer only works with selections up to size of x blocks" can you please make it that message translatable? <3
     
  11. Sure, there's only a few translation lines, so I'll add them to config in the next release for you.
     
  12. I have never seen the first three messages did I do something wrong in setup ?
     
  13. colors not working, but nevermind,its still awesome..thanks alot <3


    You must delete old config, restart server and let it regenerate new config..then you will have those messages
     
  14. If you mean you never seen them in game, then you just didn't encounter them yet. As for the config itself, it will be updated on server restart with all new messages. Once config is updated, stop the server, translate those messages, save your config and start the server again. Deleting old config is not necessary.
     
  15. not what I meant I knew to do that, after seeing the messages on top of config I never seen the top 3 in game is what I meant
     
    • Agree Agree x 1
  16. is there a command to enable and disable plugin?
     
  17. Sure, that would be /wesv