xBlockCommand

Command blocker and full tab for Minecraft & OpenSource

72

Quick challenge

How far can you run before the mobs catch you?

xBlockCommand

imagen

xBlockerCommands

Java Spigot

A powerful and flexible Minecraft plugin to block commands on your server.

📋 Description

xBlocker is a Spigot/Paper plugin that allows server administrators to block specific commands from being used by players. It features a flexible configuration system, wildcard support, and an intuitive command interface.

✨ Features

- Lightweight - Prevent players from using specific commands - Lightweight - Use `*` to block groups of commands (e.g., `minecraft:*`) - Lightweight - Bypass blocks with permissions - Lightweight - Add/remove blocked commands without editing files - Lightweight - Full color code support - Lightweight - Track blocked command attempts - Lightweight - Easy command usage - Lightweight - Minimal performance impact

🔧 Installation

1. Download the latest `xBlocker.jar` from releases 2. Place the file in your server's `plugins/` folder 3. Restart your server 4. Configure the plugin in `plugins/xBlocker/config.yml` 5. Use `/xb reload` to apply changes

📦 Requirements

- Minecraft 1.17 or higher - Spigot, Paper, or any compatible server software - Java 16 or higher

🎮 Commands

| Command | Description | Permission | |---------|-------------|------------| | `/xb reload` | Reload the configuration | `xblocker.reload` | | `/xb list` | List all blocked commands | `xblocker.admin` | | `/xb add <command>` | Add a command to the block list | `xblocker.admin` | | `/xb remove <command>` | Remove a command from the block list | `xblocker.admin` |

Aliases: `/xblocker`, `/xb`, `/blocker`

🔐 Permissions

| Permission | Description | Default | |------------|-------------|---------| | `xblocker.admin` | Full access to the plugin | OP | | `xblocker.bypass` | Bypass all command blocks | OP | | `xblocker.reload` | Reload the configuration | OP |

⚙️ Configuration

```yaml

List of blocked commands

blocked-commands: - "op" - "deop" - "stop" - "reload" - "minecraft:give" - "plugins" - "pl" - "version" - "ver"

Plugin messages

messages: blocked-command: "&c&lAccess Denied! &7This command is blocked." no-permission: "&cYou don't have permission to use this command." reload-success: "&aConfiguration reloaded successfully!" command-added: "&aCommand added to the block list." command-removed: "&aCommand removed from the block list."

Enable logging of blocked command attempts

enable-logging: true ```

🎯 Usage Examples

Block a single command

``` /xb add gamemode ```

Block all commands from a namespace

``` /xb add minecraft:* ```

Remove a blocked command

``` /xb remove gamemode ```

View all blocked commands

``` /xb list ```

Reload configuration

``` /xb reload ```

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📝 License

This project is licensed under the MIT License.

🐛 Bug Reports

If you find a bug, please open an issue on GitHub with: - Minecraft version - Server software and version - Plugin version - Steps to reproduce - Error logs (if any)

ADS