Advertisement
LukaMC59

Untitled

Nov 9th, 2017
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. command whitelist [<text>] [<player>]:
  2. permission: minecraft.command.whitelist, *
  3. trigger:
  4. if arg-1 is not set:
  5. message "&f&lWhitelist &8► &7/whitelist <on/off/add> [<player>]"
  6. if arg-1 is "on"
  7. make player execute command "whitelist on"
  8. make player execute command "title @a title [""\u00a77Whitelist is \u00a7aOn""]"
  9. if arg-1 is "off":
  10. make player execute command "whitelist off"
  11. make player execute command "title @a title [""\u00a77Whitelist is \u00a7cOff""]"
  12. if arg-1 is "add":
  13. if arg-2 is not set:
  14. message "&f&lWhitelist &8► &7/whitelist add <player>"
  15. if arg-2 is set:
  16. make player execute command "whitelist add %arg-2%"
  17. message "&f&lWhitelist &8► &7Added &9%arg-2%&7 to &f&lWhitelist&7"
  18. if arg-1 is not "on":
  19. if arg-1 is not "off":
  20. if arg-1 is not "add":
  21. message "&f&lWhitelist &8► &7/whitelist <on/off/add> [<player>]"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement