70sOn7

Ranks Prisons

Jan 7th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. command /mines:
  2. trigger:
  3. open chest with 1 rows named "&eMines" to player
  4. wait 1 tick
  5. format slot 4 of player with glowing diamond pickaxe named "&c%{mines.%player%::*}%" to be unstealable
  6. format slot 8 of player with redstone named "&4Close" to close
  7.  
  8.  
  9. command /adminmines [<text>] [<offlineplayer>] [<text>]:
  10. aliases: /am, /amines
  11. permission: server.adminmines
  12. permission message: &8(&f!&8) &fYou do not have the correct permission for this!
  13. trigger:
  14. if arg-1 is not set:
  15. send "&9AdminMines > &7/amines (Give/Remove) (Player) (Mine)"
  16. stop
  17. if arg-2 is not set:
  18. send "&9AdminMines > &7/amines (Give/Remove) (Player) (Mine)"
  19. stop
  20. if arg-3 is not set:
  21. send "&9AdminMines > &7/amines (Give/Remove) (Player) (Mine)"
  22. stop
  23. if arg-1 is set:
  24. if arg-2 is set:
  25. if arg-3 is set:
  26. if arg-1 is "give":
  27. add arg-3 to {mines.%arg-2%::*}
  28. send "&9AdminMines > &7You have added mine &9%arg-3% &7to &9%arg-2%" to player
  29. if arg-1 is "remove":
  30. remove arg-3 from {mines.%arg-2%::*}
  31. send "&9AdminMines > &7You have removed mine &9%arg-3% &7to &9%arg-2%" to player
Add Comment
Please, Sign In to add comment