Advertisement
AurasPrivate

Untitled

Oct 12th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.02 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 {mined.%player's uuid%} to 0
  19. set {level.%player's uuid%} to 1
  20. set {points.%player's uuid%} to 0
  21. set {prestige.%player's uuid%} to 0
  22. set {rankcost.%player's uuid%} to 50000
  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 {rankcost.%player's uuid%} to 50000
  75. set {staffuser.%player's uuid%} to false
  76. make argument 1 execute "vexis:scoreboard"
  77.  
  78. if argument 1 is player:
  79. message "&c&lVEXIS &c» &7Successfully reset your user data."
  80. else:
  81. message "&c&lVEXIS &c» &7Successfully reset user &c%argument 1%'s &7data." to player
  82. message "&c&lVEXIS &c» &7Your user data has been reset by &c%player%&7." to argument 1
  83.  
  84. # Scoreboard command, if you'd like this updated, changed or the design to be different contact Aurrra over discord, @Aura#9763.
  85. command /vexis:scoreboard:
  86. trigger:
  87. wipe player's sidebar
  88. set name of sidebar of player to "&4&lVEXIS PRISONS"
  89. set score "&8&m-----------*-----------" in sidebar of player to 13
  90. set score "&c&lRank:" in sidebar of player to 12
  91. set score "&7%{userrank.%player's uuid%}%" in sidebar of player to 11
  92. set score "&1" in sidebar of player to 10
  93. set score "&c&lPrestige:" in sidebar of player to 9
  94. set score "&7%{prestige.%player's uuid%}%" in sidebar of player to 8
  95. set score "&8&m----------*-*----------" in sidebar of player to 7
  96. set score "&c&lUser:" in sidebar of player to 6
  97. set score "&7Name: &7%player%" in sidebar of player to 5
  98. set score "&7Level: &7%{level.%player's uuid%}%" in sidebar of player to 4
  99. set score "&7Points: &7%{points.%player's uuid%}%" in sidebar of player to 3
  100. set score "&8&m--------*-----*--------" in sidebar of player to 1
  101.  
  102. # User management command, this command should not be editted without proper knowledge.
  103. command /group [<offline player>] [<text>]:
  104. permission: server.set
  105. permission message: &cInsufficent permissions.
  106. trigger:
  107. if argument 1 is set:
  108. if argument 2 is set:
  109. if argument 2 is "owner":
  110.  
  111. set {userrank.%arg-1's uuid%} to "Owner"
  112. set {rank.%arg-1's uuid%} to "&8(&cOwner&8) &c"
  113. set {colour.%arg-1's uuid%} to "&c"
  114. set {staffuser.%arg-1's uuid%} to true
  115. make argument 1 execute "vexis:scoreboard"
  116.  
  117. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  118. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  119. if argument 2 is "dev":
  120.  
  121. set {userrank.%arg-1's uuid%} to "Developer"
  122. set {rank.%arg-1's uuid%} to "&8(&cDeveloper&8) &c"
  123. set {colour.%arg-1's uuid%} to "&c"
  124. set {staffuser.%arg-1's uuid%} to true
  125. make argument 1 execute "vexis:scoreboard"
  126.  
  127. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  128. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  129. if argument 2 is "admin":
  130.  
  131. set {userrank.%arg-1's uuid%} to "Admin"
  132. set {rank.%arg-1's uuid%} to "&8(&bAdmin&8) &b"
  133. set {colour.%arg-1's uuid%} to "&b"
  134. set {staffuser.%arg-1's uuid%} to true
  135. make argument 1 execute "vexis:scoreboard"
  136.  
  137. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  138. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  139. if argument 2 is "mod":
  140.  
  141. set {userrank.%arg-1's uuid%} to "Mod"
  142. set {rank.%arg-1's uuid%} to "&8(&dMod&8) &d"
  143. set {colour.%arg-1's uuid%} to "&d"
  144. set {staffuser.%arg-1's uuid%} to true
  145. make argument 1 execute "vexis:scoreboard"
  146.  
  147. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  148. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  149. if argument 2 is "helper":
  150.  
  151. set {userrank.%arg-1's uuid%} to "Helper"
  152. set {rank.%arg-1's uuid%} to "&8(&aHelper&8) &a"
  153. set {colour.%arg-1's uuid%} to "&a"
  154. set {staffuser.%arg-1's uuid%} to true
  155. make argument 1 execute "vexis:scoreboard"
  156.  
  157. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  158. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  159. if argument 2 is "none":
  160.  
  161. set {userrank.%arg-1's uuid%} to "None"
  162. set {rank.%arg-1's uuid%} to "&7"
  163. set {colour.%arg-1's uuid%} to "&7"
  164. set {staffuser.%arg-1's uuid%} to false
  165. make argument 1 execute "vexis:scoreboard"
  166.  
  167. message "&c&lVEXIS &c» &7Set &c%argument 1%'s &7group to &c%{userrank.%arg-1's uuid%}%" to player
  168. message "&c&lVEXIS &c» &7Your group has been set to &c%{userrank.%arg-1's uuid%}% &7by &c%player%"
  169. else if argument 2 isn't "owner", "dev", "admin", "mod", "helper" or "none":
  170. message "&cIncorrect group title:"
  171. message "&cGroups: Owner, Dev, Admin, Mod, Helper and None"
  172. else:
  173. message "&cIncorrest usage:"
  174. message "&c/group <player> <group title>"
  175. else:
  176. message "&cIncorrest usage:"
  177. message "&c/group <player> <group title>"
  178.  
  179. command /backpack [<number>] [<offline player>]:
  180. aliases: bp
  181. trigger:
  182. if argument 1 isn't set:
  183. message "&cIncorrest usage:"
  184. if {staffuser.%player's uuid%} is true:
  185. message "&c/backpack <number> [player]"
  186. else:
  187. message "&c/backpack <number> [player]"
  188.  
  189. else if argument 1 is set:
  190. if argument 2 is set:
  191. if {staffuser.%player's uuid%} is false:
  192. make player execute "backpack"
  193.  
  194. else:
  195. set {backpack.open.%player%} to arg 1
  196. set {backpack.open.else.%player%} to arg 2
  197. open chest with 6 rows named "&c%arg 2%'s &c&lBACKPACK" to player
  198. wait 1 tick
  199. set {_num} to 0
  200. loop {backpack.item.%arg 1%.%arg 2%::*}:
  201. set slot {_num} of player's current inventory to loop-value
  202. add 1 to {_num}
  203. else:
  204. if player doesn't have permission "server.backpack.%arg 1%":
  205. send "&cYou don't have permission to open backpack %arg 1%"
  206. else:
  207. set {backpack.open.%player%} to arg 1
  208. open chest with 6 rows named "&c&lBACKPACK" to player
  209. wait 1 tick
  210. set {_num} to 0
  211. loop {backpack.item.%arg 1%.%player%::*}:
  212. if {backpack.open.%player%} is set:
  213. set slot {_num} of player's current inventory to loop-value
  214. add 1 to {_num}
  215.  
  216. on rightclick on chest:
  217. if {backpack.open.%player%} is set:
  218. cancel event
  219. delete {backpack.open.%player%}
  220.  
  221. on inventory close:
  222. if {backpack.open.%player%} is set:
  223. if {backpack.open.else.%player%} is set:
  224. if inventory name of player's current inventory contains "'s &c&lBACKPACK":
  225. loop 54 times:
  226. 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
  227. delete {backpack.open.%player%}
  228. delete {backpack.open.else.%player%}
  229. else:
  230. if inventory name of player's current inventory contains "&c&lBACKPACK":
  231. loop 54 times:
  232. set {backpack.item.%{backpack.open.%player%}%.%player%::%loop-number - 1%} to slot "%loop-number - 1%" parsed as an integer of current inventory of player
  233. delete {backpack.open.%player%}
  234.  
  235. command /message [<player>] [<text>]:
  236. aliases: /msg, /m
  237. trigger:
  238. if argument 1 is set:
  239. if argument 2 is set:
  240.  
  241. message "&7(%{rank.%player's uuid%}%%player% &7to %{rank.%player's uuid%}%%argument 1%&7) &r%argument 2%" to player
  242. message "&7(%{rank.%player's uuid%}%%player% &7to %{rank.%player's uuid%}%%argument 1%&7) &r%argument 2%" to argument 1
  243.  
  244. else:
  245. message "&cIncorrect usage:"
  246. message "&c/message <player> <message>"
  247. else:
  248. message "&cIncorrect usage:"
  249. message "&c/message <player> <message>"
  250.  
  251. command /rankup:
  252. trigger:
  253. if {level.%player's uuid%} isn't 100:
  254. if {points.%player's uuid%} parsed as a number > {rankcost.%player's uuid%}:
  255. add 1 to {level.%player's uuid%}
  256. remove {rankcost.%player's uuid%} from {points.%player's uuid%}
  257. add 50000 to {rankcost.%player's uuid%}
  258. message "&cYou've ranked up to %{level.%player's uuid%}%"
  259. else:
  260. message "&cInsufficent currency:"
  261. message ""
  262. message "&cYour points: %{points.%player's uuid%}%"
  263. message "&cRequired points: &l%{rankcost.%player's uuid%}%"
  264. else:
  265. message "&cYou are max level."
  266.  
  267. command /eco [<offline player>] [<integer>]:
  268. trigger:
  269. if player has permission "server.eco.set":
  270. if argument 1 is set:
  271. if argument 2 is set:
  272. if argument 1 is player:
  273. set {points.%player's uuid%} to argument 2
  274. message "&c&lVEXIS &c» &7Set your balance to &c%argument 2%"
  275. make player execute "vexis:scoreboard"
  276. else:
  277. set {points.%arg-1's uuid%} to argument 2
  278. message "&c&lVEXIS &c» &7Set %argument 1%'s balance to &c%argument 2%" to player
  279. message "&c&lVEXIS &c» &7Your balance was set to &c%argument 2% &7by %player%" to argument 1
  280. make argument 1 execute "vexis:scoreboard"
  281. else:
  282. message "&cIncorrect usage:"
  283. message "&c/eco <player> <points>"
  284. else:
  285. message "&cIncorrect usage:"
  286. message "&c/eco <player> <points>"
  287. else:
  288. message "&c&lVEXIS &c» &7Points: %{points.%player's uuid%}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement