Zeldaboy111

Skript #282 ]|[ Cosmetics (1)

Jan 26th, 2020
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.29 KB | None | 0 0
  1. #Read 'license.txt' before using this Skript please
  2.  
  3. options:
  4. path: plugins/Lobby/cosmetics
  5. config: plugins/Lobby/cosmetics/config.yml
  6.  
  7.  
  8. #-----------------------------------{ Functions }-----------------------------------
  9. function contains(list: objects, check: object) :: boolean:
  10. loop {_list::*}:
  11. if loop-value is {_check}:
  12. return true
  13.  
  14. return false
  15.  
  16. function firstUpperCase(s: texts) :: String:
  17. loop {_s::*}:
  18. set {_first} to first character of loop-value
  19. set {_last} to last (length of loop-value - 1) characters of loop-value
  20.  
  21. return "%{_first} in upper case%%{_last} in lower case%"
  22.  
  23. function getVariables():
  24. if yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}" is set:
  25. if {cos.animationList::*} contains yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}":
  26. set {cos.defaultAnimation} to yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}"
  27.  
  28. if yml value "Cosmetics.Holograms.Enabled" of file "{@config}" is set:
  29. set {_value} to yml value "Cosmetics.Holograms.Enabled" of file "{@config}"
  30. if {_value} parsed as a boolean is set:
  31. set {cos.holograms.enabled} to {_value} parsed as a boolean
  32.  
  33. if yml value "Cosmetics.Animations.Random.Enabled" of file "{@config}" is set:
  34. set {_value} to yml value "Cosmetics.Animations.Random.Enabled" of file "{@config}"
  35. if {_value} parsed as a boolean is set:
  36. set {cos.randomAnimation} to {_value} parsed as a boolean
  37.  
  38. #"Particles.Enabled", "Heads.Enabled", "Suits.Enabled", "Gadgets.Enabled"
  39. add "Particles", "Heads", "Suits" and "Gadgets" to {_list::*}
  40. loop {_list::*}:
  41. if yml value "Cosmetics.%loop-value%.Enabled" of file "{@config}" is set:
  42. set {_value} to yml value "Cosmetics.%loop-value%.Enabled" of file "{@config}"
  43. if {_value} parsed as a boolean is set:
  44. set {cos.%loop-value in lower case%.enabled} to {_value} parsed as a boolean
  45.  
  46. if {cos.%loop-value in lower case%.enabled} is not set:
  47. set {cos.%loop-value in lower case%.enabled} to true
  48.  
  49. loop {cos.animationList::*}:
  50. if yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}" is set:
  51. set {_value} to yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}"
  52. if {_value} parsed as a boolean is set:
  53. set {cos.animations.%loop-value%} to {_value} parsed as a boolean
  54.  
  55. if {cos.animations.%loop-value%} is not set:
  56. set {cos.animations.%loop-value%} to true
  57.  
  58. if {cos.randomAnimation} is not set:
  59. set {cos.randomAnimation} to false
  60.  
  61. if {cos.holograms.enabled} is not set:
  62. set {cos.holograms.enabled} to true
  63.  
  64. if {cos.holograms.enabled} is true:
  65. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  66. loop {_list::*}:
  67. if yml value "Cosmetics.Hologram.Color" of file "{@path}/%loop-value%.yml" is set:
  68. set {cos.holograms.color.%loop-value%} to yml value "Cosmetics.Hologram.Color" of file "{@path}/%loop-value%.yml"
  69.  
  70. if {cos.holograms.color.%loop-value%} is not set:
  71. set {cos.holograms.color.%loop-value%} to "&a&l"
  72.  
  73. if {cos.defaultAnimation} is not set:
  74. set {cos.defaultAnimation} to "Window"
  75.  
  76. if {cos.holograms.enabled} is true:
  77. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  78. set {_world} to {lobby.world}
  79. loop {_list::*}:
  80. loop {cos.crates.%loop-value%.location::*}:
  81. set {holo-crate-%{_world}%.%loop-value-2%} to a new hologram at block above loop-value-2
  82. add text "%{cos.holograms.color}%%loop-value-1%" to hologram {holo-crate-%{_world}%.%loop-value-2%}
  83.  
  84.  
  85. function startup():
  86. clear {cos.pieces::*}
  87. clear {cos.defaultTrue::*}
  88. clear {cos.animationList::*}
  89. add "helmet", "chestplate", "leggings" and "boots" to {cos.pieces::*}
  90. add "Animations.Window", "Animations.Random.Enabled", "Particles.Enabled", "Heads.Enabled", "Suits.Enabled", "Gadgets.Enabled" and "Holograms.Enabled" to {cos.defaultTrue::*}
  91. add "Window" to {cos.animationList::*}
  92.  
  93. if file "{@config}" doesn't exist:
  94. create file "{@config}"
  95.  
  96. loop {cos.defaultTrue::*}:
  97. set yml value "Cosmetics.%loop-value%" of file "{@config}" to true
  98.  
  99. set yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}" to "Window"
  100. #set yml value "Cosmetics.Hologram.Color" of file "{@config}" to "&a"
  101.  
  102. loop {cos.animationList::*}:
  103. set yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}" to true
  104.  
  105. else:
  106. loop {cos.defaultTrue::*}:
  107. if yml value "Cosmetics.%loop-value%" of file "{@config}" is not set:
  108. set yml value "Cosmetics.%loop-value%" of file "{@config}" to true
  109.  
  110. if yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}" is not set:
  111. set yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}" to "Window"
  112.  
  113. loop {cos.animationList::*}:
  114. if yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}" is not set:
  115. set yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}" to true
  116.  
  117. else:
  118. set {_value} to yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}"
  119. if {_value} parsed as a boolean is not set:
  120. set yml value "Cosmetics.Animations.Info.%loop-value%.Enabled" of file "{@config}" to true
  121.  
  122. getVariables()
  123. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  124.  
  125. if {cos.holograms.enabled} is true:
  126. loop {_list::*}:
  127. if yml value "Cosmetics.Hologram.Color" of file "{@path}/%loop-value%.yml" is not set:
  128. set yml value "Cosmetics.Hologram.Color" of file "{@path}/%loop-value%.yml" to "&a"
  129.  
  130. delete yml list "Locations" of file "{@path}/%loop-value%.yml"
  131. loop {lobbycr.%loop-value%.location::*}:
  132. add loop-value-2 to {lobbycr.%loop-value-1%.location::*}
  133. set {holo-crate-%{world.lobby}%-%loop-value-2%} to new hologram at location 1 meters above (loop-value-2)
  134. add text "%{cos.holograms.color.%loop-value-1%}%%loop-value-1%" to hologram {holo-crate-%{world.lobby}%-%loop-value-2%}
  135.  
  136. #loop {_list::*}:
  137. # set {holo-crate-%world of event-block%-%location of event-block%} to new hologram at location 1 meters above event-block
  138. # add text "&a&l%uncolored name of player's tool%" to hologram {holo-crate-%world of event-block%-%location of event-block%}
  139. # add "%location of block at event-block%" to yml list "Locations" of file "{@path}/%uncolored name of player's tool%.yml"
  140.  
  141.  
  142. function deleteVariables(p: Player):
  143. loop {cos.pieces::*}:
  144. delete {cosmetics.edit.%{_p}%.%loop-value%}
  145. delete {cosmetics.edit.%{_p}%.%loop-value%.name}
  146. delete {cosmetics.edit.%{_p}%.%loop-value%.lore::*}
  147. delete {cosmetics.edit.%{_p}%.%loop-value%.ench::*}
  148. #{cosmetics.edit.%{_p}%.%{_piece}%.name}
  149.  
  150. delete {cosmetics.edit.%{_p}%.helmet.type}
  151. delete {cosmetics.edit.%{_p}%.helmet.player}
  152. delete {cosmetics.edit.%{_p}%.helmet.type}
  153. delete {cosmetics.edit.%{_p}%.helmet.skull}
  154.  
  155. delete {cosmetics.edit.%{_p}%.type}
  156. delete {cosmetics.edit.%{_p}%.current}
  157. delete {cosmetics.edit.%{_p}%.crate}
  158. delete {cosmetics.edit.%{_p}%.pieceText}
  159.  
  160. #-----------------------------------{ Functions / Cosmetics }-----------------------------------
  161. function randomReward(crate: String) :: Item:
  162. set {_rewardList::*} to yml list "Item.List" of file "{@path}/%{_crate}%.yml"
  163. set {_rewardsNames::*} to yml list "Item.ConfigName" of file "{@path}/%{_crate}%.yml"
  164.  
  165. set {_count} to 1
  166. loop {_rewardList::*}:
  167. if yml value "Item.Chance.%{_rewardsNames::%{_count}%}%" of file "{@path}/%{_crate}%.yml" is set:
  168. set {_chance} to yml value "Item.Chance.%{_rewardsNames::%{_count}%}%" of file "{@path}/%{_crate}%.yml" parsed as a string
  169.  
  170. if ({_chance} parsed as a number) is set:
  171. loop ({_chance} parsed as a number) times:
  172. add "%loop-value-1% [{$^^$}] %{_rewardsNames::%loop-index%}%" to {_rewards::*}
  173.  
  174. else:
  175. send "%nl%%{lobby.logo.Lobby}% &c%{_chance}% &4is not a number!%nl%" to console
  176.  
  177. add 1 to {_count}
  178.  
  179. set {_length} to size of {_rewards::*}
  180. set {_prizeNumber} to a random integer between 0 and {_length}
  181. set {_splitPrize::*} to {_rewards::%{_prizeNumber}%} split at " [{$^^$}] "
  182.  
  183. set {_prize} to {_splitPrize::1}
  184. set {_prizeCName} to {_splitPrize::2}
  185.  
  186. if ({_prize} parsed as an item) is not set:
  187. send "%{lobby.logo.Lobby}% &c%{_prize}% &4is not an item! Stopping opening the crate!" to console
  188.  
  189. else:
  190. set {_prize} to {_prize} parsed as an item
  191.  
  192. if yml value "Item.Name.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml" is set:
  193. set {_prizeName} to yml value "Item.Name.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml"
  194. set {_prizeName} to "%colored {_prizeName}%"
  195. set name of {_prize} to "&f%{_prizeName}%"
  196.  
  197. if yml value "Item.Amount.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml" is set:
  198. set {_prizeAmount} to yml value "Item.Amount.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml"
  199. set {_prizeAmount} to ({_prizeAmount} parsed as a number)
  200. if {_prizeAmount} is set:
  201. set {_prize} to ("%{_prizeAmount}% %{_prize}%" parsed as an item)
  202.  
  203. else:
  204. send "%{lobby.logo.Lobby}% &c%{_prizeAmount}% &4is not a number!" to console
  205. set {_prize} to ("1 %{_prize}%" parsed as an item)
  206.  
  207. if yml value "Item.Lore.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml" is set:
  208. set {_loreList::*} to yml list "Item.Lore.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml"
  209. loop {_loreList::*}:
  210. if {_lore} is not set:
  211. set {_lore} to "%loop-value%"
  212. else:
  213. set {_lore} to "%{_lore}%||%loop-value%"
  214.  
  215. set lore of {_prize} to {_lore}
  216.  
  217.  
  218. if yml value "Item.Enchants.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml" is set:
  219. set {_enchantList::*} to yml list "Item.Enchants.%{_prizeCName}%" of file "{@path}/%{_crate}%.yml"
  220. loop {_enchantList::*}:
  221. set {_ench} to "%loop-value%"
  222. set {_split::*} to {_ench} split at ""
  223.  
  224. if contains({_split::*}, ":") is true:
  225. set {_eSplit::*} to {_ench} split at ":"
  226. set {_ench1} to {_eSplit::1}
  227. set {_ench2} to {_eSplit::2}
  228.  
  229. if ({_ench1} parsed as an enchantment type) is set:
  230. if ({_ench2} parsed as a number) is set:
  231. enchant {_prize} with "%{_ench1}% %{_ench2}%" parsed as an enchantment type
  232. set name of {_prize} to "&b%{_prizeName}%"
  233. else:
  234. send "%nl%%{lobby.logo.Lobby}% &c%{_s2}% &4is not a number!%nl%" to console
  235. else:
  236. send "%nl%%{lobby.logo.Lobby}% &c%{_s1}% &4is not an enchantment type!%nl%" to console
  237.  
  238. else:
  239. if (loop-value parsed as an enchantment type) is set:
  240. enchant {_prize} with "%loop-value% 1" parsed as an enchantment type
  241.  
  242. else:
  243. send "%{lobby.logo.Lobby}% &c%loop-value% &4is not an enchantment type!" to console
  244.  
  245. return {_prize}
  246.  
  247. function animation_window(p: Player, count: Integer, count2: Integer) :: boolean:
  248. loop 9 times:
  249. if {crates.reopening.%{_p}%} is true:
  250. delete {crates.reopening.%{_p}%}
  251. #clear {crate.%{_p}%.inv::*}
  252. delete {crate.%{_p}%.name}
  253. set {crates.opening.%{_p}%} to true
  254. wait 2 ticks
  255.  
  256. if {crates.closed.%{_p}%} is true:
  257. if {_count} = {_count2}-18:
  258. set {crate.%{_p}%.inv::%{_count}%} to "light green glass"
  259. set {crate.%{_p}%.inv::%{_count2}%} to "light green glass"
  260. else:
  261. set {crate.%{_p}%.inv::%{_count}%} to "gray glass"
  262. set {crate.%{_p}%.inv::%{_count2}%} to "gray glass"
  263.  
  264. else:
  265. if {_count} = {_count2}-18:
  266. format slot {_count} of {_p} with light green stained glass pane to be unstealable
  267. format slot {_count2} of {_p} with light green stained glass pane to be unstealable
  268.  
  269. else:
  270. format slot {_count} of {_p} with gray stained glass pane to be unstealable
  271. format slot {_count2} of {_p} with gray stained glass pane to be unstealable
  272.  
  273. add 1 to {_count}
  274. remove 1 from {_count2}
  275. wait 5 ticks
  276.  
  277. set {animation.%{_p}%} to false
  278.  
  279. function runAnimation(p: Player, animation: Integer, count: Integer, count2: Integer, forced: Boolean):
  280. if {_animation} is 1:
  281. if {_forced} is false:
  282. if {cos.animations.Window} is true:
  283. animation_window({_p}, {_count}, {_count2})
  284. set {animation.%{_p}%} to true
  285. else:
  286. animation_window({_p}, {_count}, {_count2})
  287. set {animation.%{_p}%} to true
  288.  
  289.  
  290. function openCrate(p: Player, crate: String):
  291. #send "Run" to {_p}
  292. if {keys.%{_p}%.%{_crate}%} > 0:
  293. wait 2 ticks
  294. open chest with 3 rows named "&2%{_crate}%" to {_p}
  295. wait 2 ticks
  296.  
  297. set {crates.opening.%{_p}%} to true
  298.  
  299. #Value to wait for animation
  300. set {animation.%{_p}%} to false
  301. set {_count} to 0
  302. set {_count2} to 26
  303.  
  304. #Animations
  305. set {_random} to randomReward({_crate})
  306.  
  307. if {cos.randomAnimation} is true:
  308. set {_animationNumber} to a random integer between 0 and 1
  309.  
  310. else:
  311. set {_animation} to yml value "Cosmetics.Animations.Random.DefaultAnimation" of file "{@config}"
  312.  
  313. if {_animation} is "Window":
  314. set {_animationNumber} to 1
  315.  
  316. else:
  317. send "%{lobby.logo.Lobby}% &4The animation &c%{_animation}% &4doesn't exist! Running Window as animation!" to console
  318. set {_animationNumber} to 1
  319.  
  320.  
  321.  
  322. runAnimation({_p}, {_animationNumber}, {_count}, {_count2}, false)
  323.  
  324. if {animation.%{_p}%} is false:
  325. runAnimation({_p}, 1, {_count}, {_count2}, true)
  326.  
  327. #delete {animation.%{_p}%}
  328. while {animation.%{_p}%} is true:
  329. wait 1 tick
  330. #delete {animation.%{_p}%}
  331.  
  332.  
  333. delete {animation.%{_p}%}
  334.  
  335.  
  336. #if name of {_p}'s current inventory is "&2%{crate.%player%.name}%":
  337. if {crate.%{_p}%.name} is not set:
  338. format slot 13 of {_p} with {_random} to be unstealable
  339.  
  340. play sound "ENTITY_PLAYER_LEVELUP" with volume 10 and pitch 5 at {_p} for all players
  341.  
  342. delete {crates.closed.%{_p}%}
  343. remove {_p} from {crates.openinglist::*}
  344. delete {crate.%{_p}%.inv::*}
  345. delete {crate.%{_p}%.name}
  346. delete {crates.opening.%{_p}%}
  347. remove 1 from {keys.%{_p}%.%{_crate}%}
  348. set {_name} to name of {_random}
  349.  
  350.  
  351. launch ball coloured aqua and blue at {_p}'s location timed 0.9
  352. give {_p} {_random}
  353. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%You've won %{lobby.arcatedColor.Lobby}%%{_name}%%{lobby.chatColor.Lobby}%!" to {_p}
  354.  
  355. else:
  356. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%You don't have anough keys to do this!" to {_p}
  357. play sound "ENTITY.ITEM.BREAK" with volume 10 and pitch 1 at {_p} for {_p}
  358.  
  359. #-----------------------------------{ Functions / SetupCosmetic }-----------------------------------
  360. function setHeadType(p: Player, nbt: String, name: String):
  361. play sound "BLOCK_NOTE_PLING" with volume 10 and pitch 1 at {_p} for {_p}
  362. set {cosmetics.edit.%{_p}%} to "go_back"
  363. close {_p}'s inventory
  364. delete {cosmetics.edit.%{_p}%}
  365. set {cosmetics.edit.%{_p}%.helmet.player} to "%{_nbt}%"
  366. set {cosmetics.edit.%{_p}%.helmet.name} to "%{_name}%"
  367. editPiece({_p}, "helmet", "Helmet", {cosmetics.edit.%{_p}%.type})
  368.  
  369. function editCosFormat(p: Player, piece: String, pieceText: String) :: item:
  370. set {_item} to ("barrier" parsed as an item)
  371.  
  372. if {cosmetics.edit.%{_p}%.%{_piece}%} is set:
  373. if ("%{cosmetics.edit.%{_p}%.%{_piece}%}%" parsed as an item type) is set:
  374. set {_item} to ("%{cosmetics.edit.%{_p}%.%{_piece}%}%" parsed as an item)
  375.  
  376. else if {_piece} is "helmet":
  377. set {_headType} to "%{cosmetics.edit.%{_p}%.%{_piece}%}%"
  378. if contains(({_headType} split at " "), "head"):
  379. set {_item} to head
  380.  
  381. if {cosmetics.edit.%{_p}%.%{_piece}%.name} is set:
  382. set name of {_item} to "%{cosmetics.edit.%{_p}%.%{_piece}%.name}%"
  383.  
  384. else:
  385. set name of {_item} to "&2%{_pieceText}%"
  386.  
  387. if {cosmetics.edit.%{_p}%.%{_piece}%.lore} is set:
  388. set lore of {_item} to {cosmetics.edit.%{_p}%.%{_piece}%.lore}
  389.  
  390. else:
  391. set name of {_item} to "&4%{_pieceText}%"
  392.  
  393. return {_item}
  394.  
  395. function runEditPiece(p: Player, type: String, closeType: String, piece: String, pieceText: String):
  396. set {cosmetics.edit.%{_p}%} to "%{_closeType}%"
  397. close {_p}'s inventory
  398. delete {cosmetics.edit.%{_p}%}
  399. set {cosmetics.edit.%{_p}%.helmet.type} to "%{_type}%"
  400. editPiece({_p}, "%{_piece}%", "%{_pieceText}%", {cosmetics.edit.%{_p}%.type})
  401.  
  402.  
  403. function setSkullType(p: Player):
  404. wait 2 tick
  405. open chest with 3 rows named "&8Choose Type" to {_p}
  406.  
  407. if {cosmetics.edit.%{_p}%.helmet.type} is "Player":
  408. set {_player} to skull of ("MHF_Steve" parsed as an offline player) named "&2Player"
  409. set {_mob} to skull of ("MHF_CaveSpider" parsed as an offline player) named "&4Mob"
  410.  
  411. else if {cosmetics.edit.%{_p}%.helmet.type} is "Mob":
  412. set {_player} to skull of ("MHF_Steve" parsed as an offline player) named "&4Player"
  413. set {_mob} to skull of ("MHF_CaveSpider" parsed as an offline player) named "&2Mob"
  414.  
  415. else:
  416. set {_player} to skull of ("MHF_Steve" parsed as an offline player) named "&4Player"
  417. set {_mob} to skull of ("MHF_CaveSpider" parsed as an offline player) named "&4Mob"
  418.  
  419.  
  420. format slot 12 of {_p} with {_player} to run [runEditPiece({_p}, "go_back", "Player", "helmet", "Helmet")]
  421.  
  422. format slot 14 of {_p} with {_mob} to run [runEditPiece({_p}, "go_back", "Mob", "helmet", "Helmet")]
  423.  
  424.  
  425. format slot 18 of {_p} with arrow named "&c<< Go Back" to run [runEditPiece({_p}, "go_back", {cosmetics.edit.%{_p}%.helmet.type}, "helmet", "Helmet")]
  426.  
  427. function setSkullOwnerMob(p: Player, page: Integer):
  428. wait 1 tick
  429. open chest with 3 rows named "&8Edit SkullOwner" to {_p}
  430.  
  431. if {_page} is 1:
  432. format slot 26 of {_p} with an arrow named "&cNext Page >>" to run [setSkullOwnerMob({_p}, 2)]
  433.  
  434.  
  435.  
  436. format slot 0 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:cfdaf903-18cf-4a92-acf2-efa8626cf0b2,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWU5OWRlZWY5MTlkYjY2YWMyYmQyOGQ2MzAyNzU2Y2NkNTdjN2Y4YjEyYjlkY2E4ZjQxYzNlMGEwNGFjMWNjIn19fQ}]}}}" named "&eBat" to run [setHeadType({_p}, "{SkullOwner:{Id:cfdaf903-18cf-4a92-acf2-efa8626cf0b2,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWU5OWRlZWY5MTlkYjY2YWMyYmQyOGQ2MzAyNzU2Y2NkNTdjN2Y4YjEyYjlkY2E4ZjQxYzNlMGEwNGFjMWNjIn19fQ}]}}}", "Bat")]
  437. format slot 1 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:7ceb88b2-7f5f-4399-abb9-7068251baa9d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjc4ZWYyZTRjZjJjNDFhMmQxNGJmZGU5Y2FmZjEwMjE5ZjViMWJmNWIzNWE0OWViNTFjNjQ2Nzg4MmNiNWYwIn19fQ}]}}}" named "&eBlaze" to run [setHeadType({_p}, "{SkullOwner:{Id:7ceb88b2-7f5f-4399-abb9-7068251baa9d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYjc4ZWYyZTRjZjJjNDFhMmQxNGJmZGU5Y2FmZjEwMjE5ZjViMWJmNWIzNWE0OWViNTFjNjQ2Nzg4MmNiNWYwIn19fQ}]}}}", "Blaze")]
  438. format slot 2 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:39173a7a-c957-4ec1-ac1a-43e5a64983df,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDE2NDVkZmQ3N2QwOTkyMzEwN2IzNDk2ZTk0ZWViNWMzMDMyOWY5N2VmYzk2ZWQ3NmUyMjZlOTgyMjQifX19}]}}}" named "&eCave Spider" to run [setHeadType({_p}, "{SkullOwner:{Id:39173a7a-c957-4ec1-ac1a-43e5a64983df,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDE2NDVkZmQ3N2QwOTkyMzEwN2IzNDk2ZTk0ZWViNWMzMDMyOWY5N2VmYzk2ZWQ3NmUyMjZlOTgyMjQifX19}]}}}", "Cave Spider")]
  439. format slot 3 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:7d3a8ace-e045-4eba-ab71-71dbf525daf1,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTYzODQ2OWE1OTljZWVmNzIwNzUzNzYwMzI0OGE5YWIxMWZmNTkxZmQzNzhiZWE0NzM1YjM0NmE3ZmFlODkzIn19fQ}]}}}" named "&eChicken" to run [setHeadType({_p}, "{SkullOwner:{Id:7d3a8ace-e045-4eba-ab71-71dbf525daf1,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTYzODQ2OWE1OTljZWVmNzIwNzUzNzYwMzI0OGE5YWIxMWZmNTkxZmQzNzhiZWE0NzM1YjM0NmE3ZmFlODkzIn19fQ}]}}}", "Chicken")]
  440. format slot 4 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:97ddf3b3-9dbe-4a3b-8a0f-1b19ddeac0bd,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWQ2YzZlZGE5NDJmN2Y1ZjcxYzMxNjFjNzMwNmY0YWVkMzA3ZDgyODk1ZjlkMmIwN2FiNDUyNTcxOGVkYzUifX19}]}}}" named "&eCow" to run [setHeadType({_p}, "{SkullOwner:{Id:97ddf3b3-9dbe-4a3b-8a0f-1b19ddeac0bd,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWQ2YzZlZGE5NDJmN2Y1ZjcxYzMxNjFjNzMwNmY0YWVkMzA3ZDgyODk1ZjlkMmIwN2FiNDUyNTcxOGVkYzUifX19}]}}}", "Cow")]
  441. format slot 5 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:eed2d903-ca32-4cc7-b33b-ca3bdbe18da4,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjQyNTQ4MzhjMzNlYTIyN2ZmY2EyMjNkZGRhYWJmZTBiMDIxNWY3MGRhNjQ5ZTk0NDQ3N2Y0NDM3MGNhNjk1MiJ9fX0}]}}}" named "&eCreeper" to run [setHeadType({_p}, "{SkullOwner:{Id:eed2d903-ca32-4cc7-b33b-ca3bdbe18da4,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjQyNTQ4MzhjMzNlYTIyN2ZmY2EyMjNkZGRhYWJmZTBiMDIxNWY3MGRhNjQ5ZTk0NDQ3N2Y0NDM3MGNhNjk1MiJ9fX0}]}}}", "Creeper")]
  442. format slot 6 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:26f49e8e-2414-40e4-be79-fcf921ad1d12,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjNhOTc2YzA0N2Y0MTJlYmM1Y2IxOTcxMzFlYmVmMzBjMDA0YzBmYWY0OWQ4ZGQ0MTA1ZmNhMTIwN2VkYWZmMyJ9fX0}]}}}" named "&eDonkey" to run [setHeadType({_p}, "{SkullOwner:{Id:26f49e8e-2414-40e4-be79-fcf921ad1d12,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjNhOTc2YzA0N2Y0MTJlYmM1Y2IxOTcxMzFlYmVmMzBjMDA0YzBmYWY0OWQ4ZGQ0MTA1ZmNhMTIwN2VkYWZmMyJ9fX0}]}}}", "Donkey")]
  443. format slot 7 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:e56a8749-8a4a-40cc-9ded-3c90f8ae8c63,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWM3OTc0ODJhMTRiZmNiODc3MjU3Y2IyY2ZmMWI2ZTZhOGI4NDEzMzM2ZmZiNGMyOWE2MTM5Mjc4YjQzNmIifX19}]}}}" named "&eElder Guardian" to run [setHeadType({_p}, "{SkullOwner:{Id:e56a8749-8a4a-40cc-9ded-3c90f8ae8c63,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMWM3OTc0ODJhMTRiZmNiODc3MjU3Y2IyY2ZmMWI2ZTZhOGI4NDEzMzM2ZmZiNGMyOWE2MTM5Mjc4YjQzNmIifX19}]}}}", "Elder Guardian")]
  444. format slot 8 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:0de98464-1274-4dd6-bba8-370efa5d41a8,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2E1OWJiMGE3YTMyOTY1YjNkOTBkOGVhZmE4OTlkMTgzNWY0MjQ1MDllYWRkNGU2YjcwOWFkYTUwYjljZiJ9fX0}]}}}" named "&eEnderman" to run [setHeadType({_p}, "{SkullOwner:{Id:0de98464-1274-4dd6-bba8-370efa5d41a8,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2E1OWJiMGE3YTMyOTY1YjNkOTBkOGVhZmE4OTlkMTgzNWY0MjQ1MDllYWRkNGU2YjcwOWFkYTUwYjljZiJ9fX0}]}}}", "Enderman")]
  445.  
  446. format slot 9 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:af1e1c5d-c3af-45c5-93eb-212c2a485338,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWJjN2I5ZDM2ZmI5MmI2YmYyOTJiZTczZDMyYzZjNWIwZWNjMjViNDQzMjNhNTQxZmFlMWYxZTY3ZTM5M2EzZSJ9fX0}]}}}" named "&eEndermite" to run [setHeadType({_p}, "{SkullOwner:{Id:af1e1c5d-c3af-45c5-93eb-212c2a485338,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWJjN2I5ZDM2ZmI5MmI2YmYyOTJiZTczZDMyYzZjNWIwZWNjMjViNDQzMjNhNTQxZmFlMWYxZTY3ZTM5M2EzZSJ9fX0}]}}}", "Endermite")]
  447. format slot 10 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:9aef1ff9-7e67-4954-8cb6-0bf685147fe6,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjMwY2U3NzVlZGI2NWRiOGMyNzQxYmRmYWU4NGYzYzBkMDI4NWFiYTkzYWZhZGM3NDkwMGQ1NWRmZDk1MDRhNSJ9fX0}]}}}" named "&eEvoker" to run [setHeadType({_p}, "{SkullOwner:{Id:9aef1ff9-7e67-4954-8cb6-0bf685147fe6,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjMwY2U3NzVlZGI2NWRiOGMyNzQxYmRmYWU4NGYzYzBkMDI4NWFiYTkzYWZhZGM3NDkwMGQ1NWRmZDk1MDRhNSJ9fX0}]}}}", "Evoker")]
  448. format slot 11 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:807f287f-6499-4e93-a887-0a298ab3091f,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGI2YTcyMTM4ZDY5ZmJiZDJmZWEzZmEyNTFjYWJkODcxNTJlNGYxYzk3ZTVmOTg2YmY2ODU1NzFkYjNjYzAifX19}]}}}" named "&eGhast" to run [setHeadType({_p}, "{SkullOwner:{Id:807f287f-6499-4e93-a887-0a298ab3091f,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOGI2YTcyMTM4ZDY5ZmJiZDJmZWEzZmEyNTFjYWJkODcxNTJlNGYxYzk3ZTVmOTg2YmY2ODU1NzFkYjNjYzAifX19}]}}}", "Ghast")]
  449. format slot 12 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:f3898fe0-04fb-4f9c-8f8b-146a1d894007,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzI1YWY5NjZhMzI2ZjlkOTg0NjZhN2JmODU4MmNhNGRhNjQ1M2RlMjcxYjNiYzllNTlmNTdhOTliNjM1MTFjNiJ9fX0}]}}}" named "&eGuardian" to run [setHeadType({_p}, "{SkullOwner:{Id:f3898fe0-04fb-4f9c-8f8b-146a1d894007,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzI1YWY5NjZhMzI2ZjlkOTg0NjZhN2JmODU4MmNhNGRhNjQ1M2RlMjcxYjNiYzllNTlmNTdhOTliNjM1MTFjNiJ9fX0}]}}}", "Guardian")]
  450. format slot 13 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:022202fd-9546-4492-b8b6-b768e95701c2,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2JiNGIyODg5OTFlZmI4Y2EwNzQzYmVjY2VmMzEyNThiMzFkMzlmMjQ5NTFlZmIxYzljMThhNDE3YmE0OGY5In19fQ}]}}}" named "&eHorse" to run [setHeadType({_p}, "{SkullOwner:{Id:022202fd-9546-4492-b8b6-b768e95701c2,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvN2JiNGIyODg5OTFlZmI4Y2EwNzQzYmVjY2VmMzEyNThiMzFkMzlmMjQ5NTFlZmIxYzljMThhNDE3YmE0OGY5In19fQ}]}}}", "Horse")]
  451. format slot 14 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:1abe147b-ea7a-470c-8e74-16ce8fed6cb6,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDY3NGM2M2M4ZGI1ZjRjYTYyOGQ2OWEzYjFmOGEzNmUyOWQ4ZmQ3NzVlMWE2YmRiNmNhYmI0YmU0ZGIxMjEifX19}]}}}" named "&eHusk" to run [setHeadType({_p}, "{SkullOwner:{Id:1abe147b-ea7a-470c-8e74-16ce8fed6cb6,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDY3NGM2M2M4ZGI1ZjRjYTYyOGQ2OWEzYjFmOGEzNmUyOWQ4ZmQ3NzVlMWE2YmRiNmNhYmI0YmU0ZGIxMjEifX19}]}}}", "Husk")]
  452. format slot 15 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:75fb08e5-2419-46fa-bf09-57362138f234,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJiMWVjZmY3N2ZmZTNiNTAzYzMwYTU0OGViMjNhMWEwOGZhMjZmZDY3Y2RmZjM4OTg1NWQ3NDkyMTM2OCJ9fX0}]}}}" named "&eLlama" to run [setHeadType({_p}, "{SkullOwner:{Id:75fb08e5-2419-46fa-bf09-57362138f234,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJiMWVjZmY3N2ZmZTNiNTAzYzMwYTU0OGViMjNhMWEwOGZhMjZmZDY3Y2RmZjM4OTg1NWQ3NDkyMTM2OCJ9fX0}]}}}", "Llama")]
  453. format slot 16 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:96aced64-5b85-4b99-b825-53cd7a9f9726,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzg5NTdkNTAyM2M5MzdjNGM0MWFhMjQxMmQ0MzQxMGJkYTIzY2Y3OWE5ZjZhYjM2Yjc2ZmVmMmQ3YzQyOSJ9fX0}]}}}" named "&eMagma Cube" to run [setHeadType({_p}, "{SkullOwner:{Id:96aced64-5b85-4b99-b825-53cd7a9f9726,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzg5NTdkNTAyM2M5MzdjNGM0MWFhMjQxMmQ0MzQxMGJkYTIzY2Y3OWE5ZjZhYjM2Yjc2ZmVmMmQ3YzQyOSJ9fX0}]}}}", "Magma Cube")]
  454. format slot 17 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:e206ac29-ae69-475b-909a-fb523d894336,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDBiYzYxYjk3NTdhN2I4M2UwM2NkMjUwN2EyMTU3OTEzYzJjZjAxNmU3YzA5NmE0ZDZjZjFmZTFiOGRiIn19fQ}]}}}" named "&eMooshroom" to run [setHeadType({_p}, "{SkullOwner:{Id:e206ac29-ae69-475b-909a-fb523d894336,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDBiYzYxYjk3NTdhN2I4M2UwM2NkMjUwN2EyMTU3OTEzYzJjZjAxNmU3YzA5NmE0ZDZjZjFmZTFiOGRiIn19fQ}]}}}", "Mooshroom")]
  455.  
  456.  
  457. else if {_page} is 2:
  458. format slot 18 of {_p} with an arrow named "&c<< Page Back" to run [setSkullOwnerMob({_p}, 1)]
  459.  
  460. format slot 0 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:1fd5db60-329f-4dcd-9e8d-7d4adc68ff29,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA0ODZhNzQyZTdkZGEwYmFlNjFjZTJmNTVmYTEzNTI3ZjFjM2IzMzRjNTdjMDM0YmI0Y2YxMzJmYjVmNWYifX19}]}}}" named "&eMule" to run [setHeadType({_p}, "{SkullOwner:{Id:1fd5db60-329f-4dcd-9e8d-7d4adc68ff29,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTA0ODZhNzQyZTdkZGEwYmFlNjFjZTJmNTVmYTEzNTI3ZjFjM2IzMzRjNTdjMDM0YmI0Y2YxMzJmYjVmNWYifX19}]}}}", "Mule")]
  461. format slot 1 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:664dd492-3fcd-443b-9e61-4c7ebd9e4e10,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTY1N2NkNWMyOTg5ZmY5NzU3MGZlYzRkZGNkYzY5MjZhNjhhMzM5MzI1MGMxYmUxZjBiMTE0YTFkYjEifX19}]}}}" named "&eOcelot" to run [setHeadType({_p}, "{SkullOwner:{Id:664dd492-3fcd-443b-9e61-4c7ebd9e4e10,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTY1N2NkNWMyOTg5ZmY5NzU3MGZlYzRkZGNkYzY5MjZhNjhhMzM5MzI1MGMxYmUxZjBiMTE0YTFkYjEifX19}]}}}", "Ocelot")]
  462. format slot 2 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:d890586d-3e18-41fc-a93d-9040dc25409b,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTRiYThkNjZmZWNiMTk5MmU5NGI4Njg3ZDZhYjRhNTMyMGFiNzU5NGFjMTk0YTI2MTVlZDRkZjgxOGVkYmMzIn19fQ}]}}}" named "&eParrot" to run [setHeadType({_p}, "{SkullOwner:{Id:d890586d-3e18-41fc-a93d-9040dc25409b,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTRiYThkNjZmZWNiMTk5MmU5NGI4Njg3ZDZhYjRhNTMyMGFiNzU5NGFjMTk0YTI2MTVlZDRkZjgxOGVkYmMzIn19fQ}]}}}", "Parrot")]
  463. format slot 3 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:e1e1c2e4-1ed2-473d-bde2-3ec718535399,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjIxNjY4ZWY3Y2I3OWRkOWMyMmNlM2QxZjNmNGNiNmUyNTU5ODkzYjZkZjRhNDY5NTE0ZTY2N2MxNmFhNCJ9fX0}]}}}" named "&ePig" to run [setHeadType({_p}, "{SkullOwner:{Id:e1e1c2e4-1ed2-473d-bde2-3ec718535399,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjIxNjY4ZWY3Y2I3OWRkOWMyMmNlM2QxZjNmNGNiNmUyNTU5ODkzYjZkZjRhNDY5NTE0ZTY2N2MxNmFhNCJ9fX0}]}}}", "Pig")]
  464. format slot 4 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:87324464-1700-468f-8333-e7779ec8c21e,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDQ2ZDIzZjA0ODQ2MzY5ZmEyYTM3MDJjMTBmNzU5MTAxYWY3YmZlODQxOTk2NjQyOTUzM2NkODFhMTFkMmIifX19}]}}}" named "&ePolar Bear" to run [setHeadType({_p}, "{SkullOwner:{Id:87324464-1700-468f-8333-e7779ec8c21e,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDQ2ZDIzZjA0ODQ2MzY5ZmEyYTM3MDJjMTBmNzU5MTAxYWY3YmZlODQxOTk2NjQyOTUzM2NkODFhMTFkMmIifX19}]}}}", "Polar Bear")]
  465. format slot 5 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:02703b0c-573f-4042-a91b-659a3981b508,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmZlY2M2YjVlNmVhNWNlZDc0YzQ2ZTc2MjdiZTNmMDgyNjMyN2ZiYTI2Mzg2YzZjYzc4NjMzNzJlOWJjIn19fQ}]}}}" named "&eRabbit" to run [setHeadType({_p}, "{SkullOwner:{Id:02703b0c-573f-4042-a91b-659a3981b508,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmZlY2M2YjVlNmVhNWNlZDc0YzQ2ZTc2MjdiZTNmMDgyNjMyN2ZiYTI2Mzg2YzZjYzc4NjMzNzJlOWJjIn19fQ}]}}}", "Rabbit")]
  466. format slot 6 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:fa234925-9dbe-4b8f-a544-7c70fb6b6ac5,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjMxZjljY2M2YjNlMzJlY2YxM2I4YTExYWMyOWNkMzNkMThjOTVmYzczZGI4YTY2YzVkNjU3Y2NiOGJlNzAifX19}]}}}" named "&eSheep" to run [setHeadType({_p}, "{SkullOwner:{Id:fa234925-9dbe-4b8f-a544-7c70fb6b6ac5,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjMxZjljY2M2YjNlMzJlY2YxM2I4YTExYWMyOWNkMzNkMThjOTVmYzczZGI4YTY2YzVkNjU3Y2NiOGJlNzAifX19}]}}}", "Sheep")]
  467. format slot 7 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:ef81234c-eb95-4ed6-b914-ca4ec0ac165e,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTQzM2E0YjczMjczYTY0YzhhYjI4MzBiMGZmZjc3N2E2MWE0ODhjOTJmNjBmODNiZmIzZTQyMWY0MjhhNDQifX19}]}}}" named "&eShulker" to run [setHeadType({_p}, "{SkullOwner:{Id:ef81234c-eb95-4ed6-b914-ca4ec0ac165e,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTQzM2E0YjczMjczYTY0YzhhYjI4MzBiMGZmZjc3N2E2MWE0ODhjOTJmNjBmODNiZmIzZTQyMWY0MjhhNDQifX19}]}}}", "Shulker")]
  468. format slot 8 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:30a4cd5c-5754-4db8-8960-18022a74627d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGE5MWRhYjgzOTFhZjVmZGE1NGFjZDJjMGIxOGZiZDgxOWI4NjVlMWE4ZjFkNjIzODEzZmE3NjFlOTI0NTQwIn19fQ}]}}}" named "&eSilverfish" to run [setHeadType({_p}, "{SkullOwner:{Id:30a4cd5c-5754-4db8-8960-18022a74627d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGE5MWRhYjgzOTFhZjVmZGE1NGFjZDJjMGIxOGZiZDgxOWI4NjVlMWE4ZjFkNjIzODEzZmE3NjFlOTI0NTQwIn19fQ}]}}}", "Silverfish")]
  469.  
  470. format slot 9 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:4e02d3bb-f0d1-4730-b282-c3d5d99192d8,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGE0ZTJhZjY1MDA1MzhkZmVhMzc5YmVhMTE0NzFlNjJjM2RkNDY2NjE3YWYxYzVmMmJkYTM0NzI3NWE4NjkifX19}]}}}" named "&eSkeleton" to run [setHeadType({_p}, "{SkullOwner:{Id:4e02d3bb-f0d1-4730-b282-c3d5d99192d8,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGE0ZTJhZjY1MDA1MzhkZmVhMzc5YmVhMTE0NzFlNjJjM2RkNDY2NjE3YWYxYzVmMmJkYTM0NzI3NWE4NjkifX19}]}}}", "Skeleton")]
  471. format slot 10 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:bcbce5bf-86c4-4e62-9fc5-0cc90de94b6d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDdlZmZjZTM1MTMyYzg2ZmY3MmJjYWU3N2RmYmIxZDIyNTg3ZTk0ZGYzY2JjMjU3MGVkMTdjZjg5NzNhIn19fQ}]}}}" named "&eSkeleton Horse" to run [setHeadType({_p}, "{SkullOwner:{Id:bcbce5bf-86c4-4e62-9fc5-0cc90de94b6d,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDdlZmZjZTM1MTMyYzg2ZmY3MmJjYWU3N2RmYmIxZDIyNTg3ZTk0ZGYzY2JjMjU3MGVkMTdjZjg5NzNhIn19fQ}]}}}", "Skeleton Horse")]
  472. format slot 11 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:7f0b0873-df6a-4a19-9bcd-f6c90ef804c7,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODk1YWVlYzZiODQyYWRhODY2OWY4NDZkNjViYzQ5NzYyNTk3ODI0YWI5NDRmMjJmNDViZjNiYmI5NDFhYmU2YyJ9fX0}]}}}" named "&eSlime" to run [setHeadType({_p}, "{SkullOwner:{Id:7f0b0873-df6a-4a19-9bcd-f6c90ef804c7,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODk1YWVlYzZiODQyYWRhODY2OWY4NDZkNjViYzQ5NzYyNTk3ODI0YWI5NDRmMjJmNDViZjNiYmI5NDFhYmU2YyJ9fX0}]}}}", "Slime")]
  473. format slot 12 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:8bdb71d0-4724-48b2-9344-e79480424798,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2Q1NDE1NDFkYWFmZjUwODk2Y2QyNThiZGJkZDRjZjgwYzNiYTgxNjczNTcyNjA3OGJmZTM5MzkyN2U1N2YxIn19fQ}]}}}" named "&eSpider" to run [setHeadType({_p}, "{SkullOwner:{Id:8bdb71d0-4724-48b2-9344-e79480424798,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2Q1NDE1NDFkYWFmZjUwODk2Y2QyNThiZGJkZDRjZjgwYzNiYTgxNjczNTcyNjA3OGJmZTM5MzkyN2U1N2YxIn19fQ}]}}}", "Spider")]
  474. format slot 13 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:f95d9504-ea2b-4b89-b2d0-d400654a7010,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMDE0MzNiZTI0MjM2NmFmMTI2ZGE0MzRiODczNWRmMWViNWIzY2IyY2VkZTM5MTQ1OTc0ZTljNDgzNjA3YmFjIn19fQ}]}}}" named "&eSquid" to run [setHeadType({_p}, "{SkullOwner:{Id:f95d9504-ea2b-4b89-b2d0-d400654a7010,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMDE0MzNiZTI0MjM2NmFmMTI2ZGE0MzRiODczNWRmMWViNWIzY2IyY2VkZTM5MTQ1OTc0ZTljNDgzNjA3YmFjIn19fQ}]}}}", "Squid")]
  475. format slot 14 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:644c9bad-958b-43ce-9d2f-199d85be607c,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzhkZGY3NmU1NTVkZDVjNGFhOGEwYTVmYzU4NDUyMGNkNjNkNDg5YzI1M2RlOTY5ZjdmMjJmODVhOWEyZDU2In19fQ}]}}}" named "&eStray" to run [setHeadType({_p}, "{SkullOwner:{Id:644c9bad-958b-43ce-9d2f-199d85be607c,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzhkZGY3NmU1NTVkZDVjNGFhOGEwYTVmYzU4NDUyMGNkNjNkNDg5YzI1M2RlOTY5ZjdmMjJmODVhOWEyZDU2In19fQ}]}}}", "Stray")]
  476. format slot 15 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:f6e25015-1a90-46eb-88b7-ce3f14bf00d4,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJlYzVhNTE2NjE3ZmYxNTczY2QyZjlkNWYzOTY5ZjU2ZDU1NzVjNGZmNGVmZWZhYmQyYTE4ZGM3YWI5OGNkIn19fQ}]}}}" named "&eVex" to run [setHeadType({_p}, "{SkullOwner:{Id:f6e25015-1a90-46eb-88b7-ce3f14bf00d4,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYzJlYzVhNTE2NjE3ZmYxNTczY2QyZjlkNWYzOTY5ZjU2ZDU1NzVjNGZmNGVmZWZhYmQyYTE4ZGM3YWI5OGNkIn19fQ}]}}}", "Vex")]
  477. format slot 16 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:0a9e8efb-9191-4c81-80f5-e27ca5433156,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODIyZDhlNzUxYzhmMmZkNGM4OTQyYzQ0YmRiMmY1Y2E0ZDhhZThlNTc1ZWQzZWIzNGMxOGE4NmU5M2IifX19}]}}}" named "&eVillager" to run [setHeadType({_p}, "{SkullOwner:{Id:0a9e8efb-9191-4c81-80f5-e27ca5433156,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODIyZDhlNzUxYzhmMmZkNGM4OTQyYzQ0YmRiMmY1Y2E0ZDhhZThlNTc1ZWQzZWIzNGMxOGE4NmU5M2IifX19}]}}}", "Villager")]
  478. format slot 17 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:98f19bf0-2ba9-45f8-a89b-c0f4243909f9,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmRlYWVjMzQ0YWIwOTViNDhjZWFkNzUyN2Y3ZGVlNjFiMDYzZmY3OTFmNzZhOGZhNzY2NDJjODY3NmUyMTczIn19fQ}]}}}" named "&eVindicator" to run [setHeadType({_p}, "{SkullOwner:{Id:98f19bf0-2ba9-45f8-a89b-c0f4243909f9,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmRlYWVjMzQ0YWIwOTViNDhjZWFkNzUyN2Y3ZGVlNjFiMDYzZmY3OTFmNzZhOGZhNzY2NDJjODY3NmUyMTczIn19fQ}]}}}", "Vindicator")]
  479.  
  480.  
  481. format slot 26 of {_p} with an arrow named "&cNext Page >>" to run [setSkullOwnerMob({_p}, 3)]
  482.  
  483. else if {_page} is 3:
  484. format slot 18 of {_p} with an arrow named "&c<< Page Back" to run [setSkullOwnerMob({_p}, 2)]
  485.  
  486. format slot 0 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:7f92b3d6-5ee0-4ab6-afae-2206b9514a63,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjBlMTNkMTg0NzRmYzk0ZWQ1NWFlYjcwNjk1NjZlNDY4N2Q3NzNkYWMxNmY0YzNmODcyMmZjOTViZjlmMmRmYSJ9fX0}]}}}" named "&eWitch" to run [setHeadType({_p}, "{SkullOwner:{Id:7f92b3d6-5ee0-4ab6-afae-2206b9514a63,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjBlMTNkMTg0NzRmYzk0ZWQ1NWFlYjcwNjk1NjZlNDY4N2Q3NzNkYWMxNmY0YzNmODcyMmZjOTViZjlmMmRmYSJ9fX0}]}}}", "Witch")]
  487. format slot 1 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:9b6eb2a3-8c99-4e14-9162-58debe3f9262,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzk1M2I2YzY4NDQ4ZTdlNmI2YmY4ZmIyNzNkNzIwM2FjZDhlMWJlMTllODE0ODFlYWQ1MWY0NWRlNTlhOCJ9fX0}]}}}" named "&eWither Skeleton" to run [setHeadType({_p}, "{SkullOwner:{Id:9b6eb2a3-8c99-4e14-9162-58debe3f9262,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzk1M2I2YzY4NDQ4ZTdlNmI2YmY4ZmIyNzNkNzIwM2FjZDhlMWJlMTllODE0ODFlYWQ1MWY0NWRlNTlhOCJ9fX0}]}}}", "Wither Skeleton")]
  488. format slot 2 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:fa5d3210-6e39-47ca-adb4-a3b2f0f966d9,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjlkMWQzMTEzZWM0M2FjMjk2MWRkNTlmMjgxNzVmYjQ3MTg4NzNjNmM0NDhkZmNhODcyMjMxN2Q2NyJ9fX0}]}}}" named "&eWolf" to run [setHeadType({_p}, "{SkullOwner:{Id:fa5d3210-6e39-47ca-adb4-a3b2f0f966d9,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjlkMWQzMTEzZWM0M2FjMjk2MWRkNTlmMjgxNzVmYjQ3MTg4NzNjNmM0NDhkZmNhODcyMjMxN2Q2NyJ9fX0}]}}}", "Wolf")]
  489. format slot 3 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:9959dd98-efb3-4ee9-a8fb-2fda0218cda0,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTZmYzg1NGJiODRjZjRiNzY5NzI5Nzk3M2UwMmI3OWJjMTA2OTg0NjBiNTFhNjM5YzYwZTVlNDE3NzM0ZTExIn19fQ}]}}}" named "&eZombie" to run [setHeadType({_p}, "{SkullOwner:{Id:9959dd98-efb3-4ee9-a8fb-2fda0218cda0,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTZmYzg1NGJiODRjZjRiNzY5NzI5Nzk3M2UwMmI3OWJjMTA2OTg0NjBiNTFhNjM5YzYwZTVlNDE3NzM0ZTExIn19fQ}]}}}", "Zombie")]
  490. format slot 4 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:ab9ea02c-4fd1-4895-85c9-d2b407d5d6f2,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDIyOTUwZjJkM2VmZGRiMThkZTg2ZjhmNTVhYzUxOGRjZTczZjEyYTZlMGY4NjM2ZDU1MWQ4ZWI0ODBjZWVjIn19fQ}]}}}" named "&eZombie Horse" to run [setHeadType({_p}, "{SkullOwner:{Id:ab9ea02c-4fd1-4895-85c9-d2b407d5d6f2,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDIyOTUwZjJkM2VmZGRiMThkZTg2ZjhmNTVhYzUxOGRjZTczZjEyYTZlMGY4NjM2ZDU1MWQ4ZWI0ODBjZWVjIn19fQ}]}}}", "Zombie Horse")]
  491. format slot 5 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:6540c046-d6ea-4aff-9766-32a54ebe6958,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzRlOWM2ZTk4NTgyZmZkOGZmOGZlYjMzMjJjZDE4NDljNDNmYjE2YjE1OGFiYjExY2E3YjQyZWRhNzc0M2ViIn19fQ}]}}}" named "&eZombie Pigman" to run [setHeadType({_p}, "{SkullOwner:{Id:6540c046-d6ea-4aff-9766-32a54ebe6958,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNzRlOWM2ZTk4NTgyZmZkOGZmOGZlYjMzMjJjZDE4NDljNDNmYjE2YjE1OGFiYjExY2E3YjQyZWRhNzc0M2ViIn19fQ}]}}}", "Zombie Pigman")]
  492. format slot 6 of {_p} with skull of "%{_p}%" parsed as an offline player with nbt "{SkullOwner:{Id:dd1b157c-d732-4d1c-8185-da205188a8cf,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTVlMDhhODc3NmMxNzY0YzNmZTZhNmRkZDQxMmRmY2I4N2Y0MTMzMWRhZDQ3OWFjOTZjMjFkZjRiZjNhYzg5YyJ9fX0}]}}}" named "&eZombie Villager" to run [setHeadType({_p}, "{SkullOwner:{Id:dd1b157c-d732-4d1c-8185-da205188a8cf,Properties:{textures:[{Value:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZTVlMDhhODc3NmMxNzY0YzNmZTZhNmRkZDQxMmRmY2I4N2Y0MTMzMWRhZDQ3OWFjOTZjMjFkZjRiZjNhYzg5YyJ9fX0}]}}}", "Zombie Villager")]
  493.  
  494.  
  495. format slot 22 of {_p} with a barrier named "&4Go Back" to run [runEditPiece({_p}, "go_back", {cosmetics.edit.%{_p}%.helmet.type}, "helmet", "Helmet")]
  496.  
  497.  
  498.  
  499.  
  500.  
  501. function editCos(p: Player, type: String):
  502. wait 2 tick
  503. set {cosmetics.edit.%{_p}%.type} to {_type}
  504. open chest with 1 rows named "&8Choose Category" to {_p}
  505. wait 2 ticks
  506.  
  507. set {_count} to 0
  508. #if {@particles} is true:
  509. if {cos.particles.enabled} is true:
  510. format slot {_count} of {_p} with redstone named "&cParticles" to be unstealable
  511.  
  512.  
  513. #if {@heads} is true:
  514. if {cos.heads.enabled} is true:
  515. format slot {_count} of {_p} with skull of {_p} named "&2Heads" to be unstealable
  516. add 1 to {_count}
  517.  
  518. #if {@suits} is true:
  519. if {cos.suits.enabled} is true:
  520. format slot {_count} of {_p} with golden helmet named "&5Suits" to close then run [editSuit({_p}, {_type})]
  521. add 1 to {_count}
  522.  
  523. #if {@gadgets} is true:
  524. if {cos.gadgets.enabled} is true:
  525. format slot {_count} of {_p} with fire charge named "&bGadgets" to be unstealable
  526. add 1 to {_count}
  527.  
  528. if {_count} is 0:
  529. format slot 0 of {_p} with barrier named "&4None Enabled" to be unstealable
  530.  
  531.  
  532.  
  533. function editSuit(p: Player, type: String):
  534. #=========== Variables ===========
  535. set {cosmetics.edit.%{_p}%.type} to {_type}
  536.  
  537. if {cosmetics.edit.%{_p}%.crate} is not set:
  538. set {cosmetics.edit.%{_p}%.crate} to ""
  539.  
  540. loop {cos.pieces::*}:
  541. if {cosmetics.edit.%{_p}%.%loop-value%} is not set:
  542. set {_%loop-value%} to editCosFormat({_p}, loop-value, firstUpperCase(loop-value))
  543. else:
  544. set {_%loop-value%} to {cosmetics.edit.%{_p}%.%loop-value%}
  545.  
  546.  
  547. set {_save} to true
  548. if {cosmetics.edit.%{_p}%.type} or {cosmetics.edit.%{_p}%.crate} is "":
  549. set {_save} to false
  550.  
  551. else if {_helmet} and {_chestplate} and {_leggings} and {_boots} is barrier:
  552. set {_save} to false
  553.  
  554. #=========== GUI ===========
  555. #Item doesn't show the proper name
  556.  
  557. wait 2 ticks
  558. open chest with 6 rows named "&8Edit" to {_p}
  559. wait 2 ticks
  560.  
  561. if {cosmetics.edit.%{_p}%.type} is "":
  562. format slot 22 of {_p} with a paper named "&7Type: &c<none>" to run [set {cosmetics.edit.%{_p}%} to "setType"]->[close {_p}'s inventory]->[send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the new type of your set in the chat" to {_p}]
  563.  
  564. else:
  565. format slot 22 of {_p} with a paper named "&7Type: &e%{cosmetics.edit.%{_p}%.type}%" to run [close {_p}'s inventory]->[set {cosmetics.edit.%{_p}%} to "setType"]->[send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the new type of your set in the chat" to {_p}]
  566.  
  567. if {cosmetics.edit.%{_p}%.crate} is "":
  568. format slot 31 of {_p} with a chest named "&7Crate: &c<none>" to run [set {cosmetics.edit.%{_p}%} to "setCrate"]->[close {_p}'s inventory]->[send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the new crate of your set in the chat" to {_p}]
  569.  
  570. else:
  571. format slot 31 of {_p} with a chest named "&7Crate: &e%{cosmetics.edit.%{_p}%.crate}%" to run [set {cosmetics.edit.%{_p}%} to "setCrate"]->[close {_p}'s inventory]->[send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the new crate of your set in the chat" to {_p}]
  572.  
  573.  
  574. set slot 10 of {_p}'s current inventory to {_helmet} without any NBT #run [set {cosmetics.edit.%{_p}%} to "helmet"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]->[editPiece({_p}, "helmet", "Helmet", {cosmetics.edit.%{_p}%.type})]
  575.  
  576. set slot 19 of {_p}'s current inventory to {_chestplate} without any NBT #run [set {cosmetics.edit.%{_p}%} to "chestplate"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]->[editPiece({_p}, "chestplate", "Chestplate", {cosmetics.edit.%{_p}%.type})]
  577.  
  578. set slot 28 of {_p}'s current inventory to {_leggings} without any NBT #run [set {cosmetics.edit.%{_p}%} to "leggings"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]->[editPiece({_p}, "leggings", "Leggings", {cosmetics.edit.%{_p}%.type})]
  579.  
  580. set slot 37 of {_p}'s current inventory to {_boots} without any NBT #run [set {cosmetics.edit.%{_p}%} to "boots"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]->[editPiece({_p}, "boots", "Boots", {cosmetics.edit.%{_p}%.type})]
  581.  
  582. if {_save}:
  583. set slot 53 of {_p}'s current inventory to green wool named "&2Save" without any NBT
  584. #format slot 53 of {_p} with green wool named "&2Save" to run [set {cosmetics.edit.%{_p}%} to "go_back"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]
  585. #Save function
  586.  
  587. else:
  588. format slot 53 of {_p} with red wool named "&4Save not possible" to be unstealable
  589.  
  590.  
  591.  
  592. function runSetSkull(p: Player, skull: String):
  593. if {_skull} is "Player":
  594. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the name of the player of your skull in the chat" to {_p}
  595. set {cosmetics.edit.%{_p}%} to "setSkullOwner"
  596. close {_p}'s inventory
  597.  
  598. else if {_skull} is "Mob":
  599. set {cosmetics.edit.%{_p}%} to "go_back"
  600. close {_p}'s inventory
  601. delete {cosmetics.edit.%{_p}%}
  602. setSkullOwnerMob({_p}, 1)
  603.  
  604. function editPiece(p: Player, piece: String, pieceText: String, type: String):
  605. #=========== Variables ===========
  606. send "%{_p}%" to console
  607. set {cosmetics.edit.%{_p}%.current} to "%{_piece}%"
  608. set {cosmetics.edit.%{_p}%.pieceText} to "%{_pieceText}%"
  609. set {_displayItem} to editCosFormat({_p}, "%{_piece}%", "%{_pieceText}%")
  610.  
  611. if {cosmetics.edit.%{_p}%.%{_piece}%} is not set:
  612. set {_item} to an item frame named "&7Item: &c<none>"
  613.  
  614. else if {cosmetics.edit.%{_p}%.%{_piece}%} is "":
  615. set {_item} to an item frame named "&7Item: &c<none>"
  616.  
  617. else if {cosmetics.edit.%{_p}%.%{_piece}%} is barrier:
  618. set {_item} to an item frame named "&7Item: &c<none>"
  619.  
  620. else:
  621. set {_item} to an item frame named "&7Item: &2%{cosmetics.edit.%{_p}%.%{_piece}%}%"
  622.  
  623. if {cosmetics.edit.%{_p}%.%{_piece}%.name} is not set:
  624. set {cosmetics.edit.%{_p}%.%{_piece}%.displayName} to ""
  625.  
  626. if {cosmetics.edit.%{_p}%.%{_piece}%.name} is "":
  627. set {cosmetics.edit.%{_p}%.%{_piece}%.displayName} to ""
  628.  
  629. if {cosmetics.edit.%{_p}%.%{_piece}%.displayName} is "":
  630. if {_displayItem} is barrier:
  631. set {_itemName} to "&4%{_pieceText}%"
  632.  
  633. else:
  634. set {_itemName} to "&2%{_pieceText}%"
  635.  
  636. else:
  637. set {_itemName} to {cosmetics.edit.%{_p}%.%{_piece}%.name}
  638.  
  639. if {cosmetics.edit.%{_p}%.%{_piece}%.name} is not set:
  640. set {_itemName2} to "&c<none>"
  641.  
  642. if {cosmetics.edit.%{_p}%.%{_piece}%.name} is "":
  643. set {_itemName2} to "&c<none>"
  644.  
  645. else:
  646. set {_itemName2} to {cosmetics.edit.%{_p}%.%{_piece}%.name}
  647.  
  648. set {cosmetics.edit.%{_p}%.%{_piece}%} to {_displayItem}
  649.  
  650. replace all "&" in {_itemName} with "§"
  651. replace all "&" in {_itemName2} with "§"
  652.  
  653. set {_nameItem} to a paper named "&7Name: &e%{_itemName2}%"
  654. set name of {_displayItem} to {_itemName2}
  655.  
  656. #=========== GUI ===========
  657. wait 2 ticks
  658. open chest with 3 rows named "&8Edit %{_pieceText}%" to {_p}
  659. wait 2 ticks
  660. #item, name, enchantment and lore (lore || -> new line (also in message!!!))
  661.  
  662. if {_piece} is "helmet":
  663. set {_string} to "%{cosmetics.edit.%{_p}%.helmet}%"
  664. set {_split::*} to {_string} split at " "
  665.  
  666. if contains({_split::*}, "head"):
  667. if {cosmetics.edit.%{_p}%.helmet.type} is set:
  668. set {_changeType} to a redstone repeater named "&7Skull Type: &e%{cosmetics.edit.%{_p}%.helmet.type}%"
  669.  
  670. else:
  671. set {_changeType} to a redstone repeater named "&7Skull Type: &c<none>"
  672.  
  673. if {cosmetics.edit.%{_p}%.helmet.player} is set:
  674. if {cosmetics.edit.%{_p}%.helmet.type} is "Mob":
  675. set {cosmetics.edit.%{_p}%.helmet.skull} to skull of "%{_p}%" parsed as an offline player with nbt "%{cosmetics.edit.%{_p}%.helmet.player}%" named "&7Skull Owner: &e%{cosmetics.edit.%{_p}%.helmet.name}%"
  676. set {_displayItem} to skull of "%{_p}%" parsed as an offline player with nbt "%{cosmetics.edit.%{_p}%.helmet.player}%" named "&f%{cosmetics.edit.%{_p}%.helmet.name}%"
  677. set {cosmetics.edit.%{_p}%.helmet} to {_displayItem}
  678.  
  679. else if {cosmetics.edit.%{_p}%.helmet.type} is "Player":
  680. set {cosmetics.edit.%{_p}%.helmet.skull} to skull of "%{cosmetics.edit.%{_p}%.helmet.player}%" parsed as an offline player named "&7Skull Owner: &e%{cosmetics.edit.%{_p}%.helmet.player}%"
  681. set {_displayItem} to skull of "%{_p}%" parsed as an offline player with nbt "%{cosmetics.edit.%{_p}%.helmet.player}%" named "&f%{cosmetics.edit.%{_p}%.helmet.name}%"
  682. set {cosmetics.edit.%{_p}%.helmet} to {_displayItem}
  683.  
  684. else:
  685. set {cosmetics.edit.%{_p}%.helmet.skull} to skull of ("MHF_Steve" parsed as an offline player) named "&7Skull Owner: &c<none>"
  686.  
  687. format slot 1 of {_p} with {_changeType} to run [set {cosmetics.edit.%{_p}%} to "go_back"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]->[setSkullType({_p})]
  688.  
  689. format slot 19 of {_p} with {cosmetics.edit.%{_p}%.helmet.skull} to run [runSetSkull({_p}, {cosmetics.edit.%{_p}%.helmet.type})]
  690.  
  691.  
  692. format slot 18 of {_p} with arrow named "&c<< Go Back" to run [set {cosmetics.edit.%{_p}%} to "go_back"]->[close {_p}'s inventory]->[delete {cosmetics.edit.%{_p}%}]->[editSuit({_p}, {_type})]
  693.  
  694. format slot 12 of {_p} with {_item} to run [set {cosmetics.edit.%{_p}%} to "set%{_pieceText}%Item"]->[close {_p}'s inventory]->[send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the %{lobby.arcatedColor.Lobby}%%{_piece}% %{lobby.chatColor.Lobby}%type in the chat" to {_p}]
  695.  
  696. format slot 13 of {_p} with {_nameItem} to run [set {cosmetics.edit.%{_p}%} to "set%{_pieceText}%Name"]->[close {_p}'s inventory]->[send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Type the %{lobby.arcatedColor.Lobby}%%{_piece}% %{lobby.chatColor.Lobby}%name in the chat" to {_p}]
  697.  
  698. format slot 10 of {_p} with {_displayItem} to be unstealable
  699.  
  700.  
  701.  
  702. #-----------------------------------{ Events }-----------------------------------
  703. on enable:
  704. startup()
  705.  
  706. on disable:
  707. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  708. set {_world} to world of {lobby.location}
  709.  
  710. loop {_list::*}:
  711. delete yml list "Locations" of file "{@path}/%loop-value%.yml"
  712.  
  713. loop {lobbycr.%loop-value%.location::*}:
  714. add "%loop-value-2%" to yml list "Locations" of file "{@path}/%loop-value-1%.yml"
  715. unregister hologram {holo-crate-%{_world}%-%loop-value-2%}
  716.  
  717. loop {crates.openinglist::*}:
  718. clear {crates.opening.%loop-value%}
  719. clear {crates.%loop-value%.inv::*}
  720. clear {crates.%loop-value%.name}
  721. clear {crate.closed.%loop-value%}
  722.  
  723. clear {crates.openinglist::*}
  724.  
  725.  
  726. on quit:
  727. if {crates.opening.%player%} is set:
  728. clear {crates.opening.%player%}
  729. clear {crates.%player%.inv::*}
  730. clear {crates.%player%.name}
  731. clear {crates.closed.%player%}
  732. remove player from {crates.openinglist::*}
  733.  
  734. deleteVariables(player)
  735.  
  736. on command:
  737. if command doesn't end with "pl":
  738. if command doesn't end with "plugins":
  739. set {cmd} to "%command in lower case%"
  740.  
  741.  
  742. on place of chest:
  743. set {_world} to world of event-block
  744. if {_world} is world of {lobby.location}:
  745. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  746. if contains({_list::*}, "%uncolored name of player's tool%"):
  747.  
  748. add location of block at event-block to {lobbycr.%uncolored name of player's tool%.location::*}
  749. add world of event-block to {lobbycr.%uncolored name of player's tool%.world::*}
  750.  
  751. set {holo-crate-%world of event-block%-%location of event-block%} to new hologram at location 1 meters above event-block
  752. add text "%{cos.holograms.color.%loop-value-1%}%%uncolored name of player's tool%" to hologram {holo-crate-%world of event-block%-%location of event-block%}
  753. add "%location of block at event-block%" to yml list "Locations" of file "{@path}/%uncolored name of player's tool%.yml"
  754.  
  755. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully created a %{lobby.arcatedColor.Lobby}%%uncolored name of player's tool% %{lobby.chatColor.Lobby}%Crate!"
  756.  
  757. on break of chest:
  758. set {_world} to world of event-block
  759. if {_world} is world of {lobby.location}:
  760. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  761. loop {_list::*}:
  762. loop {lobbycr.%loop-value-1%.location::*}:
  763. if loop-value-2 is location of event-block:
  764. remove location of block at event-block from {lobbycr.%loop-value-1%.location::*}
  765. remove world of event-block from {lobbycr.%loop-value-1%.world::*}
  766.  
  767. unregister hologram {holo-crate-%world of event-block%-%location of event-block%}
  768. delete {holo-crate-%world of event-block%-%location of event-block%}
  769. remove "%location of event-block%" from yml list "Locations" of file "{@path}/%loop-value-1%.yml"
  770.  
  771. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully removed a %{lobby.arcatedColor.Lobby}%%loop-value-1% %{lobby.chatColor.Lobby}%Crate!"
  772.  
  773. on rightclick on a chest:
  774. set {_world} to world of clicked block
  775.  
  776. if {_world} is {lobby.world}:
  777. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  778. loop {_list::*}:
  779.  
  780. loop {lobbycr.%loop-value-1%.location::*}:
  781. if "%loop-value-2%" is "%location of clicked block%":
  782. cancel event
  783. if "%uncolored {crate.%player%.name}%" = loop-value-1:
  784. if {crates.opening.%player%} is true:
  785. open chest with 3 rows named "&2%{crate.%player%.name}%" to player
  786. wait 2 ticks
  787.  
  788. set {crates.reopening.%player%} to true
  789. set {_count} to 0
  790.  
  791. loop 27 times:
  792.  
  793. if {crate.%player%.inv::%{_count}%} is set:
  794.  
  795. set {_value} to "%{crate.%player%.inv::%{_count}%}%"
  796. set {_color::*} to {_value} split at " "
  797. if contains({_color::*}, "glass") is true:
  798. if contains({_color::*}, "light") is true:
  799.  
  800. format slot {_count} of player with ("light %{_color::2}% stained glass pane" parsed as an item) to be unstealable
  801.  
  802. else if contains({_color::*}, "dark") is true:
  803. format slot {_count} of player with ("dark %{_color::2}% stained glass pane" parsed as an item) to be unstealable
  804.  
  805. else:
  806. format slot {_count} of player with ("%{_color::1}% stained glass pane" parsed as an item) to be unstealable
  807.  
  808. else:
  809. format slot {_count} of player with ({crate.%player%.inv::%{_count}%} parsed as an item) to be unstealable
  810.  
  811. add 1 to {_count}
  812.  
  813. delete {crates.closed.%player%}
  814. remove player from {crates.openinglist::*}
  815. delete {crate.%player%.name}
  816. #stop loop
  817. stop
  818.  
  819. else:
  820. open chest with 3 rows named "&2%loop-value-1%" to player
  821. wait 2 tick
  822. format slot 13 of player with a tripwire hook named "&7Open crate" with lore "&7Keys left: %{keys.%player%.%loop-value-1%}%" to close then run [openCrate(player, "%loop-value-1%")]
  823. stop loop
  824. else:
  825. open chest with 3 rows named "&2%loop-value-1%" to player
  826. wait 2 ticks
  827. format slot 13 of player with a tripwire hook named "&7Open crate" with lore "&7Keys left: %{keys.%player%.%loop-value-1%}%" to close then run [openCrate(player, "%loop-value-1%")]
  828. stop loop
  829.  
  830. on inventory close:
  831. if {cancelled.%player%}:
  832. delete {cancelled.%player%}
  833. stop
  834.  
  835. if {crates.opening.%player%} is true:
  836.  
  837. set {crates.closed.%player%} to true
  838. add player to {crates.openinglist::*}
  839. set {crate.%player%.name} to name of player's current inventory
  840. set {_count} to 0
  841. loop 27 times:
  842. if {crate.%player%.inv::%{_count}%} is not set:
  843. set {crate.%player%.inv::%{_count}%} to slot {_count} of player's current inventory
  844.  
  845. else if {crate.%player%.inv::%{_count}%} is air:
  846. set {crate.%player%.inv::%{_count}%} to slot {_count} of player's current inventory
  847.  
  848. add 1 to {_count}
  849.  
  850. else if {crates.opening.%player%} is set:
  851. delete {crates.opening.%player%}
  852.  
  853. if name of current inventory of player is "&8Edit" or "&8Edit Helmet" or "&8Edit Chestplate" or "&8Edit Leggings" or "&8Edit Boots" or "&8Choose Category" or "&8Choose Type" or "&8Edit SkullOwner":
  854. if {cosmetics.edit.%player%} is not set:
  855. deleteVariables(player)
  856.  
  857. on inventory click:
  858. if name of clicked inventory is "&8Edit":
  859. if clicked slot is 10:
  860. set {cosmetics.edit.%player%} to "helmet"
  861. close player's inventory
  862. delete {cosmetics.edit.%player%}
  863. editPiece(player, "helmet", "Helmet", {cosmetics.edit.%player%.type})
  864.  
  865. else if clicked slot is 19:
  866. set {cosmetics.edit.%player%} to "chestplate"
  867. close player's inventory
  868. delete {cosmetics.edit.%player%}
  869. editPiece(player, "chestplate", "Chestplate", {cosmetics.edit.%player%.type})
  870.  
  871. else if clicked slot is 28:
  872. set {cosmetics.edit.%player%} to "leggings"
  873. close player's inventory
  874. delete {cosmetics.edit.%player%}
  875. editPiece(player, "leggings", "Leggings", {cosmetics.edit.%player%.type})
  876.  
  877. else if clicked slot is 37:
  878. set {cosmetics.edit.%player%} to "boots"
  879. close player's inventory
  880. delete {cosmetics.edit.%player%}
  881. editPiece(player, "boots", "Boots", {cosmetics.edit.%player%.type})
  882.  
  883. else if clicked slot is 53:
  884. set {cosmetics.edit.%player%} to "go_back"
  885. close player's inventory
  886. delete {cosmetics.edit.%player%}
  887.  
  888. on chat:
  889. if {cosmetics.edit.%player%} is set:
  890. cancel event
  891.  
  892. if {cosmetics.edit.%player%} is "set%{cosmetics.edit.%player%.pieceText}%Item":
  893. if "%message%" is "cancel":
  894. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Cancelled setting the %{lobby.arcatedColor.Lobby}%%{cosmetics.edit.%player%.pieceText} in lower case%%{lobby.chatColor.Lobby}%."
  895. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  896. delete {cosmetics.edit.%player%}
  897.  
  898. else if "%message%" parsed as an item type is not set:
  899. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%is not a a %{lobby.arcatedColor.Lobby}%%{cosmetics.edit.%player%.pieceText} in lower case%%{lobby.chatColor.Lobby}%!"
  900.  
  901. else:
  902. if {cosmetics.edit.%player%.type} is not set:
  903. set {cosmetics.edit.%player%.type} to ""
  904.  
  905. set {_var} to "%message%"
  906. replace all " " in {_var} with "_"
  907.  
  908. if {_var} contains "_":
  909. set {_message::*} to {_var} split at "_"
  910.  
  911. if ({cosmetics.edit.%player%.pieceText} in lower case) is "helmet":
  912. set {_piece} to ("%{cosmetics.edit.%player%.pieceText}%" in lower case)
  913.  
  914. if contains({_message::*}, "helmet"):
  915. set {cosmetics.edit.%player%.%{_piece}%} to "%message in lower case%"
  916.  
  917. else if "%message%" = "head":
  918. set {cosmetics.edit.%player%.%{_piece}%} to "head"
  919.  
  920. else if contains({_message::*}, "head"):
  921. set {cosmetics.edit.%player%.%{_piece}%} to "head"
  922.  
  923. else:
  924. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%is not a helmet!"
  925. stop
  926.  
  927. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set helmet to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  928.  
  929. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  930. delete {cosmetics.edit.%player%}
  931.  
  932. else if ({cosmetics.edit.%player%.pieceText} in lower case) is "chestplate":
  933. set {_piece} to ("%{cosmetics.edit.%player%.pieceText}%" in lower case)
  934.  
  935. if contains({_message::*}, "chestplate") or contains({_message::*}, "tunic"):
  936. set {cosmetics.edit.%player%.%{_piece}%} to "%message in lower case%"
  937.  
  938.  
  939. else:
  940. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%is not a chestplate!"
  941. stop
  942.  
  943. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set chestplate to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  944.  
  945. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  946. delete {cosmetics.edit.%player%}
  947.  
  948.  
  949. else if ({cosmetics.edit.%player%.pieceText} in lower case) is "leggings":
  950. set {_piece} to ("%{cosmetics.edit.%player%.pieceText}%" in lower case)
  951.  
  952. if contains({_message::*}, "leggings"):
  953. set {cosmetics.edit.%player%.%{_piece}%} to "%message in lower case%"
  954.  
  955. else:
  956. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%are no leggings!"
  957. stop
  958.  
  959. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set leggings to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  960.  
  961. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  962. delete {cosmetics.edit.%player%}
  963.  
  964. else if ({cosmetics.edit.%player%.pieceText} in lower case) is "boots":
  965. set {_piece} to ("%{cosmetics.edit.%player%.pieceText}%" in lower case)
  966.  
  967. if contains({_message::*}, "boots"):
  968. set {cosmetics.edit.%player%.%{_piece}%} to "%message in lower case%"
  969.  
  970. else:
  971. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%are no boots!"
  972. stop
  973.  
  974. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set boots to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  975.  
  976. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  977. delete {cosmetics.edit.%player%}
  978.  
  979.  
  980. else:
  981. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%is not a %{lobby.arcatedColor.Lobby}%%{cosmetics.edit.%player%.pieceText} in lower case%%{lobby.chatColor.Lobby}%!"
  982.  
  983. else if {cosmetics.edit.%player%} is "setType":
  984. if "%message%" is "cancel":
  985. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Cancelled setting the type."
  986. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  987. delete {cosmetics.edit.%player%}
  988.  
  989. set {cosmetics.edit.%player%.type} to "%message%"
  990. delete {cosmetics.edit.%player%}
  991.  
  992. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set type to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  993. editSuit(player, {cosmetics.edit.%player%.type})
  994.  
  995.  
  996. else if {cosmetics.edit.%player%} is "setCrate":
  997. if "%message%" is "cancel":
  998. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Cancelled setting the crate."
  999. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  1000. delete {cosmetics.edit.%player%}
  1001.  
  1002. else:
  1003. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1004. if contains({_list::*}, "%message in lower case%"):
  1005. set {cosmetics.edit.%player%.crate} to "%message in lower case%"
  1006. editSuit(player, {cosmetics.edit.%player%.type})
  1007. delete {cosmetics.edit.%player%}
  1008. else:
  1009. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%message% %{lobby.chatColor.Lobby}%is not a valid crate!"
  1010.  
  1011. else if {cosmetics.edit.%player%} is "setSkullOwner":
  1012. if "%message%" is "cancel":
  1013. send "%{lobby.logo.Lobby}% Cancelled setting the skull owner."
  1014. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  1015. delete {cosmetics.edit.%player%}
  1016.  
  1017. else:
  1018. set {cosmetics.edit.%player%.helmet.player} to "%message%"
  1019. set {cosmetics.edit.%player%.helmet.name} to "%message%"
  1020. delete {cosmetics.edit.%player%}
  1021.  
  1022. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set the skull owner to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  1023. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  1024.  
  1025. #{cosmetics.edit.%{_p}%.current}
  1026. #{cosmetics.edit.%{_p}%.pieceText}
  1027. else if {cosmetics.edit.%player%} is "set%{cosmetics.edit.%player%.pieceText}%Name":
  1028. if "%message%" is "cancel":
  1029. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Cancelled setting the %{lobby.arcatedColor.Lobby}%%{cosmetics.edit.%player%.current}% %{lobby.chatColor.Lobby}%name."
  1030. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  1031. delete {cosmetics.edit.%player%}
  1032.  
  1033. else:
  1034. set {cosmetics.edit.%player%.%{cosmetics.edit.%player%.current}%.displayName} to "%message%"
  1035. set {cosmetics.edit.%player%.%{cosmetics.edit.%player%.current}%.name} to "%message%"
  1036.  
  1037. delete {cosmetics.edit.%player%}
  1038.  
  1039. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully set the %{lobby.arcatedColor.Lobby}%%{cosmetics.edit.%player%.current}% %{lobby.chatColor.Lobby}%name to %{lobby.arcatedColor.Lobby}%%message%%{lobby.chatColor.Lobby}%!"
  1040. editPiece(player, {cosmetics.edit.%player%.current}, {cosmetics.edit.%player%.pieceText}, {cosmetics.edit.%player%.type})
  1041.  
  1042.  
  1043.  
  1044. #-----------------------------------{ Commands / cosmetics.* }-----------------------------------
  1045.  
  1046. command /lobbycrate [<text>] [<text>]:
  1047. aliases: /lobbycr, /lcrate
  1048. trigger:
  1049. if player is in world of {lobby.location}:
  1050. if player has permission "votecrate.*":
  1051. if arg-1 is set:
  1052. if arg-1 is "help":
  1053. send "%{lobby.chatColor.Lobby}%----------[ %{lobby.arcatedColor.Lobby}%%{cmd}% %{lobby.chatColor.Lobby}%]----------"
  1054. send "&e&o/%{cmd}% help &d→ &fGet the help page"
  1055. send "&e&o/%{cmd}% list &d→ &fGet a list with all crates"
  1056. send "&e&o/%{cmd}% create <crate> &d→ &fCreate a create"
  1057. send "&e&o/%{cmd}% delete/remove <crate> &d→ &fDelete a crate"
  1058. send "&e&o/%{cmd}% path <crate> &d→ &fGet the edit path of a crate"
  1059. send "&e&o/%{cmd}% get <crate> &d→ &fGet a crate"
  1060.  
  1061. send "%{lobby.chatColor.Lobby}%----------[ %{lobby.arcatedColor.Lobby}%%{cmd}% %{lobby.chatColor.Lobby}%]----------"
  1062.  
  1063. else if arg-1 is "list":
  1064. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1065. if {_list::*} is not empty:
  1066. loop {_list::*}:
  1067. if {_list} is set:
  1068. set {_list} to "%{_list}%%{lobby.chatColor.Lobby}%, %{lobby.arcatedColor.Lobby}%%loop-value%"
  1069. else:
  1070. set {_list} to "%{lobby.arcatedColor.Lobby}%%loop-value%"
  1071.  
  1072. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%There are the following crates:%nl%%{lobby.arcatedColor.Lobby}%%{_list}%"
  1073.  
  1074. else:
  1075. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%There are no crates made yet."
  1076.  
  1077.  
  1078. else if arg-1 is "create":
  1079. if arg-2 is set:
  1080. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1081. set {_arg2} to "%arg-2 in lower case%"
  1082. if contains({_list::*}, {_arg2}):
  1083. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%{_arg2}% %{lobby.chatColor.Lobby}%already exists!"
  1084.  
  1085.  
  1086. else:
  1087.  
  1088. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Making the crate %{lobby.arcatedColor.Lobby}%%{_arg2}%%{lobby.chatColor.Lobby}%..."
  1089. add {_arg2} to yml list "Lobby.Crates.List" of file "{@config}"
  1090. create file "{@path}/%{_arg2}%.yml"
  1091. add "diamond_sword" to yml list "Item.List" of file "{@path}/%{_arg2}%.yml"
  1092. add "diamond_sword-1" to yml list "Item.ConfigName" of file "{@path}/%{_arg2}%.yml"
  1093.  
  1094. set yml value "Item.Chance.diamond_sword-1" of file "{@path}/%{_arg2}%.yml" to "100"
  1095. set yml value "Item.Name.diamond_sword-1" of file "{@path}/%{_arg2}%.yml" to "%{lobby.arcatedColor.Lobby}%Diamond Sword"
  1096. set yml value "Item.Amount.diamond_sword-1" of file "{@path}/%{_arg2}%.yml" to 1
  1097.  
  1098. add "This is a lore" to yml list "Item.Lore.diamond_sword-1" of file "{@path}/%{_arg2}%.yml"
  1099.  
  1100. add "sharpness:1" to yml list "Item.Enchants.diamond_sword-1" of file "{@path}/%{_arg2}%.yml"
  1101.  
  1102. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully made the crate %{lobby.arcatedColor.Lobby}%%{_arg2}%%{lobby.chatColor.Lobby}%!"
  1103.  
  1104.  
  1105. else:
  1106. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You need to give up a %{lobby.arcatedColor.Lobby}%name %{lobby.chatColor.Lobby}%for the crate!"
  1107.  
  1108. else if arg-1 is "delete" or "remove":
  1109. if arg-2 is set:
  1110. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1111. set {_arg2} to "%arg-2 in lower case%"
  1112. if contains({_list::*}, {_arg2}):
  1113. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Deleting the crate %{lobby.arcatedColor.Lobby}%%{_arg2}%%{lobby.chatColor.Lobby}%..."
  1114.  
  1115. remove "%{_arg2}%" from yml list "Lobby.Crates.List" of file "{@config}"
  1116. delete file "{@path}/%{_arg2}%.yml"
  1117.  
  1118. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully deleted the crate %{lobby.arcatedColor.Lobby}%%{_arg2}%%{lobby.chatColor.Lobby}%!"
  1119.  
  1120. else:
  1121. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%{_arg2}% %{lobby.chatColor.Lobby}%doesn't exist!"
  1122.  
  1123. else:
  1124. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You need to give up a %{lobby.arcatedColor.Lobby}%name %{lobby.chatColor.Lobby}%of the crate you want to delete!"
  1125.  
  1126. else if arg-1 is "path":
  1127. if arg-2 is set:
  1128. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1129. set {_arg2} to "%arg-2 in lower case%"
  1130.  
  1131. if contains({_list::*}, {_arg2}):
  1132. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Location of %{_arg2}%: %{lobby.arcatedColor.Lobby}%{@path}/%{_arg2}%%{lobby.chatColor.Lobby}%."
  1133.  
  1134.  
  1135. else:
  1136. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%{_arg2}% %{lobby.chatColor.Lobby}%doesn't exists!"
  1137. else:
  1138. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You need to give up a %{lobby.arcatedColor.Lobby}%name %{lobby.chatColor.Lobby}%of the crate you want to get the path of!"
  1139.  
  1140. else if arg-1 is "get":
  1141. if arg 2 is set:
  1142. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1143. set {_arg2} to "%arg-2 in lower case%"
  1144. if contains({_list::*}, {_arg2}):
  1145. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Here you have the %{lobby.arcatedColor.Lobby}%%{_arg2}% %{lobby.chatColor.Lobby}%crate!%nl%%{lobby.chatColor.Lobby}%Place it to create a chest."
  1146. give player 1 chest named "&e%{_arg2}%" with lore "&7Place to create a crate!"
  1147. else:
  1148. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%{_arg2}% %{lobby.chatColor.Lobby}%doesn't exist!"
  1149. else:
  1150. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You must give up a crate type!"
  1151.  
  1152. else:
  1153. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Do %{lobby.arcatedColor.Lobby}%/%{cmd}% help %{lobby.chatColor.Lobby}%for more info."
  1154. else:
  1155. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Do %{lobby.arcatedColor.Lobby}%/%{cmd}% help %{lobby.chatColor.Lobby}%for more info."
  1156.  
  1157.  
  1158. command /key [<text>] [<text>] [<text>] [<text>]:
  1159. trigger:
  1160. if player has permission "key.*":
  1161. if arg-1 is set:
  1162. if arg-1 is "help":
  1163. send "%{lobby.chatColor.Lobby}%----------[ %{lobby.arcatedColor.Lobby}%%{cmd}% %{lobby.chatColor.Lobby}%]----------"
  1164. send "&e&o/%{cmd}% help &d→ &fGet the help page"
  1165. send "&e&o/%{cmd}% get <crate/all> [number] &d→ &fGet a crate"
  1166. send "&e&o/%{cmd}% give <player> <crate/all> [number] &d→ &fGive a key to open a crate to a player"
  1167. send "&e&o/%{cmd}% remove <all/crate> [number] [player] &d→ &fRemove a key from a player"
  1168. send "&e&o/%{cmd}% clear <all/crate> [player] &d→ &fClear the keys from a player"
  1169. send "&e&o/%{cmd}% keys <all/crate> [player] &d→ &fGet the amount of keys from a player"
  1170. send "%{lobby.chatColor.Lobby}%----------[ %{lobby.arcatedColor.Lobby}%%{cmd}% %{lobby.chatColor.Lobby}%]----------"
  1171.  
  1172. else if arg-1 is "get":
  1173. if arg-2 is "all":
  1174. if arg-3 is set:
  1175. if (arg-3 parsed as a number) is set:
  1176. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1177. set {_num} to arg-3 parsed as a number
  1178. loop {_num} times:
  1179. loop {_list::*}:
  1180. add 1 to {keys.%player%.%loop-value-2%}
  1181.  
  1182. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved all the %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%times!"
  1183.  
  1184. else:
  1185. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not a number!"
  1186. else:
  1187. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1188. loop {_list::*}:
  1189. add 1 to {keys.%player%.%loop-value%}
  1190.  
  1191. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved all keys!"
  1192.  
  1193. else if arg-2 is set:
  1194. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1195. if contains({_list::*}, "%arg-2 in lower case%"):
  1196. if arg-3 is set:
  1197. if (arg-3 parsed as a number) is set:
  1198. add (arg-3 parsed as a number) to {keys.%player%.%arg-2 in lower case%}
  1199. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% %{lobby.chatColor.Lobby}%key %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%times!"
  1200. else:
  1201. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not a number!"
  1202. else:
  1203. add 1 to {keys.%player%.%arg-2 in lower case%}
  1204.  
  1205. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved a %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% %{lobby.chatColor.Lobby}%key!"
  1206. else:
  1207. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% %{lobby.chatColor.Lobby}%doesn't exist."
  1208. else:
  1209. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You must give up a %{lobby.arcatedColor.Lobby}%crate%{lobby.chatColor.Lobby}%!"
  1210.  
  1211. else if arg-1 is "give":
  1212. if arg-2 is set:
  1213. if (arg-2 parsed as a player) is set:
  1214. if arg-3 is set:
  1215. if arg-3 is "all":
  1216. if arg-4 is set:
  1217. if (arg-4 parsed as a number) is set:
  1218. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1219. set {_num} to arg-4 parsed as a number
  1220. loop {_num} times:
  1221. loop {_list::*}:
  1222. add 1 to {keys.%arg-2 parsed as a player%.%loop-value-2%}
  1223.  
  1224. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully given %{lobby.arcatedColor.Lobby}%%name of arg-2 parsed as a player% %{lobby.chatColor.Lobby}%all the keys %{lobby.arcatedColor.Lobby}%%arg-4% %{lobby.chatColor.Lobby}%times!"
  1225. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved all the keys %{lobby.arcatedColor.Lobby}%%arg-4% %{lobby.chatColor.Lobby}%times!" to arg-2 parsed as a player
  1226.  
  1227. else:
  1228. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not a number!"
  1229. else:
  1230. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1231. loop {_list::*}:
  1232. add 1 to {keys.%arg-2 parsed as a player%.%loop-value%}
  1233.  
  1234. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully given %{lobby.arcatedColor.Lobby}%%name of arg-2 parsed as a player% %{lobby.chatColor.Lobby}%all the keys!"
  1235. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved all the keys!" to arg-2 parsed as a player
  1236. else:
  1237. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1238. if contains({_list::*}, "%arg-3 in lower case%"):
  1239. if arg-4 is set:
  1240. if (arg-4 parsed as a number) is set:
  1241.  
  1242. add (arg-4 parsed as a number) to {keys.%arg-2%.%arg-3 in lower case%}
  1243.  
  1244. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully given %{lobby.arcatedColor.Lobby}%%name of arg-2 parsed as a player% %{lobby.chatColor.Lobby}%the %{lobby.arcatedColor.Lobby}%%arg-3 in lower case% %{lobby.chatColor.Lobby}%key %{lobby.arcatedColor.Lobby}%%arg-4% %{lobby.chatColor.Lobby}%times!"
  1245. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved the %{lobby.arcatedColor.Lobby}%%arg-3 in lower case% %{lobby.chatColor.Lobby}%key %{lobby.arcatedColor.Lobby}%%arg-4% %{lobby.chatColor.Lobby}%times!" to arg-2 parsed as a player
  1246.  
  1247. else:
  1248. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not a number!"
  1249. else:
  1250. add 1 to {keys.%arg-2 parsed as a player%.%arg-3 in lower case%}
  1251.  
  1252. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully given %{lobby.arcatedColor.Lobby}%%name of arg-2 parsed as a player% %{lobby.chatColor.Lobby}%the %{lobby.arcatedColor.Lobby}%%arg-3 in lower case% %{lobby.chatColor.Lobby}%key!"
  1253. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have recieved the %{lobby.arcatedColor.Lobby}%%arg-3 in lower case% %{lobby.chatColor.Lobby}%key!" to arg-2 parsed as a player
  1254. else:
  1255. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%arg-3 in lower case% %{lobby.chatColor.Lobby}%doesn't exist!"
  1256. else:
  1257. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You must give up a %{lobby.arcatedColor.Lobby}%crate%{lobby.chatColor.Lobby}%!"
  1258. else:
  1259. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The player %{lobby.arcatedColor.Lobby}%%arg-2% %{lobby.chatColor.Lobby}%is not online!"
  1260. else:
  1261. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You must give up a %{lobby.arcatedColor.Lobby}%player%{lobby.chatColor.Lobby}%!"
  1262.  
  1263.  
  1264.  
  1265. else if arg-1 is "remove":
  1266. if arg-2 is set:
  1267. if arg-2 is "all":
  1268. if arg-3 is set:
  1269. if (arg-3 parsed as a number) is set:
  1270. if arg-4 is set:
  1271. if (arg-4 parsed as a player) is set:
  1272. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1273. set {_num} to arg-3 parsed as a number
  1274. loop {_list::*}:
  1275. if {keys.%arg-4 parsed as a player%.%loop-value%}-{_num} >= 0:
  1276. remove {_num} from {keys.%name of arg-4 parsed as a player%.%loop-value%}
  1277. else:
  1278. set {keys.%arg-4 parsed as a player%.%loop-value%} to 0
  1279.  
  1280. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully removed %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%from all the keys of %{lobby.arcatedColor.Lobby}%%name of arg-4 parsed as a player%%{lobby.chatColor.Lobby}%!"
  1281. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Removed %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%from your keys!" to arg-4 parsed as a player
  1282.  
  1283. else:
  1284. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The player %{lobby.arcatedColor.Lobby}%%arg-4% %{lobby.chatColor.Lobby}%is not online!"
  1285. else:
  1286. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1287. loop {_list::*}:
  1288. if {keys.%player%.%loop-value%}-(arg-3 parsed as a number) >= 0:
  1289. remove (arg-3 parsed as a number) from {keys.%player%.%loop-value%}
  1290. else:
  1291. set {keys.%player%.%loop-value%} to 0
  1292.  
  1293. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully removed %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%from all the keys!"
  1294.  
  1295. else:
  1296. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not a number!"
  1297. else:
  1298. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1299. loop {_list::*}:
  1300. if {keys.%player%.%loop-value%}-1 >= 0:
  1301. remove 1 from {keys.%player%.%loop-value%}
  1302.  
  1303. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully removed %{lobby.arcatedColor.Lobby}%1 %{lobby.chatColor.Lobby}%from all the keys"
  1304. else:
  1305. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1306. if contains({_list::*}, "%arg-2 in lower case%"):
  1307. if arg-3 is set:
  1308. if (arg-3 parsed as a number) is set:
  1309. if arg-4 is set:
  1310. if (arg-4 parsed as a player) is set:
  1311. if {keys.%arg-4 parsed as a player%.%arg-2 in lower case%}-(arg-3 parsed as a number) >= 0:
  1312. remove (arg-3 parsed as a number) from {keys.%name of arg-4 parsed as a player%.%arg-2 in lower case%}
  1313. else:
  1314. set {keys.%arg-4 parsed as a player%.%arg-2 in lower case%} to 0
  1315.  
  1316. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully removed %{lobby.arcatedColor.Lobby}%%arg-3% %arg-2 in lower case% %{lobby.chatColor.Lobby}%keys from %{lobby.arcatedColor.Lobby}%%name of arg-4 parsed as a player%%{lobby.chatColor.Lobby}%!"
  1317. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %arg-2 in lower case% %{lobby.chatColor.Lobby}%keys have been removed!" to arg-4 parsed as a player
  1318.  
  1319. else:
  1320. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The player %{lobby.arcatedColor.Lobby}%%arg-4% %{lobby.chatColor.Lobby}%is not online!"
  1321. else:
  1322.  
  1323. if {keys.%player%.%arg-2 in lower case%}-(arg-3 parsed as a number) >= 0:
  1324. remove (arg-3 parsed as a number) from {keys.%player%.%arg-2 in lower case%}
  1325. send "%{lobby.logo.Lobby}% &2Succesfully removed &a%arg-3% %arg-2 in lower case% &2keys!"
  1326.  
  1327. else:
  1328. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not a number!"
  1329.  
  1330. else:
  1331. if {keys.%player%.%arg-2 in lower case%}-1 >= 0:
  1332. remove 1 from {keys.%player%.%arg-2 in lower case%}
  1333. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully removed %{lobby.arcatedColor.Lobby}%1 %arg-2 in lower case% %{lobby.chatColor.Lobby}%keys!"
  1334. else:
  1335. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% %{lobby.chatColor.Lobby}%doesn't exist."
  1336. else:
  1337. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You must give up a %{lobby.arcatedColor.Lobby}%crate%{lobby.chatColor.Lobby}%!"
  1338.  
  1339. else if arg-1 is "clear":
  1340. if arg-2 is set:
  1341. if arg-2 is "all":
  1342. if arg-3 is set:
  1343. if (arg-3 parsed as a player) is set:
  1344. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1345. loop {_list::*}:
  1346. set {keys.%arg-3 parsed as a player%.%loop-value%} to 0
  1347.  
  1348. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully cleared %{lobby.arcatedColor.Lobby}%all keys %{lobby.chatColor.Lobby}%of %{lobby.arcatedColor.Lobby}%%name of arg-3 parsed as a player%%{lobby.chatColor.Lobby}%!"
  1349. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%All %{lobby.chatColor.Lobby}%your %{lobby.arcatedColor.Lobby}%keys %{lobby.chatColor.Lobby}%have been cleared!" to arg-3 parsed as a player
  1350. else:
  1351. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The player %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not online!"
  1352. else:
  1353. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1354. loop {_list::*}:
  1355. set {keys.%player%.%loop-value%} to 0
  1356.  
  1357. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have cleared %{lobby.arcatedColor.Lobby}%all %{lobby.chatColor.Lobby}%your %{lobby.arcatedColor.Lobby}%keys%{lobby.chatColor.Lobby}%!"
  1358. else:
  1359. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1360. if contains({_list::*}, "%arg-2 in lower case%"):
  1361. if arg-3 is set:
  1362. if (arg-3 parsed as a player) is set:
  1363. set {keys.%arg-3 parsed as a player%.%arg-2 in lower case%} to 0
  1364. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have cleared the %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% keys %{lobby.chatColor.Lobby}%from %{lobby.arcatedColor.Lobby}%%name of arg-3 parsed as a player%%{lobby.chatColor.Lobby}%!"
  1365. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Your %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% keys %{lobby.chatColor.Lobby}%have been cleared!" to arg-3 parsed as a player
  1366.  
  1367. else:
  1368. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The player %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not online!"
  1369.  
  1370. else:
  1371. set {keys.%player%.%arg-2 in lower case%} to 0
  1372. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Succesfully cleared the %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% keys%{lobby.chatColor.Lobby}%!"
  1373.  
  1374. else:
  1375. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% %{lobby.chatColor.Lobby}%doesn't exist!"
  1376. else:
  1377. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You must give up a %{lobby.arcatedColor.Lobby}%crate%{lobby.chatColor.Lobby}%!"
  1378.  
  1379. else if arg-1 is "keys":
  1380. if arg-2 is set:
  1381. if arg-2 is "all":
  1382. if arg-3 is set:
  1383. if (arg-3 parsed as a player) is set:
  1384. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1385. loop {_list::*}:
  1386. if {keys.%arg-3 parsed as a player%.%loop-value%} is not set:
  1387. set {keys.%arg-3 parsed as a player%.%loop-value%} to 0
  1388.  
  1389. if {_keys} is not set:
  1390. set {_keys} to "%{lobby.chatColor.Lobby}%%loop-value%: %{lobby.arcatedColor.Lobby}%%{keys.%name of arg-3 parsed as a player%.%loop-value%}%"
  1391. else:
  1392. set {_keys} to "%{_keys}%%nl%%{lobby.chatColor.Lobby}%%loop-value%: %{lobby.arcatedColor.Lobby}%%{keys.%name of arg-3 parsed as a player%.%loop-value%}%"
  1393.  
  1394. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%This is the list of keys from %{lobby.arcatedColor.Lobby}%%name of arg-3 parsed as a player%%{lobby.chatColor.Lobby}%:%nl%%{_keys}%"
  1395.  
  1396. else:
  1397. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The player %{lobby.arcatedColor.Lobby}%%arg-3% %{lobby.chatColor.Lobby}%is not online!"
  1398. else:
  1399. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1400. loop {_list::*}:
  1401. if {keys.%player%.%loop-value%} is not set:
  1402. set {keys.%player%.%loop-value%} to 0
  1403. if {_keys} is not set:
  1404. set {_keys} to "%{lobby.chatColor.Lobby}%%loop-value%: %{lobby.arcatedColor.Lobby}%%{keys.%player%.%loop-value%}%"
  1405. else:
  1406. set {_keys} to "%{_keys}%%nl%%{lobby.chatColor.Lobby}%%loop-value%: %{lobby.arcatedColor.Lobby}%%{keys.%player%.%loop-value%}%"
  1407.  
  1408. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%This is your list of keys%{lobby.chatColor.Lobby}%:%nl%%{_keys}%"
  1409. else:
  1410. set {_list::*} to yml list "Lobby.Crates.List" of file "{@config}"
  1411. if contains({_list::*}, "%arg-2 in lower case%"):
  1412. if arg-3 is set:
  1413. if (arg-3 parsed as a player) is set:
  1414. if {keys.%arg-3 parsed as a player%.%arg-2 in lower case%} is not set:
  1415. set {keys.%arg-3 parsed as a player%.%arg-2 in lower case%} to 0
  1416.  
  1417. send "%{lobby.logo.Lobby}% %{lobby.arcatedColor.Lobby}%%name of arg-3 parsed as a player% %{lobby.chatColor.Lobby}%has %{lobby.arcatedColor.Lobby}%%{keys.%arg-3%.%arg-2 in lower case%}% %arg-2 in lower case% %{lobby.chatColor.Lobby}%keys."
  1418.  
  1419. else:
  1420. send "%{lobby.logo.Lobby}% &4The player &c%arg-3% &4is not online!"
  1421. else:
  1422. if {keys.%player%.%arg-2 in lower case%} is not set:
  1423. set {keys.%player%.%arg-2 in lower case%} to 0
  1424.  
  1425. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You have %{lobby.arcatedColor.Lobby}%%{keys.%player%.%arg-2 in lower case%}% %arg-2 in lower case% %{lobby.chatColor.Lobby}%keys."
  1426. else:
  1427. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The crate %{lobby.arcatedColor.Lobby}%%arg-2 in lower case% %{lobby.chatColor.Lobby}%doesn't exist!"
  1428. else:
  1429. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%You need to give up a %{lobby.arcatedColor.Lobby}%crate%{lobby.chatColor.Lobby}%!"
  1430. else:
  1431. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Do %{lobby.arcatedColor.Lobby}%/%{cmd}% help %{lobby.chatColor.Lobby}%for more info!"
  1432. else:
  1433. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Do %{lobby.arcatedColor.Lobby}%/%{cmd}% help %{lobby.chatColor.Lobby}%for more info!"
  1434.  
  1435.  
  1436. command /cosmetics [<text>] [<text>] [<text>]:
  1437. aliases: /cos
  1438. trigger:
  1439. if player has permission "cosmetics.*":
  1440. if arg-1 is not set:
  1441. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Do %{lobby.arcatedColor.Lobby}%/%{cmd}% help %{lobby.chatColor.Lobby}%for more info!"
  1442.  
  1443. else if arg-1 is "help":
  1444. send "%{lobby.chatColor.Lobby}%----------[ %{lobby.arcatedColor.Lobby}%%{cmd}% %{lobby.chatColor.Lobby}%]----------"
  1445. send "&e&o/%{cmd}% help &d→ &fGet the help page"
  1446. send "&e&o/%{cmd}% gui [player] &d→ &fGet the cosmetics (of a player)"
  1447. send "&e&o/%{cmd}% setup [<type>] &d→ &fCreate a cosmetic"
  1448. send "&e&o/%{cmd}% edit [type] &d→ &fEdit a cosmetic"
  1449. #send "&e&o/%{cmd}% delete [type] [name] &d→ &fDelete a cosmetic"
  1450. send "&e&o/%{cmd}% path &d→ &fCreate your own cosmetics"
  1451. send "%{lobby.chatColor.Lobby}%----------[ %{lobby.arcatedColor.Lobby}%%{cmd}% %{lobby.chatColor.Lobby}%]----------"
  1452.  
  1453. #else if arg-1 is "gui":
  1454. # if arg-2 is set:
  1455. # if arg-2 parsed as a player is set:
  1456. #
  1457.  
  1458. # else:
  1459. # send "%{lobby.logo.Lobby}% &4The player &c%arg-2% &4has never logged in."
  1460.  
  1461. # else:
  1462.  
  1463. else if arg-1 is "setup":
  1464. if arg-2 is set:
  1465. editCos(player, "%arg-2%")
  1466. #open chest with 1 rows named "&8Cosmetics %arg-2%" to player
  1467. #format slot 2 of player with nether star named "&fCreate" to close
  1468. #format slot 4 of player with redstone repeater named "&fEdit" to close
  1469. #format slot 6 of player with blaze powder named "&fDelete" to close
  1470.  
  1471. else:
  1472. editCos(player, "")
  1473. #open chest with 1 rows named "&8Edit Cosmetics" to player
  1474. #format slot 2 of player with nether star named "&fCreate" to close
  1475. #format slot 4 of player with redstone repeater named "&fEdit" to close
  1476. #format slot 6 of player with blaze powder named "&fDelete" to close
  1477.  
  1478. else if arg-1 is "path":
  1479. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%The path to edit your cosmetics is %{lobby.arcatedColor.Lobby}%{@config} %{lobby.chatColor.Lobby}%and to create cosmetics %{lobby.arcatedColor.Lobby}%{@path}"
  1480.  
  1481. else:
  1482. send "%{lobby.logo.Lobby}% %{lobby.chatColor.Lobby}%Do %{lobby.arcatedColor.Lobby}%/%{cmd}% help %{lobby.chatColor.Lobby}%for more info!"
Add Comment
Please, Sign In to add comment