ReduceLagg [LITE]

作者:dani02 发布时间:2017年1月11日 原生版本:未知 测试支持:1.8,1.9,1.10,1.11,1.12

帮助与落后者作斗争

点此下载

插件详细介绍

ReduceLagg 是一款旨在帮助服务器对抗卡顿的轻量级插件。它能够监控服务器和客户端性能,阻止潜在的卡顿制造机,并在服务器面临崩溃风险时自动禁用某些功能。插件还具备智能 AI,能够检测服务器异常并提供修复建议。

🛠️ ReduceLagg

🤔 插件特性

  • 服务器性能监控: 实时显示服务器的 Ping、TPS、区块、实体数量等信息,以及服务器的 CPU 和内存使用情况。
  • 卡顿制造机防御: 阻止或禁用某些卡顿制造机一段时间。
  • 服务器崩溃预防: 在服务器性能不足时,禁用某些功能(如实体生成、区块加载)。
  • 智能 AI: 监控服务器状态,检测异常并提供修复建议。
  • 事件处理: 监控 TNT 爆炸、红石执行、区块加载、实体生成等,以避免服务器崩溃。
  • 配置优化: 优化 Spigot 和 Bukkit 配置文件,以获得最佳性能。
  • 自动更新提醒: 在有新版本发布时提醒您。

⚙️ 命令

主命令: /reducelagg (或 /rlagg, /rlag, /reduce, /lagreduce, /laggreduce)

  • /RLagg Ram - 显示内存使用情况。
  • /RLagg Cpu - 显示 CPU 使用情况。
  • /RLagg Tps - 显示当前 TPS。
  • /RLagg Gc - 调用垃圾回收器。
  • /RLagg JVMArgs - 显示服务器 JVM 参数。
  • /RLagg Ping <player> - 显示玩家的 Ping 值。
  • /RLagg Function <enable/disable> <function> [time] - 启动/停止一个功能。
  • /RLagg Functions - 获取所有可用功能。
  • /RLagg Chunk <chunkFunction> - 启动/停止一个区块功能。
  • /RLagg Chunk Functions - 获取所有可用区块功能。
  • /RLagg Lagg [Warning] - 移除所有地面掉落物。
  • /RLagg Reload - 重新加载配置文件。
  • /RLagg Remove <all/monsters/animals/xp/projectiles/npc/arrows> - 移除指定类型的实体。
  • /RLagg Timings <print> - Timings 功能(目前只有 print 功能)。

🔑 权限

  • ReduceLagg.Commands.<command> - 执行 <command> 命令。

📝 配置


###################################
#ReduceLagg                                            
#                                                                  
#Created by dani02                                   
###################################
#
#Prefix
reducelagg-tag: "&cReduce&dLagg &8> &3"
#No permission message
non-permission: "You don't have permission!"
#Clear drops message
clear-drops-message: "All dropped entities will be removed in %seconds% seconds"
#If you don't want to optimize the config, set it to true
server-configs-optimized: false

#Ram checker
#If the free ram is lower that the setted one, command will be performed
check-for-low-ram: true
#If the used ram is larger that the number below, the protocol will be performed(in percent)
low-ram-violation: 80
#How much times must the free ram in percent to be lower than low-ram-violation to perform the protocol
low-ram-violation2: 3
#Protocols to take action: SHOW_INFO_TO_ALL_RL_ADMINS, SHOW_INFO_TO_ALL_OP and RUN_COMMAND
low-ram-protocol: SHOW_INFO_TO_ALL_RL_ADMINS
#The command that will be performed when the free ram is below low-ram-violation
#In the lite version you can't use some of ReduceLagg commands
low-ram-command: reducelagg gc
#Per how many seconds ReduceLagg will check for low ram
low-ram-check-time: 20

#TPS Checker
#If the tps is lower that the setted one, command will be performed
check-for-low-tps: false
#If the tps is below that number the command will be performed
low-tps-violation: 13.0
#The command that will be performed when the free ram is below low-tps-violation
#Protocols to take action: SHOW_INFO_TO_ALL_RL_ADMINS, SHOW_INFO_TO_RL_ADMINS_AND_FIX_THE_REASON_OF_THE_LAGG, FIX_THE_REASON_OF_THE_LAGG and RUN_COMMAND
#Only RUN_COMMAND is a lite feature
low-tps-protocol: RUN_COMMAND
#If the protocol is run_command then the server will run the command below
#In the lite version you can't use some of ReduceLagg commands
low-tps-command: reducelagg gc
#Per how many seconds ReduceLagg will check for low tps(in seconds)
low-tps-check-time: 30

#CPU Checker NOT LITE
#If the cpu usage is higher that the setted one, command will be performed
check-for-high-cpu: false
#If the cpu usage is higher that the setted one, command will be performed(in percent)
high-cpu-usage-violation: 80
#Per how many seconds ReduceLagg will check for high cpu(in seconds)
high-cpu-usage-time: 80

#High Ping
#Kick the player if his ping is larger than the setted, type 0 to disable
kick-with-high-ping: 0
#Per how many seconds ReduceLagg will check for high ping the players(in seconds)
high-ping-check-time: 60
#When the player is kicked message for the player
high-ping-kick-msg: "You have been kicked for a high ping"
#When the player is kicked this will be shown as a broadcast message in the server
#Leave this as DontShow if you want no message to be broadcasted in the server
high-ping-broadcast-msg: "%player% is kicked for high ping(%ping%)"

#Auto lag remove
#Auto perform /reducelagg lagg warning after some time
auto-lag-remove: true
#Auto lag remove time(in seconds)
auto-lag-remove-time: 60

#Chunk options NOT LITE
#Max tnt explodions for the same time per chunk
max-tnt-per-chunk: 50
#Max entities per chunk
max-entities-per-chunk: 15
#Automaticly unload all unneeded chunks
unload-unneeded-chunks: true

#WorldEdit NOT LITE
#Limit the selection of too much blocks
worldedit-selection-limit: false

❓ 常见问题

  • 为什么我看不到 PRO 版本?

    PRO 版本尚未完成,在发布前需要添加和修复一些内容。

  • PRO 版本会是付费的吗?

    是的,但它会物有所值。

  • 我有一个建议,如何帮助你?

    如果您有任何想法,请私信我,我会在 3 天内与您联系。