NoMHPlugins Renewed
作者:rebot | 分类:模组
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
平台: paper
标签: management utility
NoMHPlugins
Automatically disables Minehut's bundled plugins — like MinehutCosmetics and MinehutFilter — the moment your server starts, with no panel access, no config editing on their end, and no restarts required to manage it.
Minehut installs a handful of its own plugins on every server by default, and there's often no reliable in-game toggle for them (and the panel toggle can be finicky or grayed out depending on your server's state). NoMHPlugins solves this the clean way: it calls Bukkit's own PluginManager#disablePlugin() — the exact same method the server itself uses when a plugin is unloaded normally. No reflection tricks, no event-cancelling hacks, no editing other plugins' files. It just tells the server "this plugin is off," the same way the server would do it itself.
Features
- Disables plugins automatically on startup — no need to run a command every time your server restarts.
- Fully configurable target list — defaults to
MinehutCosmeticsandMinehutFilter, but you can add or remove any plugin by name. - Runs after everything else has loaded — waits exactly one tick after startup, guaranteeing every other plugin (including the ones you're targeting) has already finished initializing before it acts.
- Live management, no restart needed — add new targets, re-run the disable pass, or check what's currently loaded, all from in-game or console.
- Safe by design — if a targeted plugin isn't installed or its name doesn't match, it's simply skipped and logged. Nothing else on your server is touched.
Commands
| Command | Description |
|---|---|
/nomh list |
Lists every plugin currently loaded on the server and whether it's enabled — use this to get the exact (case-sensitive) plugin name before targeting it. |
/nomh disable <pluginName> |
Adds a plugin to the permanent target list and disables it immediately. |
/nomh rerun |
Re-runs the disable pass for everything currently in the target list — handy if something got re-enabled without a restart. |
Permission: nomhplugins.admin (defaults to op).
Installation
- Drop
NoMHPlugins.jarinto your/pluginsfolder. - Restart your server (a
/reloadisn't enough — a full restart guarantees the correct plugin load order). - Check your console log for confirmation lines like
Disabled 'MinehutCosmetics'.
Configuration
The target list lives in config.yml and defaults to:
target-plugins:
- MinehutCosmetics
- MinehutFilter
Edit it directly and restart, or just use /nomh disable <name> to add a plugin on the fly — no restart needed for that.
Notes
- Plugin names are case-sensitive and must match exactly what Bukkit reports. Use
/nomh listinstead of guessing. - This disables the target plugin in memory for that server session — it doesn't delete or modify its files. If your host re-enables it on a future restart, NoMHPlugins will just quietly disable it again automatically every time it starts.
请登录后举报
暂无评论,抢个沙发吧~