ClearChat
命令
- /clearchat clear (清除公共聊天)
- /c (快速清除公共聊天的快捷方式)
- /cc (清除你自己的聊天)
- /clock (锁定聊天) v1.2 及以上版本
- /clearchat version (插件版本)
- /clearchat reload (重新加载配置)
权限
- /clearchat clear 或 /c "clearchat.clear"
- /cc "clearchat.cc"
- /clock "clearchat.lock" (如果你想让玩家在聊天被锁定时仍能发言,请赋予他们 "clearchat.lock.chat" 权限) v1.2 及以上版本
- /clearchat reload "chatclear.reload"
- "clearchat.ignore" (拥有此权限的玩家将不会看到 /c 或 /clearchat clear 的消息) v1.2 及以上版本
配置
- 在配置中使用 %Name 来显示清除聊天记录的用户的名称(可用于 /clearchat clear、/c 和 /cc)
配置应呈现的样子
clear-message: '&1[&bClearChat&1] &b聊天已被 %Name 清除&d.'
cc: '&1[&bClearChat&1] &3%Name&b 你已清空了自己的聊天记录'
no-permission: '&4[&cClearChat&4] &c你没有此命令的权限'
Reload: '&1[&bClearChat&1] &b配置已重载。'
lock-msg: '&1[&bClearChat&1] &3聊天已被锁定!'
lock: '&1[&bClearChat&1] &b%Name&3 锁定了聊天!'
unlock: '&1[&bClearChat&1] &b%Name &3解锁了聊天!'
其他由我制作的插件
NoHitDelay () 一款可让你管理 PvP 中两次攻击间隔的插件。
AutoWelcome () 一个插件,允许拥有特定权限的玩家向新玩家发送欢迎信息!
ClearChat
Commands
- /clearchat clear (clears the public chat)
- /c (a fast way to clear the public chat)
- /cc (clears your own chat)
- /clock (locks the chat) v1.2 and up
- /clearchat version (the version of the plugin)
- /clearchat reload (reload the config)
Permissions
- /clearchat clear or /c "clearchat.clear"
- /cc "clearchat.cc"
- /clock "clearchat.lock" (give a player "clearchat.lock.chat" if you want them to be able to chat when the chat is locked) v1.2 and up
- /clearchat reload "chatclear.reload"
- "clearchat.ignore" (when a player has this permission he wont see the /c or /clearchat clear message) v1.2 and up
Config
- use %Name in the config to show the name from the one who cleared the chat (this can be used in /clearchat clear, /c and /cc)
how your config should look
clear-message: '&1[&bClearChat&1] &bChat has been cleared by&d %Name&b.'
cc: '&1[&bClearChat&1] &3%Name&b You have cleared your own chat'
no-permission: '&4[&cClearChat&4] &cyou dont have permission to this command'
Reload: '&1[&bClearChat&1] &bConfig reloaded.'
lock-msg: '&1[&bClearChat&1] &3the chat is locked!'
lock: '&1[&bClearChat&1] &b%Name&3 has locked the chat!'
unlock: '&1[&bClearChat&1] &b%Name &3has unlocked the chat!'
Other plugins made by me
- AntiAdv () a Anti Advertise plugin with alot of features
- NoHitDelay () A plugin that lets you manage the delay between 2 hits in pvp.
- AutoWelcome () A Plugin that lets players with a permission say welcome to new players!
评论 0
登录后参与评分
还没有评论,来抢沙发吧