Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.91 KB | None | 0 0
  1. command /kit:
  2. aliases: kits
  3. trigger:
  4. open chest with 5 rows named "&6&lKITS" to player
  5. wait 3 ticks
  6. loop integers from 0 to 44:
  7. format slot loop-number of player with black stained glass pane named "&r" to be unstealable
  8.  
  9.  
  10. if player have permission "essentials.kits.yt":
  11. format slot 2 of player with green stained glass pane named "&e&lKIT &4&lY&f&lT" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit yt"]
  12. else if player does not have permission "essentials.kits.yt":
  13. format slot 2 of player with red stained glass pane named "&e&lKIT &4&lY&f&lT" with lore "&7Status &8» &cIngen adgang" to close
  14.  
  15. if player have permission "essentials.kits.yt1":
  16. format slot 3 of player with green stained glass pane named "&e&lKIT &4&lY&f&lT1" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit yt1"]
  17. else if player does not have permission "essentials.kits.yt1":
  18. format slot 3 of player with red stained glass pane named "&e&lKIT &4&lY&f&lT1" with lore "&7Status &8» &cIngen adgang" to close
  19.  
  20. if player have permission "essentials.kits.hero":
  21. format slot 5 of player with green stained glass pane named "&e&lKIT &6&lHERO" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit hero"]
  22. else if player does not have permission "essentials.kits.hero":
  23. format slot 5 of player with red stained glass pane named "&e&lKIT &6&lHERO" with lore "&7Status &8» &cIngen adgang" to close
  24.  
  25. if player have permission "essentials.kits.yt1":
  26. format slot 6 of player with green stained glass pane named "&e&lKIT &6&lHERO1" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit hero1"]
  27. else if player does not have permission "essentials.kits.hero1":
  28. format slot 6 of player with red stained glass pane named "&e&lKIT &6&lHERO1" with lore "&7Status &8» &cIngen adgang" to close
  29.  
  30. if player have permission "essentials.kits.eagle":
  31. format slot 19 of player with green stained glass pane named "&e&lKIT &e&lEAGLE" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit eagle"]
  32. else if player does not have permission "essentials.kits.eagle":
  33. format slot 19 of player with red stained glass pane named "&e&lKIT &e&lEAGLE" with lore "&7Status &8» &cIngen adgang" to close
  34.  
  35. if player have permission "essentials.kits.tryharder":
  36. format slot 21 of player with green stained glass pane named "&e&lKIT &6&lTRYHARDER" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit tryharder"]
  37. else if player does not have permission "essentials.kits.tryharder":
  38. format slot 21 of player with red stained glass pane named "&e&lKIT &6&lTRYHARDER" with lore "&7Status &8» &cIngen adgang" to close
  39.  
  40. if player have permission "essentials.kits.pvp":
  41. format slot 23 of player with green stained glass pane named "&e&lKIT &6&lPVP" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit pvp"]
  42. else if player does not have permission "essentials.kits.pvp":
  43. format slot 23 of player with red stained glass pane named "&e&lKIT &6&lPVP" with lore "&7Status &8» &cIngen adgang" to close
  44.  
  45. if player have permission "essentials.kits.speciel":
  46. format slot 25 of player with green stained glass pane named "&e&lKIT &6&lSPECIEL" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit speciel"]
  47. else if player does not have permission "essentials.kits.speciel":
  48. format slot 25 of player with red stained glass pane named "&e&lKIT &6&lSPECIEL" with lore "&7Status &8» &cIngen adgang" to close
  49.  
  50.  
  51. if player have permission "essentials.kits.master":
  52. format slot 38 of player with green stained glass pane named "&e&lKIT &b&lMASTER" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit master"]
  53. else if player does not have permission "essentials.kits.master":
  54. format slot 38 of player with red stained glass pane named "&e&lKIT &b&lMASTER" with lore "&7Status &8» &cIngen adgang" to close
  55.  
  56.  
  57. if player have permission "essentials.kits.master1":
  58. format slot 39 of player with green stained glass pane named "&e&lKIT &b&lMASTER1" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit master1"]
  59. else if player does not have permission "essentials.kits.master1":
  60. format slot 39 of player with red stained glass pane named "&b&lMASTER1" with lore "&7Status &8» &cIngen adgang" to close
  61.  
  62. if player have permission "essentials.kits.legend":
  63. format slot 41 of player with green stained glass pane named "&e&lKIT LEGEND" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit legend"]
  64. else if player does not have permission "essentials.kits.legend":
  65. format slot 41 of player with red stained glass pane named "&e&lKIT LEGEND" with lore "&7Status &8» &cIngen adgang" to close
  66.  
  67.  
  68. if player have permission "essentials.kits.legend1":
  69. format slot 42 of player with green stained glass pane named "&e&lKIT LEGEND1" with lore "&7Status &8» &aAdgang" to close then run [execute player command "/ekit legend1"]
  70. else if player does not have permission "essentials.kits.legend1":
  71. format slot 42 of player with red stained glass pane named "&e&lKIT LEGEND1" with lore "&7Status &8» &cIngen adgang" to close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement