GithubHelp home page GithubHelp logo

froobynooby / anti-villager-lag Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 15.0 58 KB

Bukkit plugin for reducing performance impact of villager pathfinding.

License: GNU General Public License v3.0

Java 100.00%

anti-villager-lag's Issues

1.17

Please add 1.17 ty

Plugin feature request

Hope i placed it in the right spot.

i have problems with a few players having 100+ villagers when they are alone np it runs fine but when others join and add their handfull it starts to crash down tps to 10-12 with only 7 players.

My request would be a toggle that i can set

  1. normal operation as now, with fixed time set in config

  2. TPS dependent...
    if tps is under tps limit in config it will add xxx (config?) per second until it can reach the tps
    when its above reached tps after xx min (config) it will reduce the timer delay with xx sec (config)

maybe even a kill ai option at TPS Bottom to remove all AI from all villagers until above criticalTPS (config)

thank you for reading even if not possible :)

Villager Optimiser sptting errors into console every couple of minutes

Hi, I've recently updated to 1.16.4 and updated the plugins and am getting this error every few minutes:

[19:46:03 WARN]: [VillagerOptimiser] Task #91 for VillagerOptimiser v1.1.5 generated an exception
java.lang.NullPointerException: null
        at org.bukkit.craftbukkit.v1_16_R3.entity.memory.CraftMemoryMapper.fromNms(CraftMemoryMapper.java:46) ~[patched_1.16.4.jar:git-Paper-261]
        at org.bukkit.craftbukkit.v1_16_R3.entity.memory.CraftMemoryMapper.fromNms(CraftMemoryMapper.java:17) ~[patched_1.16.4.jar:git-Paper-261]
        at java.util.Optional.map(Optional.java:215) ~[?:1.8.0_262]
        at org.bukkit.craftbukkit.v1_16_R3.entity.CraftLivingEntity.getMemory(CraftLivingEntity.java:714) ~[patched_1.16.4.jar:git-Paper-261]
        at com.froobworld.avl.utils.ActivityUtils.clearPlaceholderMemories(ActivityUtils.java:173) ~[?:?]
        at com.froobworld.avl.tasks.NormalActivityTask.run(NormalActivityTask.java:19) ~[?:?]
        at com.froobworld.avl.tasks.MainTask.run(MainTask.java:24) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:99) ~[patched_1.16.4.jar:git-Paper-261]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.4.jar:git-Paper-261]
        at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1296) ~[patched_1.16.4.jar:git-Paper-261]
        at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:377) ~[patched_1.16.4.jar:git-Paper-261]
        at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1211) ~[patched_1.16.4.jar:git-Paper-261]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:999) ~[patched_1.16.4.jar:git-Paper-261]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-261]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]

I'm not sure what is going on.

Plugin does not work.

Hello. the plugin does not start..
Plugins (20): Chunky, ChunkyMap*, Citizens, dynmap*, Essentials, HolographicDisplays, LuckPerms, Multiverse-Core, Multiverse-Inventories, PixelPrinter, ServerRestorer, Shopkeepers, Skent*, SkQuery, Skript, TuSKe*, Vault, VillagerOptimiser, WorldEdit, WorldGuard

This server is running Paper version git-Paper-457 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
[07:23:41 INFO]: Checking version, please wait...
[07:23:41 INFO]: Previous version: git-Paper-444 (MC: 1.16.5)
[07:23:41 INFO]: You are running the latest version
VillagerOptimiser version 1.1.5

[07:23:48 INFO]: Limits frequency of expensive pathfinding operations of villagers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.