RAMalarm 在服务器当前已用内存超过配置中设定的阈值时,向管理员或其他用户发送消息。此外,你还可以通过聊天栏(输入 /checkram)或告示牌(在第一行放置写有 ramalarm 的告示牌)查看服务器的当前内存状态。
简介
只需将 .jar 文件复制到你的 plugins 文件夹中,然后重载或重启服务器即可。在配置文件(位于 plugins/RAMalarm/config.yml)中,你可以设置内存使用的最大百分比、检查间隔以及其他一些选项。如果修改了配置文件,请重新加载或重启服务器。
当当前已用内存超过你在配置中设置的限制时,拥有 ramalarm.notify 权限的管理员和用户会收到通知。
主要功能
内存通知
- 如果当前已用内存高于配置中设定的限制,RAMalarm 会向管理员和其他玩家发送通知。
RAMalarm 告示牌
- 只需一个告示牌,即可查看服务器的所有内存统计信息。在第一行放置写有 "ramalarm" 的告示牌并确认即可。它会自动更新。你可以在配置文件中更改更新间隔。
命令与权限
- /ramalarm:
- 关于 RAMalarm 的一般信息。
- 别名:/ra
- /ramalarm gc:
- 回收内存中的所有垃圾数据。
- 权限:ramalarm.gc
- 别名:/ra gc
- /ramalarm toggle:
- 切换信息提示的开启或关闭状态(仅对自己生效!)
- 权限:ramalarm.notify
- 别名:/ra toggle
- /checkram:
- 返回服务器的当前内存统计信息(最大内存、已用内存和空闲内存)。
- 权限:ramalarm.check
- 别名:/cr /ram
- 权限 ramalarm.notify:
- 拥有此权限的用户会在内存使用量超过限制时收到通知。
- 权限 ramalarm.sign:
- 拥有此权限的用户可以放置和破坏 RAMalarm 告示牌。
下载状态
RAMalarm V1.2: 下载 - GitHub
RAMalarm V1.1: 下载 - GitHub
RAMalarm V1.0: 下载 - GitHub
捐赠
如果你想支持我,请通过 PayPal 或 Flattr 向我捐款。
RAMalarm sends messages to admins or other users when the current used ram is higher than the limit you have set in the config. Besides you can see the current ram stats of your server in the chat (type /checkram) or on a sign (place a sign with ramalarm in the first line).
Introduction
Only copy the .jar file into your plugins folder and reload or restart your server. In the config (you find the config at plugins/RAMalarm/config.yml) you can set the maximum usage of ram in percent, the check interval and some other things. If you change something in the config please reload or restart your server.
Then if the current used ram is higher then the limit you have set in the config admins and users with the permission ramalarm.notify get a notification.
Main Features
Ram Notifications
- RAMalarm sends notifications to admins and other players if the current used ram is higher than the limit you have set in the config.
RAMalarm Sign
- With only one sign, you can see all the ramstats of your server. Only place a sign with "ramalarm" in the first line and press ok. It updates automatically. You can change the interval in the config.
Commands & Permissions
- /ramalarm:
- General information about RAMalarm.
- Aliases: /ra
- /ramalarm gc:
- Collects all the garbage from your ram.
- Permission: ramalarm.gc
- Aliases: /ra gc
- /ramalarm toggle:
- Toggles the infomessage on or off (only for yourself!)
- Permission: ramalarm.notify
- Aliases: /ra toggle
- /checkram:
- It returns the current ram stats of your server (maximal ram, used & free ram).
- Permission: ramalarm.check
- Aliases: /cr /ram
- Permission ramalarm.notify:
- Users with this permission will be notified if the ram higher than the limit.
- Permission ramalarm.sign:
- Users with this permission can place and destroy RAMalarm signs.
Download Status
RAMalarm V1.2: Download - GitHub
RAMalarm V1.1: Download - GitHub
RAMalarm V1.0: Download - GitHub
Donate
If you want to support me please donate to my paypal or flattr account.
评论 0
登录后参与评分
还没有评论,来抢沙发吧