是的,它兼容 1.8!
描述
LagPlugin 是一个简单的插件,允许你快速且高效地监控服务器的内存使用情况(仅限 Java 可用的内存),使用的是 Java 内置的 Runtime 类。输入 /lag 会显示两个易于理解的百分比:一个表示可用内存,另一个表示已用内存。如果你注意到服务器有些卡顿,可以迅速输入 /gc,使用 Java 默认的垃圾回收器,服务器的内存占用将会减少。作为 V1.6 版本的额外功能,如果物品在服务器上存在的时间超过了配置文件中预设的时间限制(可切换开关)(仅 V1.6B 版本),这些物品将被从服务器中移除。如果你的服务器内存占用超过 85%,系统会向所有 OP 发送警告,提示服务器可能需要进行清理。本插件旨在高效且易于使用,适用于内存较低的服务器或希望保持原版 Minecraft 体验的服务器。从 1.2 BETA 版本开始,新增了 DMM(动态内存管理),并可通过新的配置文件进行切换!PS:如果从 V1.4 升级到 V1.5 或更高版本,请删除你的 config 文件,并让插件重新生成其配置文件。
命令
- /lag: 以易于理解的百分比形式显示延迟消耗情况
- /gc: 运行 Java 的垃圾清理服务以释放部分内存
参数
- /lag dynamic: 在游戏中切换 DMM(动态内存管理)(V1.3)
- /lag lightning: 切换反闪电功能(V1.5)
权限
- /lag: lag.lag
- /gc: lag.gc
视频
MerijnRaaij 制作了这段视频!快来看看吧!
图片
/lag:

/gc:

配置
此处查看配置示例
建议
为 LagPlugin 留下你的印记!请帮我提供一些功能建议!前往 论坛 并回复此帖!

Yes, it works with 1.8!
Description
The LagPlugin is a simple plugin that allows you to monitor your servers memory consumption (Only of the Memory available to Java) quickly and efficently, using Java's built in Runtime class. Typing in /lag will show you a comprehendable two percentages, one of the free memory, one of the used memory. If you notice that your server is lagging a bit, then quickly type in /gc, and using Java's default garbage collector, your servers memory consumption will decrease. As an added bonus in V1.6, items will be removed from your server if they are "alive" for more than the preconfigured time alotted in your configuration file (This is toggleable)(Only in V1.6B). If your servers memory consumption reaches greater than 85%, a warning is sent out to all OP's that the server may need a cleanup. This plugin is designed to be efficent, and simple to use for server's with low memory or servers attempting to keep that Vanilla Minecraft feel. As of 1.2 BETA, DMM (Dynamic Memory Management) has been added in, and is toggleable through a new configuration file! PS: If updating from V1.4 to V1.5 or higher, please DELETE your config, and allow the plugin to regenerate its configuration files.
Commands
- /lag: Shows the Lag Consumption in an easy to understand percentage
- /gc: Runs Java's Garbage Cleanup services to free up some memory
Arguments
- /lag dynamic: Toggle DMM (Dynamic Memory Management) in game (V1.3)
- /lag lightning: Toggle anti-lightning (V1.5)
Permissions
- /lag: lag.lag
- /gc: lag.gc
Videos
MerijnRaaij made this video! Check it out!
Images
/lag:

/gc:

Configuration
Config Examples Here
Suggestions
Put your mark on LagPlugin! Please help me with some feature suggestions! Go to the forums and reply to this thread!

评论 0
登录后参与评分
还没有评论,来抢沙发吧