Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #============#
- #
- #plugin_guard#
- #
- #============#
- #========#
- #
- # Config #
- #
- #========#
- Options:
- Kickmessage: &bあなたが実行したコマンドはこのサーバーで規制されています #<-----キックされたときのメッセージです
- command /Pluginguardhelp:
- permission: "Pluginguard.help"
- aliases: /Pghelp
- trigger:
- message "<yellow>---------<white>Plugin Guard<yellow>------------"
- message "<white>/pl /plugins /? /help などのコマンドを実行したときプレイヤーをキックします"
- message "<white>※コマンドプロントで実行した場合は見ることができます"
- message "<yellow>----------------------------------"
- on command "/pl":
- if player doesn't have permission "Plugin.Guard":
- cancel event
- wait 1 tick
- execute console command "/kick %player% {@Kickmessage}"
- on command "/plugins":
- if player doesn't have permission "Plugin.Guard":
- cancel event
- wait 1 tick
- execute console command "/kick %player% {@Kickmessage}"
- on command "/?":
- if player doesn't have permission "Plugin.Guard":
- cancel event
- wait 1 tick
- execute console command "/tell %player% §aこのコマンドは現在使用できません
- on command "/help":
- if player doesn't have permission "Plugin.Guard":
- cancel event
- wait 1 tick
- execute console command "/tell %player% §aこのコマンドは現在使用できません
- on command "/bukkit:?":
- if player doesn't have permission "Plugin.Guard":
- cancel event
- wait 1 tick
- execute console command "/kick %player% {@Kickmessage}"
- on command "/bukkit:pl":
- if player doesn't have permission "Plugin.Guard":
- cancel event
- wait 1 tick
- execute console command "/kick %player% {@Kickmessage}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement