Advertisement
kama6012

resource

Feb 3rd, 2019
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. on connect:
  2. send "&aSending you the resource pack. Please accept it."
  3. send resource pack from "https://download.nodecdn.net/containers/nodecraft/minepack/2b2a62da577b0cca4bf53cb8b773d37c.zip" to player
  4.  
  5.  
  6. command /resources [<text>]:
  7. trigger:
  8. if arg-1 is not set:
  9. send "&8&m------------------------------"
  10. send "&5&lAvailable resource packs:"
  11. send "&7MyAmazingRP"
  12. send "&7MyAmazingRP2"
  13. send "&8&m------------------------------"
  14. if arg-1 is "MyAmazingRP":
  15. send "&aSending Resource Pack..."
  16. send resource pack from "https://download.nodecdn.net/containers/nodecraft/minepack/2b2a62da577b0cca4bf53cb8b773d37c.zip" to player
  17. if arg-1 is "MyAmazingRP3":
  18. if player has permission "rpm.rp.RESOURCEPACKNAME":
  19. send "&aSending Resource Pack..."
  20. send resource pack from "RP URL" to player
  21. if arg-1 is "list":
  22. if player has permission "rpm.rp.list":
  23. send "&bOpening Resource Pack List..."
  24. wait 1 tick
  25. open chest with 1 row named "&6ResourcePack List" to player
  26. format slot 1 of player with diamond named "&aResourcePack1" with lore "&7Change this to whatever you want" to close then run [make player execute command "/resources MyAmazingRP"]
  27. format slot 2 of player with emerald named "&aResourcePack2" with lore "&7Change this to whatever you want" to close then run [make player execute command "/resources MyAmazingRP2"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement