Giter VIP home page Giter VIP logo

commandblock's Introduction

CommandBlock

开发环境:
IDE: Eclipse Photon Release (4.8.0)
Java: Java8
游戏版本: MineCraft 1.12.2
插件类型: Bukkit

描述

有些服主可能想禁用掉一部分命令,或者只让部分玩家执行一些额特殊的命令,或者觉得OP权限太大了想禁用掉部分指令,这样这些命令只能再控制台执行。 这就需要一个插件来屏蔽这些命令。

本插件使用非常简单,把jar丢进服务端的plugins文件夹下然后启动服务端,然后根据需要更改配置文件。

配置文件说明

  • list - 需要禁用的指令列表,按照yaml语法一条一条添加即可
  • playerWhiteList - 白名单玩家列表,在这个列表下的玩家执行命令将不检查
  • configUpdateInterval - 值为检测配置文件更改的频率(时间单位:秒)
  • denyMessage - 玩家执行的命令被拒绝时向玩家发送的提示信息

权限和命令

  • 权限 - 没有权限,对所有玩家生效(包括OP)
  • 命令 - 只有一个命令:/cb reload - 重载配置(其实这个命令也不需要,本插件支持自动更新配置文件,改完config.yml保存 即可,无需手动重载配置)

commandblock's People

Contributors

slinar avatar

Watchers

James Cloos 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.