1c7

maaaaatty

1c7
May 28th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. on inventory click:
  2. player does not have permission "srstaff"
  3. player's gamemode != creative
  4. cancel event
  5. on block break:
  6. player does not have permission "srstaff"
  7. player's gamemode != creative
  8. cancel event
  9. on build:
  10. player does not have permission "srstaff"
  11. player's gamemode != creative
  12. cancel event
  13.  
  14. on rightclick with clock:
  15. if name of tool of player is "&6Game Selector":
  16. wait 1 tick
  17. open virtual chest with 5 rows named "&c&l* &8Game Selector" to player
  18. set slot 11 of player's current inventory to grass named "&7Creative" with lore "&cCurrently under progress"
  19. set slot 13 of player's current inventory to tnt named "&b&lFactions" with lore "&fPvP, huge bases and raiding?", "&fWhat's not to like? Fight", "&fto be the best faction!", "&bFaction Features:", "&8 - &FFaction Top", "&8 - &fCrates", "&8 - &fUnique Planets", "&8 - &fAuction House", "&2&lONLINE: &a0&8/&c100"
  20. set slot 15 of player's current inventory to wheat named "&7Skyblock" with lore "&cCurrently under progress"
  21. set slot 27 of player's current inventory to black stained glass pane named "&c"
  22. set slot 28 of player's current inventory to black stained glass pane named "&c"
  23. set slot 29 of player's current inventory to black stained glass pane named "&c"
  24. set slot 30 of player's current inventory to black stained glass pane named "&c"
  25. set slot 31 of player's current inventory to black stained glass pane named "&c"
  26. set slot 32 of player's current inventory to black stained glass pane named "&c"
  27. set slot 33 of player's current inventory to black stained glass pane named "&c"
  28. set slot 34 of player's current inventory to black stained glass pane named "&c"
  29. set slot 35 of player's current inventory to black stained glass pane named "&c"
  30.  
  31. on inventory click:
  32. if inventory name of player's current inventory is "&c&l* &8Game Selector":
  33. if clicked slot is 13:
  34. cancel event
  35. player command "factions"
  36.  
  37. command /kick [<offlineplayer>] [<text>]:
  38. trigger:
  39. if player has permission "STAFF_PERMISSION":
  40. if arg-1 is set:
  41. if arg-2 is set:
  42. loop all players:
  43. if loop-player has permission "STAFF_PERMISSION":
  44. kick arg 1 because "&6&l&m-----------------------------------%nl%&6&l YOU HAVE BEEN KICKED%nl% %nl%&e%arg 1%&7, you have been kicked for &6&l%arg 2%%nl% %nl%&7&o Please refrain from doing this.%nl%&6&l&m-----------------------------------"
  45. send "&e%player% &7has kicked &e%arg 1% &7for &e%arg 2%" to loop-player
  46. else:
  47. send "&cUsage: /kick <user> <reason>"
  48. else:
  49. send "&cUsage: /kick <user> <reason>"
  50. else:
  51. send "&cInsufficient permissions"
  52. command /ban [<offlineplayer>] [<text>]:
  53. trigger:
  54. if player has permission "STAFF_PERMISSION":
  55. if arg-1 is set:
  56. if arg-2 is set:
  57. loop all players:
  58. if loop-player has permission "STAFF_PERMISSION":
  59. kick arg 1 because "&6&l&m-----------------------------------%nl%&6&l YOU HAVE BEEN BANNED%nl% %nl%&e%arg 1%&7, you have been banned for &6&l%arg 2%%nl% %nl%&7&o Please refrain from doing this.%nl%&6&l&m-----------------------------------"
  60. send "&e%player% &7has banned &e%arg 1% &7for &e%arg 2%" to loop-player
  61. ban arg-1 because "&6&l&m-----------------------------------%nl%&6&l YOU HAVE BEEN BANNED%nl% %nl%&e%arg 1%&7, you have been banned for &6&l%arg 2%%nl% %nl%&7&o Please refrain from doing this.%nl%&6&l&m-----------------------------------"
  62. else:
  63. send "&cUsage: /ban <user> <reason>"
  64. else:
  65. send "&cUsage: /ban <user> <reason>"
  66. else:
  67. send "&cInsufficient permissions"
  68. command /warn [<offlineplayer>] [<text>]:
  69. trigger:
  70. if player has permission "STAFF_PERMISSION":
  71. if arg-1 is set:
  72. if arg-2 is set:
  73. send "&e%player% &7has warned you for &e%arg-2%" to arg-1
  74. loop all players:
  75. if loop-player has permission "STAFF_PERMISSION":
  76. send "&e%player% &7has warned &e%arg 1% &7for &e%arg 2%" to loop-player
  77. else:
  78. send "&cUsage: /warn <user> <reason>"
  79. else:w
  80. send "&cUsage: /warn <user> <reason>"
  81. else:
  82. send "&cInsufficient permissions"
  83. command /unban [<offlineplayer>]:
  84. trigger:
  85. if player has permission "STAFF_PERMISSION":
  86. if arg-1 is set:
  87. unban arg-1
  88. loop all players:
  89. if loop-player has permission "STAFF_PERMISSION":
  90. send "&e%player% &7has unbanned &e%arg 1%" to loop-player
  91. else:
  92. send "&cUsage: /unban <user> <reason>"
  93. else:
  94. send "&cInsufficient permissions"
Advertisement
Add Comment
Please, Sign In to add comment