Code Monkey home page Code Monkey logo

tshockcheckbag's Introduction

TShockCheckBag

介绍

定时检查玩家背包,并封禁对应玩家。

指令

/checkbag ban,列出封禁记录
/checkbag item,列出违规物品
/checkbag reload,重载配置

权限

checkbag

授权示意:

/group addperm owner checkbag

配置文件

位于 ./tshock/CheckBag/config.json,若不存在则会自动创建。

示例:

{
  "检测间隔": 300,
  "封禁时长": 60,
  "违规次数": 3,
  "全时期": [
    {
      "id": 74,
      "数量": 999,
      "名称": "铂金币"
    }
  ],
  "骷髅王前": [
    {
      "id": 29,
      "数量": 20,
      "名称": "生命水晶"
    }
  ],
  "肉前": [],
  "一王前": [
    {
      "id": 1291,
      "数量": 2,
      "名称": "生命果"
    }
  ],
  "三王前": [],
  "猪鲨前": [],
  "花前": [],
  "石前": []
}

检测间隔的单位是秒。

封禁时长的单位是分钟。

违规次数表示第x次检测到次违规物品时,即封禁该玩家。


tshockcheckbag's People

Contributors

hufang360 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

1242509682

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.