Command Handler

A Minecraft Bedrock (MCPE) command handler that allows easy command registration using a custom prefix (!). Supports permissions (tags), message filtering, and deferred execution. Includes built-in !help and !echo commands.
main-class-screenshot

main-class-screenshot

Description

This Minecraft Bedrock command management system is designed to simplify command creation using a custom prefix (!). It provides features like:
✅ Easy command registration with callbacks.
✅ Permission system using player tags.
✅ Optional message filtering to prevent command messages from appearing in chat.
✅ Deferred execution to run commands in the next tick when necessary.
✅ Built-in commands like !help (lists available commands) and !echo (repeats input).

How It Works:

  • Players type commands using the ! prefix (e.g., !echo Hello → outputs "Echo: Hello").
  • Commands can have permissions (tags) to restrict access.
  • Messages can be canceled or allowed in chat based on the command’s configuration.
  • Commands can execute immediately or in the next tick.
  • The !help command dynamically lists all registered commands based on user permissions.

This script makes Minecraft Bedrock command management efficient and highly customizable for addon development! 🚀

Command Handler Team

profile avatar
  • 1
    Followers
  • 1
    Projects
  • 261
    Downloads