{"id":19503143,"url":"https://github.com/minebench/moblimit","last_synced_at":"2025-04-26T00:32:56.134Z","repository":{"id":54624859,"uuid":"294228943","full_name":"Minebench/MobLimit","owner":"Minebench","description":"Simple Minebench Spigot \u0026 Paper plugin made by Phoenix616 to limit mob spawning and entity placement depending on near entity count and spawn reason. FarmLimiter and FarmControl alternative.","archived":false,"fork":false,"pushed_at":"2023-04-06T13:02:34.000Z","size":61,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-19T13:32:08.251Z","etag":null,"topics":["java","minecraft","minecraft-plugin","paper-plugin"],"latest_commit_sha":null,"homepage":"https://ci.minebench.de/job/MobLimit/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Minebench.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-09T21:03:06.000Z","updated_at":"2023-08-21T01:55:17.000Z","dependencies_parsed_at":"2022-08-13T21:51:01.120Z","dependency_job_id":null,"html_url":"https://github.com/Minebench/MobLimit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FMobLimit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FMobLimit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FMobLimit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minebench%2FMobLimit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Minebench","download_url":"https://codeload.github.com/Minebench/MobLimit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224020275,"owners_count":17242328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","minecraft","minecraft-plugin","paper-plugin"],"created_at":"2024-11-10T22:19:47.819Z","updated_at":"2024-11-10T22:19:49.843Z","avatar_url":"https://github.com/Minebench.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MobLimit\n\nSimple Spigot and Paper plugin to limit mob spawning and entity placement depending on the amount of entities around or in a chunk.\n\nCan also remove the AI of mobs while spawning (make them \"dumb\") while trying to still keep certain mob farm types working.\n\n## Commands\nCommand                             | Permission                | Description \n------------------------------------|---------------------------|-------------------------------------------------\n`/moblimit`                         | `moblimit.command`        | Main plugin command. Get current config.\n`/moblimit reload`                  | `moblimit.command.reload` | Reload the plugin config\n`/moblimit set chunk \u003camount\u003e`      | `moblimit.command.set`    | Set chunk amount\n`/moblimit set global \u003camount\u003e`     | `moblimit.command.set`    | Set global amount\n`/moblimit set breeding \u003camount\u003e`   | `moblimit.command.set`    | Set breeding chunk limit\n`/moblimit set purge true/false`    | `moblimit.command.set`    | Set whether or not to purge mobs on chunk load\n\n\n## Config\n```yaml\n# Limit of entities in a chunk\n# -1 disables\nchunk: -1\n# Amount of entities that can exist in a certain world at the same time\n# -1 disables\nglobal: -1\n# You can add more reasons here\nreasons:\n  # The spawn reason\n  breeding:\n    # Limit if total entity count (not only the spawned mob) in chunk is above this value\n    chunklimit: 50\n  natural:\n    # The type of the entity that is spawning\n    pillager:\n      # How many of that entity can be in the radius\n      count: 4\n      # The radius to check for\n      radius: 16\n  nether_portal:\n    pig_zombie:\n      count: 50\n      radius: 64\n      # Whether or not to disable the AI\n      dumb: false\n  # Spawn reasons don't need an entity type:\n  spawner:\n    count: 20\n    radius: 50\n  village_defense:\n    count: 1\n    radius: 16\n```\n\n## Why no TPS settings?\nUnlike other popular limiter plugins this plugin does not have option to specify limits depending on the ticks per second\nthat the server is able to run it. This has multiple reasons:\n\n- The main one being that arbitrarily limiting mobs to a certain amount just because the ticks go down doesn't actually\n  solve the underlying problem (too many mobs being spawned to begin with) and you should adjust your spawning ticks as\n  well as radius max counts to a value that results in stable gameplay in the first place without tick loss as otherwise\n  the server will bounce between spawning too many mobs to not spawning them at all again and again resulting in even less\n  stable TPS.\n- Arbitrarily limiting spawn rates based on ticks only hides the problem and makes it more difficult for you to figure out\n  what actually causes the state which causes your server to lag to begin with. (Most likely too high mob spawning ticks)\n- TPS is a terrible metric. You will not notice that your server is unstable if it still barily manages 20 ticks per second.\n  MSPT (Milliseconds per tick) is the better metric as it tells you how long one tick actually took to process (up to 50ms\n  per tick results in 20 ticks per second) which makes it easier to notice unstable behaviour fast.\n- TL;DR: If your server doesn't run at 20tps then you should fix that by adjusting your server settings.\n\n## Downloads\nThis plugin can currently be downloaded from the [Minebench.de Jenkins server](https://ci.minebench.de/job/MobLimit/).\n\n## License\nThis plugin is licensed under [GPLv3](https://github.com/Minebench/MobLimit/blob/master/LICENSE).\n\n```\n MobLimit\n Copyright (c) 2020 Max Lee aka Phoenix616 (max@themoep.de)\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n GNU General Public License for more details.\n\n You should have received a copy of the GNU General Public License\n along with this program.  If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminebench%2Fmoblimit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminebench%2Fmoblimit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminebench%2Fmoblimit/lists"}