
SimpleModerator - 简单、强大且易于使用的管理插件
SimpleModerator 提供了一种非常简单且强大的服务器管理方式,支持权限配置以满足你的各种需求。它在保持轻量级的同时,提供了你所需的各种功能,帮助你有效控制服务器;并且允许你在游戏内完成大部分操作,因此你几乎不需要去触碰配置文件。
注意:需要一个与 Bukkit 权限 API 集成的权限插件!已在 Privileges 上测试通过。
功能特性
- 支持权限管理的简易管理插件
- 轻松实现管理操作
- 封禁 + 临时封禁
- IP 封禁
- 静音 + 临时静音
- 踢出玩家
- 在游戏内解除静音和封禁
- 提供大量权限节点,让你精确控制谁拥有何种权力
命令概览
以逗号分隔的值互为同一命令的别名
- /simplemoderator, /simplemod, /sm, /sa | 显示 SimpleMod 帮助信息
- /ban <name> [reason] | 封禁指定名称的玩家
- /tban, /tempban <name> <hours> [reason] | 按指定小时数封禁玩家
- /unban, /uban <name> | 如果玩家被封禁,则解除其封禁
- /mute <name> [reason] | 静音指定名称的玩家
- /tmute, /tempmute <name> <hours> [reason] | 按指定小时数静音玩家
- /unmute, /umute <name> | 解除指定名称玩家的静音状态
- /kick <name> [reason] | 踢出指定名称的玩家
- /banip, /ipban, /iban <name> [reason] | 封禁所提供玩家的 IP 地址
- /banbyip, /banuserbyip <IP> | 封禁指定的 IP 地址(不会踢出在线用户)
- /unbanip, /uipban, /uiban, /ubanip <IP> | 解除指定 IP 地址的封禁
配置概览
默认配置
SimpleModerator 的配置文件非常简单,将在首次运行时自动生成。文件内容应包含(不含我的注释):
# mutes/bans/etc 列表
bans: ''
mutes: ''
ipbans: ''
# 是否向服务器所有人广播封禁/踢出/静音消息
broadcast:
ban: false
kick: false
mute: false
# 临时命令的小时限制(默认为 168 或 7 天)
limit:
ban: 168
mute: 168
# 封禁(mutes)是否应在服务器重启后保留
persist-mutes: 'false'
大部分操作会在游戏内通过插件自动处理,但 persist-mutes 节点非常重要。如果你希望封禁记录在服务器重启后仍然保留,必须将其更改为 'true'。之所以提供此选项,是因为许多玩家并不需要在服务器重启后保留封禁记录,这样可以减少 I/O 操作。
手动添加条目
你也可以手动将玩家添加到 ipbans、bans 和 mutes 列表中。条目之间用逗号分隔,格式如下:
playername:expirationtime
过期时间是以毫秒为单位的系统时间,表示条目应过期的时间;若设为 -1 则表示永久有效。因此,建议仅手动添加永久条目,并让插件通过命令来处理临时封禁。
示例行
bans: 'badplayer:-1,grieferlol123:-1,teehee:-1,'
权限概览
SimpleModerator 提供了权限设置,让你能够将管理权力精确地赋予你希望拥有权限的玩家。
'simplemod' - 使用 /sm 命令列出可用命令
'simplemod.mute' - 临时 和 永久 禁言, 包含 临时
'simplemod.mute.temp' - 临时 禁言
'simplemod.unmute' - 取消静音
'simplemod.ban' - 临时和永久封禁,包含临时
'simplemod.ban.temp' - 临时封禁
'simplemod.unban' - 解除封禁
'simplemod.ipban' - IP 封禁
'simplemod.unbanip' - 解除 IP 地址封禁
'simplemod.kick' - 踢出玩家
'simplemod.*' - 包含上述所有权限
项目与源码
有关活动动态和源代码,请参阅我们的 项目页面。

SimpleModerator - Simple, powerful, easy-to-use Moderation plugin
SimpleModerator provides a very simple and powerful way of moderating a server with permissions support for any configuration you need. It provides all sorts of functionality you need to help you keep your server under control while remaining lightweight, and of course allows most things to be done in-game so you rarely ever have to touch a config file.
NOTE: Requires a permission plugin integrated with Bukkit's permission APIs! Tested with Privileges.
Features
- Simple moderation plugin with Permissions support
- Allows moderation with ease
- bans + temporary bans
- IP Bans
- mutes + temporary mutes
- kicks
- In-game unmute and unban
- Many permissions nodes to give exactly who you want the power you want
Commands Overview
Comma-separated values are aliases of same command
- /simplemoderator, /simplemod, /sm, /sa | Displays SimpleMod help
- /ban <name> [reason] | Bans player with the given name
- /tban, /tempban <name> <hours> [reason] | Bans player for given # of hours
- /unban, /uban <name> | Unbans player with the given name if they are banned
- /mute <name> [reason] | Mutes player with the given name
- /tmute, /tempmute <name> <hours> [reason] | Mutes player for given # of hours
- /unmute, /umute <name> | Unmutes player with given name
- /kick <name> [reason] | Kicks player with given name
- /banip, /ipban, /iban <name> [reason] | Bans supplied player's IP address
- /banbyip, /banuserbyip <IP> |Bans given IP address(will not kick an online user)
- /unbanip, /uipban, /uiban, /ubanip <IP> | Unbans given IP address
Config Overview
Default
The config file for SimpleModerator is very simple and will be auto-generated on first run. The file should contain(minus my comments):
# lists for mutes/bans/etc
bans: ''
mutes: ''
ipbans: ''
# should plugin broadcast bans/kicks/mutes to everyone on server
broadcast:
ban: false
kick: false
mute: false
# limits on temp commands in hours(168 or 7 days default)
limit:
ban: 168
mute: 168
# should mutes persist through server restart
persist-mutes: 'false'
Most of this is handled by the plugin when you do things in-game, but the persist-mutes node is important. You must change this to 'true' if you wish it to save mutes through server restart. This is an option because many people don't need mutes to persist and it reduces IO.
Manually Adding Entries
You can also manually add players to ipbans, bans, and mutes lists if you wish. Entries are comma-separated and in this format:
playername:expirationtime
Expiration time is system time in ms that the entry should expire or -1 for permanent, so I recommend only adding permanent entries manually, and letting the plugin handle temp bans through commands.
Example line
bans: 'badplayer:-1,grieferlol123:-1,teehee:-1,'
Permissions Overview
Permissions for SimpleModerator are available to let you put the power in exactly who you want power to be in.
'simplemod' - Use /sm command to list usable commands
'simplemod.mute' - Temp and perm mute, includes temp
'simplemod.mute.temp' - Temp mute
'simplemod.unmute' - Unmute
'simplemod.ban' - Temp and perm ban, includes temp
'simplemod.ban.temp' - Temp ban
'simplemod.unban' - Unban
'simplemod.ipban' - IP ban
'simplemod.unbanip' - Unban IP address
'simplemod.kick' - Kick
'simplemod.*' - Includes all above permissions
Project & Source
See our project page for activity and source.
评论 0
登录后参与评分
还没有评论,来抢沙发吧