狂三Miku
本帖最后由 狂三Miku 于 2017-10-2 13:38 编辑
PerWorldBan —— 多世界封禁



插件介绍
Description — 简介

在指定的世界封禁玩家
if you have a server type network.(这句我看不懂, 英文渣)
玩家将不能进入所被封禁的世界

Features — 功能

  • 自定义消息
  • 当封禁时踢出玩家。
  • 在游戏中查看所有权限与叙述
  • 清除所有封禁数据,将解封所有玩家
  • 启用或关闭在游戏中踢出被封禁的玩家


图片展示


配置说明

Config.yml

  1. Player-is-Banned: "&cPerWorldBan >> &7%player% &eis already banned from &7%world%."
  2. #玩家在某世界被封禁
  3. Player-not-Banned: "&cPerWorldBan >> &7%player% &eis not banned from &7%world%."
  4. #玩家在某世界没被封禁
  5. Ban-Cmd-Error: "&cPerWorldBan >>  &eincorrect usage, &7use /pwb ban <player> <world> <reason>\n&7Also the player needs to be online, if Force-online-Player if true, in order to ban him."
  6. #封禁命令错误
  7. Unban-Cmd-Error: "&cPerWorldBan >>  &eincorrect usage, &7use /pwb unban <player> <world>."
  8. #解封命令错误
  9. Command-Not-Valid: "&cPerWorldBan >> Command &7%command%&c not found, try /pwb to see all the available commands"
  10. #命令无效
  11. Kick-Banned-Player: true
  12. #启用或关闭踢出封禁玩家
  13. Kick-Banned-Cmd: "&cPerWorldBan >>  &eYou have set Kick-Banned-Player to &7%boolean%."
  14. #踢出封禁玩家开启或关闭消息
  15. Kick-Banned-Now: "&cPerWorldBan >> &eKick-Banned-Player at this moment is &7%boolean%."
  16. #现在踢出封禁玩家开启或关闭消息

  17. #       Currently not working        #
  18. #            当前不会工作            #
  19. Force-online-Player: true
  20. #强制线上玩家开关
  21. Force-online-Msg: "&cPerWorldBan >>  &eYou have set Force-online-Player to &7%boolean%."
  22. #强制线上玩家开关消息
  23. Force-online-Now: "&cPerWorldBan >> &eForce-online-Player at this moment is &7%boolean%."
  24. #现在强制线上玩家开关消息
  25. #------------------------------------#
  26. Player-not-Found: "&cPerWorldBan >>  &eThe player &7%player% &eis not online."
  27. #玩家不存在
  28. Notify:
  29. ##通知讯息
  30.   Player-Banned:
  31.   ##玩家封禁
  32.   - "&a------------------------------------"
  33.   - ""
  34.   - "&7%player% &egot banned by &7%banner% &efrom &7%world%."
  35.   - "&eReason: &7%reason%"
  36.   - ""
  37.   - "&a------------------------------------"
  38.   Player-Unbanned:
  39.   ##玩家解封
  40.   - "&a------------------------------------"
  41.   - ""
  42.   - "&7%player% &egot unbanned by &7%banner% &efrom &7%world%."
  43.   - ""
  44.   - "&a------------------------------------"
  45. You-Banned-Player: "&cPerWorldBan >> &eYou have banned &7%player% &efrom &7%world%."
  46. #你封禁玩家
  47. You-Unbanned-Player: "&cPerWorldBan >> &eYou have unbanned &7%player% &efrom &7%world%."
  48. #你解封玩家
  49. You-are-Bannend: "&cPerWorldBan >> You are banned from &7%world% &cby &7%banner% &creason: &7%reason%."
  50. #被封禁
  51. #聊天栏的
  52. You-got-Banned: "&aServerName\n\n&cYou got banned.\n\n&cFrom: &7%world%\n&cBy: &7%banner%\n\n&cReason: &7%reason%\n&cAppeal at &7www.example.com/appeals"
  53. #被封禁
  54. #被踢出时的通知(图2)
  55. Data-Cleared: "&cPerWorldBan >> &eBan data cleared, all players had been unbanned."
  56. #数据清除
  57. Config-Reload: "&cPerWorldBan >> &eAll files had been reloaded."
  58. #重载配置
  59. No-Permission: "&cPerWorldBan >> &eYou don't have permission to execute this command."
  60. #无权限
  61. Check-for-Updates: true
  62. #检查更新
复制代码
Bans.yml


  1. Players:
  2. #玩家栏
  3. #主组
  4. #不建议修改
  5.   world:
  6.   #世界名#
  7.     By_Jack:
  8.         #封禁玩家的人
  9.       date: 30/09/2017
  10.           #封禁时间
  11.       by: By_Jack
  12.           #封禁人
  13.       reason: Didn't rate the resource with 5 Stars.
  14.           #理由
复制代码




命令与权限说明
Commands — 命令


  1. /pwb ban <player> <world> <reason> - 在某世界封禁玩家
  2. /pwb unban <player> <world> - 解封某世界被封禁的玩家
  3. /pwb kick <true/false> - 设置开启或关闭踢出在服务器中被封禁世界的玩家
  4. /pwb forceOnlinePlayer <true/false> - 设置开启或关闭强制只能封禁在线上的玩家
  5. /pwb clearData - 清除所有封禁数据
  6. /pwb reload - 重载在所有文件
  7. /pwb permissions - 查看所有权限与叙述
复制代码
Permissions — 权限



  1. perworldban.ban - 封禁玩家权限
  2. perworldban.unban - 解封玩家权限
  3. perworldban.nofify.ban - 查看封禁玩家
  4. perworldban.notify.unban - 查看解封玩家
  5. perworldban.notify.all - 查看所有通知
  6. perworldban.reload - 允许重载配置
  7. perworldban.cleardata - 允许清除数据
  8. perworldban.setkick - 允许设置踢出封禁玩家开关
  9. perworldban.setforceonline - 允许设置强制踢出在线玩家开关
  10. perworldban.admin - 管理员权限(所有权限)
复制代码


插件下载


最后部分 ~END~
上次改了排版方式, 可能不太好看
会尽量加强~
喜欢的话,可以评分给点金粒与人气呦!

最后
排版真的真的很累

040516xcy
毫无软用

[email protected]
回复一下。。。。。。。。

junshuai666
不做伸手党 lz我抱走了

473937269
233 前排瓜子话说 不让他进去就好了 ban了干啥

miyiming1
还能封禁世界 厉害了

158256774
本帖最后由 158256774 于 2020-6-11 22:00 编辑
473937269 发表于 2018-10-14 19:11
233 前排瓜子话说 不让他进去就好了 ban了干啥

这不就是起这作用?

3472320255
图片挂啦。

第一页 上一页 下一页 最后一页