SGCommandBlocker icon

SGCommandBlocker -----

A simple yet powerful plugin to block specific commands on your Minecraft server, featuring a permis



[​IMG]
SGCommandBlocker

A lightweight and efficient plugin to control and restrict command usage on your Minecraft server — with built-in update checking, advanced logging, and custom notifications.

✨ Main Features
Update Checking
  • Automatic update detection via Modrinth
  • Customizable notifications for console and in-game
  • Permission-based alerts for trusted users only
  • Clean and informative update messages
Command Blocking
  • Block any command through simple configuration
  • Supports partial and exact command matching
  • Detailed logging of every blocked attempt
  • Lightweight and optimized for performance
Logging System
  • Enable or disable logging easily
  • Save logs to console and/or custom file paths
  • Logs include timestamp, player, and attempted command
⚡ Performance & Security
  • Zero-lag command processing
  • Minimal resource usage
  • Designed for Paper, Spigot, and compatible forks
Permissions
  • Simple and clean permission setup
  • Allow staff to bypass specific restrictions
  • Separate permission for update notifications
Commands

Command
Permission Description
/sgcb reload sgcommandblocker.reload Reloads the configuration
/sgcommandblocker reload sgcommandblocker.reload Alternative reload command
Permissions

Permission
Description
sgcommandblocker.bypass Allows usage of blocked commands
sgcommandblocker.reload Reloads the plugin configuration
sgcommandblocker.update Receives in-game update notifications
⚙️ Configuration Overview
update-checker:
enabled: true
notify-console: true
notify-ingame: true
notify-permission: "sgcommandblocker.update"

blocked-commands:
- pl
- plugins
- reload

bypass-permission: sgcommandblocker.bypass

logging:
enabled: true
console: false
file: true
file-path: "logs/blocked_attempts.log"

prefix: "&8[&x&0&A&C&F&F&F&lBlocker&8] "
messages:
block: "&c✖ &7This command is restricted on this server."
reload: "&a✔ &7Configuration reloaded successfully!"
no-permission: "&c✖ &7You don't have permission to do that."
not-player: "&c✖ &7This command can only be executed by players."
usage: "&e⚡ &7Usage: &f/sgcb reload &8or &f/sgcommandblocker reload"
update-available: "&7A new version of SGCommandBlocker is available!"
current-version: "&7Current version: &c%current%"
latest-version: "&7Latest version: &a%latest%"
download-link: "&7Download: &b%link%"

Logging Example
When logging is enabled, all blocked command attempts are stored with:
  • Timestamp
  • Player name
  • Attempted command
Location:
plugins/SGCommandBlocker/logs/blocked_attempts.log

Example Use Cases
  • Server Security: Prevent unauthorized commands
  • Staff Monitoring: Track attempted command exploits
  • ⚙️ Access Control: Give certain groups bypass permissions
Installation
  1. Download the plugin
  2. Drop it into your /plugins folder
  3. Restart your server
  4. Configure config.yml to your liking
  5. Run /sgcb reload to apply changes instantly
Support & Feedback
Found a bug or have a suggestion?
Join our Discord — we’d love your feedback!

SGCommandBlocker — Secure your commands, protect your server, and keep your console clean.
Fast, simple, and reliable.
Resource Information
Author:
----------
Total Downloads: 5
First Release: Oct 19, 2025
Last Update: Oct 19, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings