功能
你是否曾遇到过烦人的刷屏者?也许他们被服务器上的其他插件踢出,但却利用外挂不断重新登录?你封禁了他们的一些账号,但他们却拥有大量账号?
无需再担心。SpamX 是一款终结所有反刷屏插件的反刷屏插件。
其工作原理是设定一个可配置的水平,用于定义何为刷屏(默认为每秒 3 条消息)。
你可以通过位于 craftbukkit.jar 所在文件夹中的 SpamX.yml 文件进行配置。每次超过该限制,你就会获得一次违规记录。如果违规次数过多,你将被封禁(默认违规上限为 3 次,可通过同一文件配置)。
如果那个烦人的刷屏外挂侵入了你的服务器,只需将违规上限设置为 1,然后见证奇迹吧!
新增了日志功能。
当玩家被踢出时,它会记录被踢出(或封禁)的时间、他们的 IP 地址<sub>以及时间。</sub>
使用位于 craftbukkit.jar 同级目录下的 spamx.log 文件。
命令
/xreload 重载配置文件。
/xoffense <player> 查看玩家的违规等级。
/xsetoffense <player> <number> 设置玩家的违规等级。
权限
SpamX.reload 授予使用 /xreload 命令的权限。
SpamX.checklevel 授予使用 /xoffense 命令的权限。
SpamX.setlevel 授予使用 /xsetoffense 命令的权限。
SpamX.bypass 允许用户绕过刷屏检查。
其他
如果你想浏览源代码,请点击 此处 获取 GitHub 链接。
Features
Have you ever had annoying spammers? Perhaps they got kicked from your server by another plugin but had a hack to keep logging back in? You banned a few of their accounts but they had a ton?
Fear no more. SpamX is the anti-spam plugin to end all anti-spam plugins.
They way it works is it has a configurable level defining what is spam(default 3 messages per second).
It can be configured via SpamX.yml which is located in the same folder as your craftbukkit.jar. Every time you cross that limit you get an offense. if you get too many offenses you are banned(default offense limit is 3. configurable by the same file).
If that annoying spam hack finds it's way onto your server just set the offense limit at 1 and watch the magic!
Added a log feature.
When a player is kicked it logs the time they were kicked(or banned), their ip address<sub> and the time.</sub>
Uses the file spamx.log which is located in the same directory as craftbukkit.jar
Commands
/xreload Reloads the config file.
/xoffense <player> Checks a players offense level.
/xsetoffense <player> <number> Set's the players offense level.
Permissions
SpamX.reload Grants the permission to use the /xreload command.
SpamX.checklevel Grants the permission to use the /xoffense command.
SpamX.setlevel Grants the permission to use /xsetoffense command.
SpamX.bypass Let's a user bypass the spam check.
Other
If you would like to browse the source click here for a github link.
评论 0
登录后参与评分
还没有评论,来抢沙发吧