NeaCommand is a command whitelist and tab-completion filtering plugin for Paper, Purpur, and Folia servers. It integrates with LuckPerms to resolve permissions and group inheritance without duplicate command configurations.
The plugin intercepts command and tab-completion packets directly, evaluating LuckPerms group inheritance and restricting unauthorized command visibility and execution.
- Command Whitelisting: Restricts command execution based on configured LuckPerms groups.
- Inheritance Resolution: Inherits allowed commands across LuckPerms group hierarchies without duplicate definitions.
- Tab-Completion Filtering: Filters tab-completion packets to hide unauthorized commands, namespace prefixes (
minecraft:,essentials:,worldguard:), and discovery commands (/version,/plugins,/about). - World-Specific Whitelisting: Restrict commands to specific worlds using
command@worldsyntax (e.g./fly@hub). - Security Audit Logging: Asynchronous security logging to
logs/blocked_commands.logrecording player, UUID, world, and unauthorized attempts. - Staff Notifications: Sends MiniMessage alerts when a player attempts an unauthorized command, with clickable
[ALLOW]actions to add the command to the player's group. - Permission Resolution: Resolves underlying plugin permissions and provides clickable
[ADD PERMISSION]suggestions for LuckPerms. - Folia & Paper Support: Uses
SchedulerUtilsfor thread-safe task scheduling across Paper, Purpur, and Folia regional tick architectures. - Localization: Includes English (
en) and Spanish (es) translations with MiniMessage support. - bStats Telemetry: Anonymous usage metrics (Plugin ID:
34681).
| Command | Permission | Description |
|---|---|---|
/nc add <group> <command> [hidden] |
neacommand.admin |
Adds an allowed command to a group. Set hidden to true to allow usage while hiding it from tab-completion. |
/nc remove <group> <command> |
neacommand.admin |
Removes an allowed command from a group. |
/nc list <group> |
neacommand.admin |
Displays all currently whitelisted commands for the specified group. |
/nc check <player> |
neacommand.admin |
Inspects a player's primary group, inherited groups, allowed command count, and bypass state. |
/nc sync |
neacommand.admin |
Synchronizes configured groups with active LuckPerms groups. |
/nc reload |
neacommand.admin |
Reloads config.yml, groups.yml, and language files without restarting. |
/nc help |
neacommand.admin |
Displays the command guide and subcommands list. |
Aliases: /neacommand, /nc, /nea
| Permission | Default | Description |
|---|---|---|
neacommand.admin |
op |
Grants access to administrative commands (/nc reload, /nc add, /nc check, etc.). |
neacommand.admin.notify |
op |
Receives clickable alerts when players try to execute blocked commands. |
neacommand.bypass |
op |
Completely bypasses the command whitelist and tab-completion filtering. |
# ----------------------------------------------------------------------
# NeaCommand - Main Configuration
# Advanced Command Whitelist & Tab-Completion Blocker powered by LuckPerms
# ----------------------------------------------------------------------
# Selected language file located inside the 'lang/' directory.
# Available out of the box: 'en' (English), 'es' (Spanish).
language: "en"
# Enable debug mode to log command verification and group lookups in console.
debug-mode: false
# If true, server operators (OP) automatically bypass all whitelist rules.
bypass-op: true
# Enable anonymous metrics collection via bStats.
metrics: true
# Commands that are ALWAYS accessible to all players, regardless of their group.
# Essential for authentication plugins, basic lobby commands, or aliases.
# Do NOT include the leading '/' character.
global-whitelist:
- "login"
- "register"
- "l"
- "reg"
- "neacommand"
- "nc"
- "nea"# ----------------------------------------------------------------------
# NeaCommand - Groups Configuration
# Command whitelist mapped directly to LuckPerms group names.
#
# Syntax Guide:
# - "/command" : Player can run this command and it appears in Tab-Complete.
# - "/command:hidden" : Player can run this command, but it remains HIDDEN from Tab-Complete.
# - "/warp spawn" : Allows execution of that specific subcommand.
# - "*" : Grants access to all commands (bypass).
#
# Note: LuckPerms inheritance is automatically applied!
# For example, if 'vip' inherits from 'default' in LuckPerms,
# VIP players automatically gain access to all commands in 'default'.
# ----------------------------------------------------------------------
groups:
default:
commands:
- "/help"
- "/rules"
- "/spawn"
- "/msg"
- "/r"
- "/tpa"
- "/tpaccept"
- "/tpdeny"
- "/pay"
- "/balance"
- "/baltop"
vip:
commands:
- "/fly"
- "/feed"
- "/hat"
- "/workbench"
staff:
commands:
- "/kick"
- "/mute"
- "/ban"
- "/warn"
- "/vanish:hidden"- Platform: Paper, Purpur, or Folia (
1.20-1.21.4+) - Java:
Java 21or newer - Dependencies: LuckPerms (
v5.4+)
Requires Java 21 and Maven:
git clone https://github.com/NeaCol/NeaCommand.git
cd NeaCommand
mvn clean packageThe resulting JAR will be located in the target/ directory.
- Author: NeaCol
- Modrinth: neacommand
- GitHub: NeaCol/NeaCommand
- Issues: Bug Tracker