Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_N4BDDxB2.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
InControlMob - 墨喵 Minecraft 资源
InControlMob 图标

InControlMob

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/incontrolmob
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: bukkit paper spigot

标签: management mobs utility

资源介绍

Overview

InControlMob is a Spigot/Paper plugin for Minecraft 1.21 that gives server admins a powerful, rule‑driven system to control mob spawning, spawner behavior, summoned entities, loot, and experience. Rules are plain JSON files stored in config/incontrolmob/, hot‑reloadable, and validated on load so you can safely customize server behavior without code changes.


Key Features

  • Rule‑driven control for spawn, spawner, summon, loot, and experience events
  • JSON rules with schema validation and clear error reporting
  • Hot reload with /incontrolmob reload — no server restart required
  • Rich conditions: entity type, world, biome, light level, spawn reason, time of day, difficulty, nearby players, NBT match, WorldGuard region checks, and more
  • Powerful actions: allow/deny spawn, change health, set equipment, add potion effects, replace entity type, modify drops and XP, set entity flags (noGravity, invulnerable, glowing, persistent), velocity/passenger changes
  • Priority and control: rule priority, enabled flag, continueOnMatch option, and file order semantics
  • Safe and performant: asynchronous rule loading, atomic swap of rule sets, caching and indexing by entityType/spawnReason, debug logging controlled by config
  • Optional WorldGuard integration: region checks when WorldGuard is present; graceful degradation when absent
  • Admin tools: list rules, test rules, and export rules for sharing

Installation

  1. Place the compiled InControlMob.jar into your server plugins/ folder for Paper 1.21
  2. Start the server once to generate the config/incontrolmob/ folder and sample JSON files
  3. Edit the JSON files to define your rules
  4. Use /incontrolmob reload to apply changes instantly

Default config.yml

enabled: true
debug: false
default-action: allow
max-rule-load-time-ms: 5000
rule-cache-size: 1024

Commands

  • /incontrolmob reload — reload all JSON rules and report errors
  • /incontrolmob rules list — list loaded rules with id, priority, and enabled state
  • /incontrolmob rule test <ruleId> <entityType> — simulate rule evaluation at your location
  • /incontrolmob export — export current loaded rules to a single archive

Permissions

  • incontrolmob.reload — allow reload
  • incontrolmob.manage — manage rules and export
  • incontrolmob.test — run rule tests

Examples

  • Block pigs: add deny_pigs_global to spawn.json, reload, pigs will no longer spawn
  • Strong zombies: add strong_zombies_plains_night, reload, zombies in Plains at night spawn with 40 HP, iron sword, and speed effect
  • Spawner replacement: add a spawner.json rule to replace zombies with skeletons

Troubleshooting

  • Enable debug: true in config.yml for detailed logs
  • On reload, check console for schema validation errors; invalid rules are skipped and reported
  • If WorldGuard checks fail, confirm WorldGuard is installed and compatible
  • For performance, ensure rule-cache-size is reasonable and avoid overly broad rules

Credits

This plugin was inspired by the In Control! Mod.
InControlMob is an independent server‑side plugin built for Paper/Spigot, bringing similar rule‑based mob control features to multiplayer servers.


License

Released under the Creative Study Lab License. (MIT‑style permissive). See the License file for details.

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Switchy & Pufferfish Skills Compatibility

价格:0 墨喵币
下载量:0

查看详情
Even More Instruments!

价格:0 墨喵币
下载量:0

查看详情
No More Smithing - Craft Netherite

价格:0 墨喵币
下载量:0

查看详情
[Moonsu] Better, Beautiful and Optimized

价格:0 墨喵币
下载量:0

查看详情