Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command whitelist [<text>] [<player>]:
- permission: minecraft.command.whitelist, *
- trigger:
- if arg-1 is not set:
- message "&f&lWhitelist &8► &7/whitelist <on/off/add> [<player>]"
- if arg-1 is "on"
- make player execute command "whitelist on"
- make player execute command "title @a title [""\u00a77Whitelist is \u00a7aOn""]"
- if arg-1 is "off":
- make player execute command "whitelist off"
- make player execute command "title @a title [""\u00a77Whitelist is \u00a7cOff""]"
- if arg-1 is "add":
- if arg-2 is not set:
- message "&f&lWhitelist &8► &7/whitelist add <player>"
- if arg-2 is set:
- make player execute command "whitelist add %arg-2%"
- message "&f&lWhitelist &8► &7Added &9%arg-2%&7 to &f&lWhitelist&7"
- if arg-1 is not "on":
- if arg-1 is not "off":
- if arg-1 is not "add":
- message "&f&lWhitelist &8► &7/whitelist <on/off/add> [<player>]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement