Advertisement
Guest User

Untitled

a guest
Dec 14th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. #============#
  2. #
  3. #plugin_guard#
  4. #
  5. #============#
  6.  
  7. #========#
  8. #
  9. # Config #
  10. #
  11. #========#
  12.  
  13.  
  14.  
  15. Options:
  16. Kickmessage: &bあなたが実行したコマンドはこのサーバーで規制されています #<-----キックされたときのメッセージです
  17.  
  18.  
  19.  
  20. command /Pluginguardhelp:
  21. permission: "Pluginguard.help"
  22. aliases: /Pghelp
  23. trigger:
  24. message "<yellow>---------<white>Plugin Guard<yellow>------------"
  25. message "<white>/pl /plugins /? /help などのコマンドを実行したときプレイヤーをキックします"
  26. message "<white>※コマンドプロントで実行した場合は見ることができます"
  27. message "<yellow>----------------------------------"
  28.  
  29. on command "/pl":
  30. if player doesn't have permission "Plugin.Guard":
  31. cancel event
  32. wait 1 tick
  33. execute console command "/kick %player% {@Kickmessage}"
  34.  
  35. on command "/plugins":
  36. if player doesn't have permission "Plugin.Guard":
  37. cancel event
  38. wait 1 tick
  39. execute console command "/kick %player% {@Kickmessage}"
  40.  
  41. on command "/?":
  42. if player doesn't have permission "Plugin.Guard":
  43. cancel event
  44. wait 1 tick
  45. execute console command "/tell %player% §aこのコマンドは現在使用できません
  46.  
  47. on command "/help":
  48. if player doesn't have permission "Plugin.Guard":
  49. cancel event
  50. wait 1 tick
  51. execute console command "/tell %player% §aこのコマンドは現在使用できません
  52.  
  53. on command "/bukkit:?":
  54. if player doesn't have permission "Plugin.Guard":
  55. cancel event
  56. wait 1 tick
  57. execute console command "/kick %player% {@Kickmessage}"
  58.  
  59. on command "/bukkit:pl":
  60. if player doesn't have permission "Plugin.Guard":
  61. cancel event
  62. wait 1 tick
  63. execute console command "/kick %player% {@Kickmessage}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement