Language

Pasta's Command Blocker

Pasta's Command Blocker

Modrinth

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.

21 downloads 2 followers updated 1mo ago
latest v1.0 Modrinth
Paper Purpur 1.21.4 – 1.21.4 ManagementUtility

━━━━━━━━━━━━━━━━━━━━
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..enabled - Enable or disable command filtering
commands..subcommands - List of allowed or blocked subcommands
commands..message - Custom denial message
commands..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
━━━━━━━━━━━━━━━━━━━━

  1. Download the plugin jar
  2. Place it in your plugins folder
  3. Restart your server
  4. Edit config.yml to define allowed commands
  5. Run /pcommandblocker reload

━━━━━━━━━━━━━━━━━━━━
CREDITS
━━━━━━━━━━━━━━━━━━━━

Created by pastosjava

━━━━━━━━━━━━━━━━━━━━
LICENSE
━━━━━━━━━━━━━━━━━━━━

All rights reserved unless otherwise stated.

Versions

Release
1.0
paper, purpur · 1.21.4 · 1mo ago
21

Comments 0

No comments yet. Be the first to share your thoughts.

Download Pasta's Command Blocker

Files are served directly from the original source. Modgrid does not host or modify them.