CommandWatcher

版本:0.5
CraftBukkit Build 1.3.1-R2.0 [已测试]
信息
信息
此插件可让您实时查看玩家执行的每条指令。您可以配置在 CommandWatch 中不向执行命令的玩家发送的指令列表。当前默认设置为 /login、/changepassword 和 /register,但您可以根据需要自定义。
配置文件
#在 commandwatch 中不对玩家显示的命令#
BlockedCommands:
- /login
- /changepassword
- /register
#发送消息给 commandwatch 中的人员
#&player 是 玩家的名字,&cmd 是 他们执行的命令,&x 是 X 轴坐标,以此类推。&world 是 世界名称。
OnCommandMessage: '&3[CW]&c&player: &6&cmd'
#当为 false 时,退出游戏不会移除你的命令监听#
RemoveFromCwOnQuit: True
#如果 true 则 启用 commandwatch.exempt 和 commandwatch.bypassexempt 权限
EnablePermissionExempt: true
功能:
- 命令监控
- 退出时自动从 CommandWatch 中移除
- 可查看谁在 CommandWatch 中
- 可为任意玩家启用 CommandWatch
- 可重载 CommandWatch
- 可在命令中显示坐标
- 可在命令中显示世界名称
示例

命令
- /cw 启用 CommandWatch
- /cw help
- /cw check 列出 CommandWatch 中的用户
- /cw reload 重新加载配置文件和插件
- /cw {Playername} 启用或禁用对在线玩家的 CommandWatch
权限
- commandwatch.watch - 允许使用 /cw 命令
- commandwatch.help - 允许使用 /cw help 命令
- commandwatch.checkwatch - 允许使用 /cw check 命令
- commandwatch.reload - 允许使用 /cw reload 命令
- commandwatch.watchother - 允许使用 /cw {player} 命令
- commandwatch.exempt - 拥有 commandwatch.bypassexempt 权限的玩家将不会看到被豁免用户的命令
- commandwatch.bypassexempt - 即使对方拥有 exempt 权限,玩家仍可看到其命令。
以下是如何使用 exempt 的示例。
Owner 1 希望他的管理员能够监视其他玩家的命令,但不想让管理员看到自己的命令。
因此,他给自己赋予了 commandwatch.exempt 权限,管理员便无法再看到他的命令。
Owner 2 想要查看 Owner 1 的命令,于是给自己赋予了 commandwatch.bypassexempt 权限,现在他可以看见 Owner 1 的命令了。
- v0.1
- v0.2
- 添加了 /cw reload 命令
- 添加了 /cw check 命令,替代原来的 /cwcheck
- 添加了 /cw {playername}
- 新增配置项,用于设置消息和禁用的命令
- v0.3
- 添加了指标数据
- 在配置中添加了新功能 “RemoveFromCwOnQuit”。当设为 false 时,退出游戏不会移除你的 commandwatch(命令监听)记录。
-v0.4
- 新增功能
- 添加了 /cw help 命令,需要权限 commandwatch.help
- 错误修复
- 修复了在对离线玩家执行 /cw <OfflinePlayer> 时出现的错误
- 修复了在控制台执行命令时的错误
- 添加了 GitHub 仓库
-v0.5
- 新增功能
- 现在可以在命令消息中使用 &x、&y、&z 表示坐标,以及 &world 表示世界名称!
- 新增了 commandwatch.exempt 和 commandwatch.bypassexempt 权限,更多信息见上文
- 新增配置选项 EnablePermissionExempt。当设为 false 时,除非使用了黑名单,否则会将所有命令显示给拥有 commandwatch 权限的玩家
- 错误修复
- 修复了一个严重错误:当 RemoveFromCwOnQuit 设为 false 时会抛出大量错误!
- 其他多项错误修复
CommandWatcher

Version: 0.5
CraftBukkit Build 1.3.1-R2.0 [Tested]
Info
Info
This plugin lets you see every command a player does as they do it. You can set commands for it to not send to the person in commandwatch Currently this is defaulted to /login, /changepassword and /register but can be what ever you want.
Config
#Commands which are not shown to people in commandwatch#
BlockedCommands:
- /login
- /changepassword
- /register
#Message sent to person in commandwatch
#&player is the players name and &cmd is the command they did &x is x coordinate etc. &world is the worldname.
OnCommandMessage: '&3[CW]&c&player: &6&cmd'
#When false it wont remove your commandwatch on quit#
RemoveFromCwOnQuit: True
#If true then it enables the commandwatch.exempt and commandwatch.bypassexempt permissions
EnablePermissionExempt: true
Features:
- Command watching
- Removes from CommandWatch when you quit
- Can check whos in CommandWatch
- Can enable commandwatch for any player
- Can Reload CommandWatch
- Can show coordinates with the command
- Can show worldname with command
Example

Commands
- /cw Enables CommandWatch
- /cw help
- /cw check Lists people in CommandWatch
- /cw reload Reloads the config and plugin
- /cw {Playername} Enables or disables CommandWatch for a online player
Permissions
- commandwatch.watch - Allows access to the /cw command
- commandwatch.help - Allows access to /cw help command
- commandwatch.checkwatch - Allows access to the /cw check command
- commandwatch.reload - Allows access to the /cw reload command
- commandwatch.watchother - Allows access to /cw {player} command
- commandwatch.exempt - Players in commandwatch without the commandwatch.bypassexempt permission wont see this users command
- commandwatch.bypassexempt - Player can see commands even by users with exempt permission.
Example of how exempt might be used.
Owner 1 gives his mods the ability to watch commands of other players but doesnt want the mod to see his commands.
So he gives himself the commandwatch.exempt permissions and mods can no longer see his commands.
Owner 2 wants to see Owner 1's commands so he gives himself commandwatch.bypassexempt and he can now see Owner 1's commands.
- v0.1
- v0.2
- Added /cw reload
- Added /cw check instead of /cwcheck
- Added /cw {playername}
- New Config to set Message and blocked commands
- v0.3
- Added Metrics
- Added New feature in config "RemoveFromCwOnQuit" When false it wont remove your commandwatch on quit
-v0.4
- New features
- Added /cw help command with permission commandwatch.help
- Bug Fixes
- Fixed bug with error on /cw <OfflinePlayer>
- Fixed bug when executing commands from console
- Added github Repository
-v0.5
- New Features
- You can now use &x, &y, &z for coordinates of commands in the command message and &world for the world name!
- There is now commandwatch.exempt and commandwatch.bypassexempt more info above
- New config option EnablePermissionExempt which when false will show all commands to people in commandwatch enless of course your using the blacklist
- Bug Fixes
- Fixed a big bug with RemoveFromCwOnQuit on false throwing lots of errors!
- Various other bug fixes
评论 0
登录后参与评分
还没有评论,来抢沙发吧