Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
━━━━━━━━━━━━━━━━━━━━ PASTA'S COMMAND BLOCKER ━━━━━━━━━━━━━━━━━━━━
Overview
PastasCommandBlocker is a lightweight and highly configurable command filtering plugin designed to give server owners full control over which commands and subcommands players can use. It acts as an advanced command whitelist/blacklist system with support for permissions, custom messages, sounds, and fine-grained command rules.
The plugin is designed for survival, practice, and network servers that want to prevent abuse of sensitive commands while maintaining full configurability.
Prerequisites
Paper or compatible forks (1.20 - 1.21+ recommended)
Table of Contents
Features
Commands
Permission Nodes
Configuration
Installation
Credits
License
━━━━━━━━━━━━━━━━━━━━ FEATURES ━━━━━━━━━━━━━━━━━━━━
- Command Whitelist System: Only allow specific commands or subcommands
- Subcommand Control: Block or allow individual command arguments
- Permission Bypass System: Allow staff to bypass restrictions
- Fully Configurable Messages: Custom deny messages with placeholders
- Sound Support: Play configurable sounds on blocked commands
- Flexible Rules System: Define rules per command or group
- Lightweight Design: Minimal performance impact
- Real-Time Config Reload: Apply changes without restarting server
━━━━━━━━━━━━━━━━━━━━ COMMANDS ━━━━━━━━━━━━━━━━━━━━
/pcommandblocker reload - Reload the configuration /pcommandblocker toggle - Enable or disable command blocking system /pcommandblocker status - View plugin status
━━━━━━━━━━━━━━━━━━━━ PERMISSION NODES ━━━━━━━━━━━━━━━━━━━━
pastascommandblocker.admin - Access to all admin commands pastascommandblocker.bypass - Bypass all command restrictions pastascommandblocker.notify - Receive command block alerts
━━━━━━━━━━━━━━━━━━━━ CONFIGURATION ━━━━━━━━━━━━━━━━━━━━
Commands System
commands.<command>.enabled - Enable or disable command filtering commands.<command>.subcommands - List of allowed or blocked subcommands commands.<command>.message - Custom denial message commands.<command>.sound - Sound played when blocked
General Settings
global.bypass-permission - Permission that bypasses all checks global.block-unknown-commands - Block commands not listed in config global.message-type - chat, actionbar, or both
━━━━━━━━━━━━━━━━━━━━ INSTALLATION ━━━━━━━━━━━━━━━━━━━━
- Download the plugin jar
- Place it in your plugins folder
- Restart your server
- Edit config.yml to define allowed commands
- Run /pcommandblocker reload
━━━━━━━━━━━━━━━━━━━━ CREDITS ━━━━━━━━━━━━━━━━━━━━
Created by pastosjava
━━━━━━━━━━━━━━━━━━━━ LICENSE ━━━━━━━━━━━━━━━━━━━━
All rights reserved unless otherwise stated.


