Coder Social home page Coder Social logo

commandblockerx's Introduction

CommandBlockerX

Block people from using commands in PocketMine-MP

Block certain types of command senders from executing commands

How to configure

The following code is the default config.yml:

blocked-commands: # List of blocked commands without the slash (/)
  me: # Command name
    console: true # Block in console
    in-game: true # Block in game
    rcon: true # Block in RCON
  say:
    console: false
    in-game: true
    rcon: false
messages: # List of configurable messages sent to command senders
  command-blocked: "§cThis command is blocked" # If a command is blocked, use § for color

The blocked-commands key contains multiple nested arrays which tells the plugin which users are allowed to use that command.

To add new commands to the list, do the same as the example commands underneath them.

You can also remove commands from the list by deleting all of the data for that command.

Once you have configured your list, you can use /commandblocker reload to apply your changes

commandblockerx's People

Contributors

poggit-bot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.