❌☢️ NoMobLag ☢️❌| Entity Farm Limiter - Spawner Nerf, Mob Freezing & More 2.2.1

Dynamic mob spawn limit based on server TPS

  1. Zenya4
    Native Minecraft Version:
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    Source Code:
    Zenya4 (Lead Dev)
    [​IMG] [​IMG] [​IMG]

    NoMobLag dynamically reduces lag from entity tick based on the current server TPS. It serves as an all-in-one replacement for many mob-management plugins, making it extremely useful for large servers with multiple player-built mob farms that lag the server.


    Code (Text):
    # Config wiki and help can be found at https://gitlab.com/Zenya4/no-mob-lag/-/blob/master/core/src/main/resources/config.yml
    # For internal reference only, do not change the config version
    config-version: 7

    # Settings related to global mob spawning on the server
      # Chance to spawn mobs (percentage) at a specific TPS
      # Do NOT remove specific TPS values or the plugin will break
      # To disable this feature, simply set all values to "100"
        20: 100
        19: 80
        18: 65
        17: 50
        16: 35
        15: 25
        14: 15
        13: 5
        12: 3
        11: 1
        10: 0
        9: 0
        8: 0
        7: 0
        6: 0
        5: 0
        4: 0
        3: 0
        2: 0
        1: 0
        0: 0
      # Chance to spawn mobs (percentage) above a specified playercount. The final spawn chance is this percentage multiplied with "spawn-chance-at-tps"
      # For example, with the default config if the TPS is 18 (50%) and the playercount is 70 players (80%), the final mob spawn chance will be (50*80)/100 = 40%
      # You can add more specific playercount values and the one nearest to the current playercount will be used
      # To disable this feature, simply set all values to "100"
        # 50 players and below
        50: 100
        # 51 to 70 players
        51: 90
        # 71 to 100 players
        71: 80
        # 101 players and above
        101: 75
      # Mobs spawned from these SpawnReasons will be blocked based on "spawn-chance-at-tps" and "spawn-chance-at-playercount"
      # A full list of SpawnReasons can be found at https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/CreatureSpawnEvent.SpawnReason.html
      # It is recommended to use this default list as these spawn reasons are usually the performance-heavy ones
        - BREEDING
        - CUSTOM
        - DEFAULT
        - DROWNED
        - EGG
        - NATURAL
        - PATROL
        - RAID
        - SPAWNER

    # Additional settings to COMPLETELY block certain mob-spawn mechanisms which are extremely bad for server performance
      # These settings will only be applied if TPS falls below this value
      # If you want these settings to be applied all the time, set it to 20
      tps-treshold: 18
      # Completely stop mob breeding from taking place when TPS is low
      disable-breeding: true
      # Completely stop pillager raids from occuring when TPS is low
      disable-raiding: true
      # Settings to block farms which spawn large numbers of mobs when TPS is low
        # Block mob spawner farms completely
        # Usually only applicable to servers which allow spawner mining and relocation through plugins like SilkSpawners
        block-spawner-farm: true
        # Block farms which utilise the nether portal spawn-mechanic to transport large numbers of pigmen or drowned between dimensions
        block-portal-farm: true
        # Block the pigman-reinforcement mechanic to quickly farm for additional pigmen
        block-pigman-farm: true
        # Block large end farms which use endermite to aggro endermen to fall into a farming pit
        block-enderman-farm: true

    # Settings relating to mob spawners
      # Whether or not to enable the spawner limitations
      # Set to "false" for vanilla spawner behaviour
      enabled: true
      # Minimum distance between mob spawners
      # This setting only apply to newly-placed spawners after NoMobLag is installed
      # Setting this to a large value may cause lag when spawners are placed as the plugin has to scan a large area for existing spawners
      minimum-spawner-distance: 6
      # Maximum distance a player can be away from the spawner for it to be activated
      activation-range: 8
      # Maximum number of mobs a spawner can spawn every minute
      max-mobs-per-minute: 10
      # Time in seconds before mobs spawned from mob spawners despawn
      # Set this as -1 to disable automatic despawning
      mob-despawn-rate: 30

    # Settings related to entity interaction and collision
    # These settings only apply to newly-spawned mobs after NoMobLag is installed
      # Whether or not mob collisions should be completely disabled
      # NOTE: This feature is known to introduce certain bugs like mobs not being able to ride boats and projectiles sometimes not hitting mobs
      # Unless you REALLY need the option to only disable collision for some mobs, you should use "max-entity-collisions" from spigot.yml instead
      # https://www.spigotmc.org/wiki/spigot-configuration/
      disable-mob-collision: false
      # The following mobs in the list will have collision physics no matter what
      # A full list of EntityTypes can be found at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
        - VILLAGER

    # Settings relating to mob-freezing
    # Frozen mobs will have no AI and will not be able to move or interact until unfrozen
    # This immensely reduces load on the server as mob pathfinding can be expensive to calculate by the server
      # Whether or not to enable mob-freezing (disable AI)
      # Setting this to false will disable this entire part of the config
      enable-freezing: true
      # Freeze a mob after it has been spawned for x seconds
      # It is best to keep this value nonzero to prevent normal mob farms from breaking completely
      # Set this as -1 to disable automatic freezing
      disable-ai-after: 60
      # Whether or not mobs should be unfrozen when damaged or interacted upon
      # It is highly recommended to keep this true to prevent many vanilla features from breaking
      enable-ai-on-interact: true
      # Whether or not mobs should be unfrozen temporarily until "disable-ai-after" seconds when a chunk is loaded again
      # It is also strongly advisable to keep this true to make mobs look more "normal" in freshly loaded chunks
      enable-ai-on-chunk-load: true
      # The following mobs in the list will not be frozen no matter what
      # A full list of EntityTypes can be found at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
        - ENDER_DRAGON
        - WITHER
      # All entities with the following metadata/NBT tags will never regain AI
      # This can be useful for compatibility with villager shop plugins (to prevent them from moving)
        - "shopkeeper"
        - "villagershop"

    [​IMG] [​IMG]

    Official Sponsor
    SoulNode - Cheap & reliable servers starting from $1/GB. Use code ZENYA for 10%-off your first purchase

Recent Reviews

  1. RuffNeck
    Version: 2.2.1
    It's a wonderful plugin that greatly avoids server lag in general, and is TPS based to improve player consistency and is at least 17 TPS (which is still a nice amount)
    1. Zenya4
      Author's Response
      Thank you for the positive review! I’m glad that this plugin has helped your server
  2. RuffNeck
    Version: 2.2.0
    You have made an excellent plugin! I am very grateful for the excellent work you did! a TPS-based plugin is excellent as it greatly improves the consistency of the server experience, thanks so much for saving my server from extreme lag caused by entities!
    1. Zenya4
      Author's Response
      Thanks for the positive review! I’m glad that NoMobLag has helped your server
  3. ZikiPiki
    Version: 2.2.0
    When I installed this plugin I was not sure if it was removing lag and improving tps and when I was looking at mobs sometimes they would stop moving and start like flinging into the air and going super speed so I removed this plugin from my server but then, THEN all mobs stopped moving like all mobs named and any other that where present when this plugin was on the server couldn't move anymore but when new mobs spawned they worked normal just these that were there when the plugin was added to the server.
    1. Zenya4
      Author's Response
      Hi there ZikiPiki, mob freezing a feature of NoMobLag to reduce server load in terms of calculating entity AI. If you dislike this feature, it can be disabled in the config. I highly recommend that you join our support discord listed on the plugin page instead of leaving a “bug report” review as I’ll be better able to communicate with and help you on my official support channels
  4. devesh421
    Version: 2.2.0
    can u add spawn limit of mobs also my server is very laggy but its no more laggy now
    1. Zenya4
      Author's Response
      Thanks for the positive review! For spawn limits, those can be managed in spigot.yml and bukkit.yml
  5. AHiXilTOr
    Version: 2.1.9
    freezing does not work correctly when I am in a crowd of 5-10 mobs they freeze and freeze off only after leaving for 5-10 blocks(20 tps)
    1. Zenya4
      Author's Response
      Hi AHiXilTOr, thanks for reporting the problem. Could you join my support discord at https://discord.gg/KGuaxpM and provide more details there so that I can troubleshoot the issue?
  6. WTMTW
    Version: 2.1.9
    Best plugin, this plugin is configurable and help my server remove LAG.
    1. Zenya4
      Author's Response
      Thank you for the positive review! I'm glad it managed to help with your server lag
  7. Ignace
    Version: 2.1.9
    Excellent plugin. This really improved my server. I got more stable TPS and protection for grinders.
    1. Zenya4
      Author's Response
      Thank you for the positive review! I'm glad it managed to help with your server lag
  8. ChiboYen
    Version: 2.1.4
    Excellent plugin, the developer is responsive in their discord to any issues that are brought up and pushes out quick and prompt fixes/updates to address any bugs.
    1. Zenya4
      Author's Response
      Thank you for the positive review!
  9. actester1235
    Version: 1.1.3
    Useful and I love how everything is fully customizable so i really recommend this.
    1. Zenya4
      Author's Response
      Thanks for the positive review!
  10. Reflxction
    Version: 1.1.3
    Excellent and stable plugin, does exactly what it is expected to. Had a noticeable impact in reducing the lag. Developer is cool, helpful and friendly. 100% recommended :)
    1. Zenya4
      Author's Response
      Thanks for the positive review!