Advertisement
AurasPrivate

Untitled

Oct 11th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.32 KB | None | 0 0
  1. # ▄█ █▄ ▄████████ ▀████ ▐████▀ ▄█ ▄████████
  2. # ███ ███ ███ ███ ███▌ ████▀ ███ ███ ███
  3. # ███ ███ ███ █▀ ███ ▐███ ███▌ ███ █▀
  4. # ███ ███ ▄███▄▄▄ ▀███▄███▀ ███▌ ███
  5. # ███ ███ ▀▀███▀▀▀ ████▀██▄ ███▌ ▀███████████
  6. # ███ ███ ███ █▄ ▐███ ▀███ ███ ███
  7. # ███ ███ ███ ███ ▄███ ███▄ ███ ▄█ ███
  8. # ▀██████▀ ██████████ ████ ███▄ █▀ ▄████████▀
  9. # (Vexis)
  10.  
  11.  
  12.  
  13.  
  14. on first join:
  15. set {rank.%player's uuid%} to "&7"
  16. set {userrank.%player's uuid%} to "None"
  17.  
  18. set {rankcost.%player's uuid%} to 50000
  19. set {mined.%player's uuid%} to 0
  20. set {level.%player's uuid%} to 1
  21. set {points.%player's uuid%} to 0
  22. set {prestige.%player's uuid%} to 0
  23. set {staffuser.%player's uuid%} to false
  24.  
  25. make player execute "vexis:scoreboard"
  26.  
  27. on join:
  28. loop 100 times:
  29. message ""
  30. message "&8&m*-----------------------------------*"
  31. message "&c&lVEXIS PRISONS"
  32. message ""
  33. message "&7 If you require any sort of assistance you can conatact one of our staff members in game, on our forums or on the discord. Access all of these with /info."
  34. message "&8&m*-----------------------------------*"
  35. set join message to "&c&lVEXIS &c» &7%player% has connected."
  36.  
  37. make player execute "vexis:scoreboard"
  38.  
  39. on chat:
  40. cancel event
  41. if {staffchat.%player's uuid%} is set:
  42. loop all players:
  43. if {staffuser.%loop-player's uuid%} is true:
  44. message "&9[Staff] &b%player% &7» &r%message%" to loop-player
  45. else:
  46. set tab list name of player to "%{colour.%player's uuid%}%%player%"
  47. broadcast "&8(&7%{prestige.%player's uuid%}%&8) &8(&7%{level.%player's uuid%}%&8) %{rank.%player's uuid%}%%player% » &7%message%"
  48. make player execute "/vexis:scoreboard"
  49.  
  50. # ########################################################################################################################################################################################################################################################### #
  51.  
  52. # ▄████████ ▄██████▄ ▄▄▄▄███▄▄▄▄ ▄▄▄▄███▄▄▄▄ ▄████████ ███▄▄▄▄ ████████▄ ▄████████
  53. # ███ ███ ███ ███ ▄██▀▀▀███▀▀▀██▄ ▄██▀▀▀███▀▀▀██▄ ███ ███ ███▀▀▀██▄ ███ ▀███ ███ ███
  54. # ███ █▀ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ █▀
  55. # ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
  56. # ███ ███ ███ ███ ███ ███ ███ ███ ███ ▀███████████ ███ ███ ███ ███ ▀███████████
  57. # ███ █▄ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███
  58. # ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ███ ▄███ ▄█ ███
  59. # ████████▀ ▀██████▀ ▀█ ███ █▀ ▀█ ███ █▀ ███ █▀ ▀█ █▀ ████████▀ ▄████████
  60. # (Commands)
  61.  
  62. # Reset users statistics command, this command is extremely powerful. It resets the users rank, permissions, balance, kills, deaths, points and level.
  63. command /reset-user [<offline player>]:
  64. permission: server.resetuser
  65. permission message: &cInsufficent permissions.
  66. trigger:
  67. if argument 1 is set:
  68. set {rank.%arg-1's uuid%} to "&7"
  69. set {userrank.%arg-1's uuid%} to "None"
  70. set {mined.%arg-1's uuid%} to 0
  71. set {level.%arg-1's uuid%} to 1
  72. set {points.%arg-1's uuid%} to 0
  73. set {prestige.%player's uuid%} to 0
  74. set {staffuser.%player's uuid%} to false
  75. make argument 1 execute "vexis:scoreboard"
  76.  
  77. if argument 1 is player:
  78. message "&c&lVEXIS &c» &7Successfully reset your user data."
  79. else:
  80. message "&c&lVEXIS &c» &7Successfully reset user &c%argument 1%'s &7data." to player
  81. message "&c&lVEXIS &c» &7Your user data has been reset by &c%player%&7." to argument 1
  82.  
  83. # Scoreboard command, if you'd like this updated, changed or the design to be different contact Aurrra over discord, @Aura#9763.
  84. command /vexis:scoreboard:
  85. trigger:
  86. wipe player's sidebar
  87. set name of sidebar of player to "&4&lVEXIS PRISONS"
  88. set score "&8&m-----------*-----------" in sidebar of player to 13
  89. set score "&c&lRank:" in sidebar of player to 12
  90. set score "&7%{userrank.%player's uuid%}%" in sidebar of player to 11
  91. set score "&1" in sidebar of player to 10
  92. set score "&c&lPrestige:" in sidebar of player to 9
  93. set score "&7%{prestige.%player's uuid%}%" in sidebar of player to 8
  94. set score "&8&m----------*-*----------" in sidebar of player to 7
  95. set score "&c&lUser:" in sidebar of player to 6
  96. set score "&7Name: &7%player%" in sidebar of player to 5
  97. set score "&7Level: &7%{level.%player's uuid%}%" in sidebar of player to 4
  98. set score "&7Points: &7%{points.%player's uuid%}%" in sidebar of player to 3
  99. set score "&8&m--------*-----*--------" in sidebar of player to 1
  100.  
  101. # User management command, this command should not be editted without proper knowledge.
  102. command /group [<offline player>] [<text>]:
  103. permission: server.set
  104. permission message: &cInsufficent permissions.
  105. trigger:
  106. if argument 1 is set:
  107. if argument 2 is set:
  108. if argument 2 is "owner":
  109.  
  110. set {userrank.%arg-1's uuid%} to "Owner"
  111. set {rank.%arg-1's uuid%} to "&8(&cOwner&8) &c"
  112. set {colour.%arg-1's uuid%} to "&c"
  113. set {staffuser.%arg-1's uuid%} to true
  114. make argument 1 execute "vexis:scoreboard"
  115.  
  116. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  117. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  118. if argument 2 is "dev":
  119.  
  120. set {userrank.%arg-1's uuid%} to "Developer"
  121. set {rank.%arg-1's uuid%} to "&8(&cDeveloper&8) &c"
  122. set {colour.%arg-1's uuid%} to "&c"
  123. set {staffuser.%arg-1's uuid%} to true
  124. make argument 1 execute "vexis:scoreboard"
  125.  
  126. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  127. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  128. if argument 2 is "admin":
  129.  
  130. set {userrank.%arg-1's uuid%} to "Admin"
  131. set {rank.%arg-1's uuid%} to "&8(&bAdmin&8) &b"
  132. set {colour.%arg-1's uuid%} to "&b"
  133. set {staffuser.%arg-1's uuid%} to true
  134. make argument 1 execute "vexis:scoreboard"
  135.  
  136. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  137. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  138. if argument 2 is "mod":
  139.  
  140. set {userrank.%arg-1's uuid%} to "Mod"
  141. set {rank.%arg-1's uuid%} to "&8(&dMod&8) &d"
  142. set {colour.%arg-1's uuid%} to "&d"
  143. set {staffuser.%arg-1's uuid%} to true
  144. make argument 1 execute "vexis:scoreboard"
  145.  
  146. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  147. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  148. if argument 2 is "helper":
  149.  
  150. set {userrank.%arg-1's uuid%} to "Helper"
  151. set {rank.%arg-1's uuid%} to "&8(&aHelper&8) &a"
  152. set {colour.%arg-1's uuid%} to "&a"
  153. set {staffuser.%arg-1's uuid%} to true
  154. make argument 1 execute "vexis:scoreboard"
  155.  
  156. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  157. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  158. if argument 2 is "none":
  159.  
  160. set {userrank.%arg-1's uuid%} to "None"
  161. set {rank.%arg-1's uuid%} to "&7"
  162. set {colour.%arg-1's uuid%} to "&7"
  163. set {staffuser.%arg-1's uuid%} to false
  164. make argument 1 execute "vexis:scoreboard"
  165.  
  166. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  167. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  168. else if argument 2 isn't "owner", "dev", "admin", "mod", "helper" or "none":
  169. message "&cIncorrect group title:"
  170. message "&cGroups: Owner, Dev, Admin, Mod, Helper and None"
  171. else:
  172. message "&cIncorrest usage:"
  173. message "&c/group <player> <group title>"
  174. else:
  175. message "&cIncorrest usage:"
  176. message "&c/group <player> <group title>"
  177.  
  178. command /backpack [<number>] [<offline player>]:
  179. aliases: bp
  180. trigger:
  181. if argument 1 isn't set:
  182. message "&cIncorrest usage:"
  183. if {staffuser.%player's uuid%} is true:
  184. message "&c/backpack <number> [player]"
  185. else:
  186. message "&c/backpack <number> [player]"
  187.  
  188. else if argument 1 is set:
  189. if argument 2 is set:
  190. if {staffuser.%player's uuid%} is false:
  191. make player execute "backpack"
  192.  
  193. else:
  194. set {backpack.open.%player%} to arg 1
  195. set {backpack.open.else.%player%} to arg 2
  196. open chest with 6 rows named "&c%arg 2%'s &c&lBACKPACK" to player
  197. wait 1 tick
  198. set {_num} to 0
  199. loop {backpack.item.%arg 1%.%arg 2%::*}:
  200. set slot {_num} of player's current inventory to loop-value
  201. add 1 to {_num}
  202. else:
  203. if player doesn't have permission "server.backpack.%arg 1%":
  204. send "&cYou don't have permission to open backpack %arg 1%"
  205. else:
  206. set {backpack.open.%player%} to arg 1
  207. open chest with 6 rows named "&c&lBACKPACK" to player
  208. wait 1 tick
  209. set {_num} to 0
  210. loop {backpack.item.%arg 1%.%player%::*}:
  211. if {backpack.open.%player%} is set:
  212. set slot {_num} of player's current inventory to loop-value
  213. add 1 to {_num}
  214.  
  215. on rightclick on chest:
  216. if {backpack.open.%player%} is set:
  217. cancel event
  218. delete {backpack.open.%player%}
  219.  
  220. on inventory close:
  221. if {backpack.open.%player%} is set:
  222. if {backpack.open.else.%player%} is set:
  223. if inventory name of player's current inventory contains "'s &c&lBACKPACK":
  224. loop 54 times:
  225. set {backpack.item.%{vaults.open.%player%}%.%{backpack.open.else.%player%}%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
  226. delete {backpack.open.%player%}
  227. delete {backpack.open.else.%player%}
  228. else:
  229. if inventory name of player's current inventory contains "&c&lBACKPACK":
  230. loop 54 times:
  231. set {backpack.item.%{backpack.open.%player%}%.%player%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
  232. delete {backpack.open.%player%}
  233.  
  234. command /message [<player>] [<text>]:
  235. aliases: /msg, /m
  236. trigger:
  237. if argument 1 is set:
  238. if argument 2 is set:
  239.  
  240. message "&7(%{rank.%player's uuid%}%%player% &7to %{rank.%player's uuid%}%%argument 1%&7) &r%argument 2%" to player
  241. message "&7(%{rank.%player's uuid%}%%player% &7to %{rank.%player's uuid%}%%argument 1%&7) &r%argument 2%" to argument 1
  242.  
  243. else:
  244. message "&cIncorrect usage:"
  245. message "&c/message <player> <message>"
  246. else:
  247. message "&cIncorrect usage:"
  248. message "&c/message <player> <message>"
  249.  
  250. command /rankup:
  251. trigger:
  252. if {level.%player's uuid%} isn't 100:
  253. if {points.%player's uuid%} parsed as a number > {rankcost.%player's uuid%}:
  254. add 1 to {level.%player's uuid%}
  255. remove {rankcost.%player's uuid%} from {points.%player's uuid%}
  256. add 50000 to {rankcost.%player's uuid%}
  257. message "&cyou've ranked up to %{level.%player's uuid%}%"
  258. else:
  259. message "&cInsufficent currency:"
  260. message ""
  261. message "&cYour points: %{points.%player's uuid%}%"
  262. message "&cRequired points: &l%{rankcost.%player's uuid%}%"
  263. else:
  264. message "&cYou are level 100, prestige with /prestige!"
  265.  
  266. command /test <integer>:
  267. trigger:
  268. set {level.%player's uuid%} to arg 1
  269. set {rankcost.%player's uuid%} to 50000
  270.  
  271. command /eco [<offline player>] [<integer>]:
  272. trigger:
  273. if player has permission "server.eco.set":
  274. if argument 1 is set:
  275. if argument 2 is set:
  276. if argument 1 is player:
  277. set {points.%player's uuid%} to argument 2
  278. message "&c&lVEXIS &c» &7Set your balance to &c%argument 2%"
  279. make player execute "vexis:scoreboard"
  280. else:
  281. set {points.%arg-1's uuid%} to argument 2
  282. message "&c&lVEXIS &c» &7Set %argument 1%'s balance to &c%argument 2%" to player
  283. message "&c&lVEXIS &c» &7Your balance was set to &c%argument 2% &7by %player%" to argument 1
  284. make argument 1 execute "vexis:scoreboard"
  285. else:
  286. message "&cIncorrect usage:"
  287. message "&c/eco <player> <points>"
  288. else:
  289. message "&cIncorrect usage:"
  290. message "&c/eco <player> <points>"
  291. else:
  292. message "&c&lVEXIS &c» &7Points: %{points.%player's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement