Git Product home page Git Product logo

antilag's Introduction

AntiLag

TShock插件:清除垃圾物品。

  • 最初由GeckGlobal制作。
  • 最初由discord上的thecursedkey更新到TShock 5.2版本,适用于1.4.4.9版本。
  • 配置由Maxthegreat99添加。
  • 肝帝熙恩汉化优化一点点。

安装方式

  1. 将.dll文件放入\ServerPlugins\文件夹中。
  2. 重新启动服务器。

如何使用

使用方法

Antilag每隔x时间(在配置中指定)检查并清理服务器上掉落的物品。如果检查到地面上有超过150个物品,它将警告清理物品的时间,并在达到指定时间后清理这些物品。插件等待的时间以及是否应保留最近掉落的物品可以配置。

配置选项

  • enabled - 是否启用检查计时器。
  • clearCheckIntevalMS - 启动检查的时间间隔,以毫秒为单位。
  • disableHalOnEvents - 是否在事件期间禁用检查。
  • itemAmountToKeep - 清除物品时要保留的最近物品数量。
  • itemAmountToKeepOnEvents - 在事件期间要保留的最近物品数量。
  • syncTilesOnIntervalToo - 是否在清除物品时也应发起/sync命令。
  • baseTimeUntilClearLagMS - 等待时间的基本倍增器,以毫秒为单位(当为1000时,等待时间为5秒,当物品上限超过225时,等待时间为2秒)。

默认配置

{
                扫地机器人名字 = "扫地机器人",
                启用 = true,
                清理检查间隔毫秒 = 3000.0f,
                在事件发生时禁用清理 = false,
                清理地面物品数量 = 20,
                清理入侵地面物品数量 = 50,
                清理同步世界 = true,
                清理前等待时间 = 1000
}

分支存储库

https://github.com/GeckGlobal/AntiLag

antilag's People

Contributors

thexn 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.