▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/PluginGuard
PluginGuard

PluginGuard

Protect your server by hiding installed plugins from users (and more)

Оцените первым
197
2

PluginGuard

Stop players from fingerprinting your server's plugin list.

PluginGuard is a lightweight, drop-in protection layer that intercepts the commands and protocol channels players use to discover which plugins you're running — /plugins, /pl, /ver, bukkit: and minecraft: prefixed commands, tab-completion probing, and server-list pings — and replaces the response with whatever you want them to see.


Why it exists

Knowing which plugins a server runs is the first step in attacking it. A player who knows you run a specific economy plugin, an outdated permissions plugin, or a known-vulnerable utility can target known CVEs or exploit-known quirks. Default Bukkit gives that information away to anyone who types /pl.

PluginGuard closes every public surface that leaks plugin presence.


Features

  • Hide Mode — choose how the server responds to probes:
    • unknown-command — indistinguishable from a typo (most realistic)
    • emptyPlugins (0):
    • fake-list — return a list of plausible-looking decoy plugins
    • permission-denied — pretend the player lacks permission
  • Plugin spoofing — return any configurable list of fake plugins. Make a hardened production server look like vanilla Paper with two utility plugins.
  • bukkit: / minecraft: prefix protection — block or redirect prefixed-command probing.
  • Tab-completion hardening — strip plugin commands from /[tab] so they can't be discovered by autocomplete.
  • Common-plugin command blocklist/essentials, /lp, /we, /co, /mv, /dynmap, /gp, and friends all return "Unknown command" instead of "You don't have permission" — denying the existence/permission distinction attackers use to enumerate.
  • Server-brand spoofing — return vanilla (or anything you configure) in MOTD / server-list ping protocol responses.
  • Aggressive mode — block every plugin command by default; only players with the explicit <command>.use permission can use them.
  • Probe logging & pattern detection — record probe attempts and alert online admins when a player crosses a weighted-score threshold within a sliding window. Categories are weighted (high / medium / low) so a single /help does nothing but a bukkit:-prefixed probe plus two enumeration attempts will trip the detector.
  • Honeypot commands — list fake commands that no legitimate user would ever type. A single hit on a honeypot is enough to fire an alert — by definition, near-zero false positive rate.
  • Bypass permission — staff with pluginguard.bypass see the real server, untouched, and never trigger detection.
  • Hot reload/pluginguard reload swaps the live config atomically.

Compatibility

PropertyValue
Minecraft1.21.x and 26.x.x
Java21+ (1.21.x) / 25+ (26.x.x)
Server softwarePaper, Purpur, Pufferfish, Folia, Leaf, and other Paper forks
Spigot / CraftBukkitLoads cleanly; server-brand spoofing is disabled (Paper-only API)
FoliaSupported — declared via folia-supported: true, fully lock-free, no scheduler use

Performance

PluginGuard is built to be invisible to your TPS.

  • Listener-driven — no background threads. Schedulers are only touched on the cold path: file appends to probes.log and admin alerts are dispatched off the calling region thread via Paper / Folia's async and global-region schedulers, so the event handlers themselves stay cheap.
  • Lock-free hot path — config is held in an immutable snapshot behind a @Volatile reference; readers on every Folia region thread access it without contention.
  • Minimal per-command work — the command-preprocess listener slices the base command token by index and lowercases only that, so per-event CPU is bounded by the command name length, not the message length.
  • No reflection at runtime — only at startup, to detect Paper vs. Spigot.

Configuration

The full config.yml ships with inline comments explaining every option. A taste:

# How to respond when a player tries to enumerate plugins.
hide-mode: "unknown-command"

# Shown when hide-mode is "fake-list".
fake-plugins:
  - "ServerCore"
  - "WorldManager"
  - "CoreProtect"
  - "EveryoneChat"

bypass-permission: "pluginguard.bypass"

protected-commands: [pl, plugins, ver, version, "?", help, about, icanhasbukkit]
block-bukkit-commands: true
redirect-bukkit-commands: false

hide-tab-completion: true
block-unknown-commands: true
block-common-plugin-commands: true

hide-server-brand: true
fake-server-brand: "vanilla"

aggressive-mode: false

# Probe logging & detection
logging:
  log-to-file: false
  log-individual-probes: false
  detection:
    enabled: true
    score-threshold: 5
    window-seconds: 60
    alert-cooldown-seconds: 300
    notify-permission: "pluginguard.alerts"

# Honeypot commands — fake commands no legitimate user would type.
# A single hit fires an immediate alert.
honeypot-commands:
  - "staffchat"
  - "adminchat"
  - "modchat"
  - "opme"

Probe-detector weights

CategoryWeightExamples
Honeypot5Anything you list under honeypot-commands
High3bukkit: / minecraft: prefixed probes, /icanhasbukkit
Medium2/pl, /plugins, /ver, /version, /about
Low1/lp, /we, /co, /mv, /dynmap, ...

/help and /? are deliberately never tracked — too commonly legitimate to be useful signal.


Commands

CommandDescriptionPermission
/pluginguard reloadAtomically reload the configurationpluginguard.reload (default: op)
/pluginguard statusShow current protection statuspluginguard.reload (default: op)

Alias: /pg


Permissions

NodeDescriptionDefault
pluginguard.bypassSee the real plugin list and bypass all hidingop
pluginguard.reloadReload PluginGuard configurationop
pluginguard.alertsReceive in-game probe-detector alertsop

Installation

  1. Drop PluginGuard-<version>.jar into your plugins/ folder.
  2. Start the server once to generate plugins/PluginGuard/config.yml.
  3. Edit the config to taste and run /pluginguard reload.

That's it. No external dependencies. No database. No web dashboard.


Source & support

  • Source code & issues: https://github.com/darkstarworks/PluginGuard
  • Donate: https://ko-fi.com/darkstarworks

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Поддерживаемые окружения

Сервер

Ссылки


Детали

Лицензия:
Опубликован:7 месяцев назад
Обновлён:2 недели назад
Главная