Giter Site home page Giter Site logo

commandrangechecker's Introduction

@e誤爆防止プラグイン

イメージ図

範囲指定がない@eを使用されたときに警告を出してコマンドをブロックし、ログに記録します。

  • 範囲指定がない@eを使用されたとき
    • 警告を表示
    • コマンドの実行をブロック
    • ログに記録
  • 範囲指定はあるが、範囲が大きすぎる場合
    • 警告を表示
    • コマンド実行はブロックしない (force_range_limittrueにすることでブロックすることも可能)
    • ログに記録

最大範囲や警告文はConfigで設定可能です。(詳しくはconfig.ymlを参照)
また、bypassにプレイヤー名を書くと、その人には誤爆防止チェックが行われません。

導入について

導入にはProtocolLibが必要です
NMSを使用しているため、1.16.5以外では動きません

commandrangechecker's People

Contributors

kamesuta avatar

Forkers

kamesuta

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.