Spigot Villager Optimiser [1.14.2-1.16.5] 1.1.5

Reduces performance impact of villagers in 1.14.2.

  1. froobynooby submitted a new resource:

    Anti-Villager Lag - SAML [1.14] - Simple add-on to SAML for further reducing lag from villagers.

    Read more about this resource...
     
  2. oof, ouch!
    The addon won't detect the latest SAML plugin and failed to activate it :(
     
  3. You're using SAML version 1.3.4 and your server is 1.14.x?
     
  4. yus, and its paperspigot
     
  5. Well I don't know why that would be happening, but I'm going to work on making this its own separate plugin.
     
  6. good luck bro
     
  7. I'm not sure if it would be possible for this to support 1.13 because it fixes a problem that, as far as I know, is only present in 1.14. It more or less brings villagers in 1.14 more in-line with villagers in 1.13 as far as performance goes. Are villagers causing performance issues in 1.13? If they are I could look into it, but it would probably have to be a separate plugin because their whole behaviour is completely different in 1.14.

    SAML should be fully working with 1.13.x though, I think the only feature that doesn't work is the 'only-unfreeze-tagged' option.
     
    #8 froobynooby, Jun 24, 2019
    Last edited: Jun 24, 2019
    • Like Like x 1
  8. For some reason this plugin didnt load for me. Can you help me?
    24.06 17:02:55 [Server] ERROR Could not load 'plugins/VillagerOptimiser 1.1.0.jar' in folder 'plugins'
    24.06 17:02:55 [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.IllegalArgumentException: Plugin already initialized!
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:336) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:256) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.craftbukkit.v1_14_R1.CraftServer.loadPlugins(CraftServer.java:352) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at net.minecraft.server.v1_14_R1.DedicatedServer.init(DedicatedServer.java:216) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at net.minecraft.server.v1_14_R1.MinecraftServer.run(MinecraftServer.java:856) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
    24.06 17:02:55 [Server] INFO Caused by: java.lang.IllegalArgumentException: Plugin already initialized!
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:171) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:52) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at com.froobworld.avl.Avl.<init>(Avl.java:11) ~[?:?]
    24.06 17:02:55 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:75) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:134) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO ... 6 more
    24.06 17:02:55 [Server] INFO Caused by: java.lang.IllegalStateException: Initial initialization
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:174) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:52) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at com.froobworld.avl.Avl.<init>(Avl.java:11) ~[?:?]
    24.06 17:02:55 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_171]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:75) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:134) ~[patched_1.14.2.jar:git-Paper-105]
    24.06 17:02:55 [Server] INFO ... 6 more
     
  9. @froobynooby I'm using 1.14.2 and somehow the plugin isn't enabling?

    24.06 18:32:36 [Server] Server thread/INFO Enabling VillagerOptimiser v1.1.0
    24.06 18:32:36 [Server] Server thread/WARN This plugin is not compatible with the version of Minecraft you are using.
    24.06 18:32:36 [Server] Server thread/INFO Disabling VillagerOptimiser v1.1.0
     
  10. This might be happening if you still have 'AVL 1.0.0.jar' installed in your plugins directory. Even though they have different names, they're technically still the same plugin.

    Could I see the output of /version on your server? The plugin requires a very recent build of 1.14.2 to be able to work. If you try updating to the most recent 1.14.2 build, and it still doesn't work, let me know.
     
  11. İf you don't use this plugin, you will have problems like this!


    Thank you to the plugin maker.
     
  12. 28.06 08:40:52 [Server] Server thread/WARN This plugin is not compatible with the version of Minecraft you are using.
    28.06 08:40:52 [Server] Server thread/INFO Disabling VillagerOptimiser v1.1.0
    my server using spigot 1.14.2
     
  13. Can I see the output of /version on your server? You might not be using a recent enough build of spigot. If it says you're any more than about 15 versions behind then you will need to update for the plugin to work
     
  14. Made a short video showing off your plugin and telling others to use it. Great work! Best of luck with it in the future. :)

     
    • Like Like x 1
  15. Hey, great video! Would you mind if I put it on the main resource page?
     
    • Like Like x 1
  16. By all means! If it helps you I'd be honored that my video is shared. :)
     
    • Winner Winner x 1
  17. how about it with your plugin in the 1.14.4 because the villager were fixed bit with the performance
     
  18. It's likely that this plugin will be more or less redundant when 1.14.4 is released. It may still be able to give some slight performance improvement, but certainly not as much as before.
     
    • Agree Agree x 1