Oxalist

Untitled

Dec 17th, 2017
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.27 KB | None | 0 0
  1. options:
  2. #====================#
  3. # CONFIG #
  4. #====================#
  5.  
  6. Version: 0.6 # DON'T EDIT THIS
  7.  
  8. PermissionUse: playerheads.use
  9. PermissionReload: playerheads.reload
  10. PermissionList: playerheads.list
  11. PermissionMenu: playerheads.menu
  12. Aliases: skull, headof, playerhead #
  13. AliasesReload: skullrl, headofrl, playerheadrl # Separate with , the aliases
  14. AliasesList: skulls, playerheads # Separate with , the aliases
  15. AliasesMenu: skullsmenu, playerheadsmenu #
  16. ResetList: true # true/false | True: The list (/heads) is reset on server reload/restart or script reload. RECOMMENDED: true
  17.  
  18. #====================#
  19. # MESSAGES #
  20. #====================#
  21.  
  22. NoPermission: &cYou don't has permission to use this command.
  23. BadUsage: &cCorrect usage: /head <skull of> (player).
  24. HeadOf: &fHead of
  25. GotHead: You got the head of
  26. GotHeadColor: &a
  27. GivenHead: &aYou has given the head of &e%arg-1% &ato &e%arg-2%&a. # %arg-1% = Head of | %arg-2% = player who received the head
  28. HeadReceived: You has received the head of &e%arg-1%&a from
  29. NoSpace: &cYou don't have space in your inventory.
  30. Reloaded: &aScript reloaded.
  31. MenuMain: &6&lPlayerHeads &8- &aMain menu
  32. HeadsPlayers: &ePlayer heads
  33. MenuPlayers: &6&lPlayerHeads &8- &aPlayers menu
  34. HeadsFoods: &eFood heads
  35. MenuFoods: &6&lPlayerHeads &8- &aFood menu
  36. HeadsDecoration: &eDecorative heads
  37. MenuDecoration: &6&lPlayerHeads &8- &aDecorative menu
  38. HeadsAnimals: &eAnimals heads
  39. MenuAnimals: &6&lPlayerHeads &8- &aAnimals menu
  40. MenuBack: &cBack
  41.  
  42. #====================#
  43. # CODE #
  44. # DON'T EDIT THIS! #
  45. #====================#
  46. command head [<offlineplayer>] [<player>]:
  47. executable by: players
  48. aliases: {@Aliases}
  49. usage: /head <skull of> (player)
  50. permission: {@PermissionUse}
  51. permission message: &6&lPlayerHeads &8- {@NoPermission}
  52. trigger:
  53. if player's inventory contains air:
  54. if arg-1 is not set:
  55. send "&6&lPlayerHeads &8- {@BadUsage}"
  56. else if arg-1 is set:
  57. if arg-2 is set:
  58. give 1 of arg-1's skull named "{@HeadOf} &e%arg-1%" to arg-2
  59. send "&6&lPlayerHeads &8- {@GivenHead}" to player
  60. set {player.%player%} to player
  61. send "&6&lPlayerHeads &8- {@GotHeadColor}{@HeadReceived} &e%{player.%player%}%{@GotHeadColor}." to arg-2
  62. delete {player.%player%}
  63. if {Head1} is not set:
  64. set {Head1} to arg-1
  65. else:
  66. if {Head2} is not set:
  67. set {Head2} to {Head1}
  68. set {Head1} to arg-1
  69. else:
  70. if {Head3} is not set:
  71. set {Head3} to {Head2}
  72. set {Head2} to {Head1}
  73. set {Head1} to arg-1
  74. else:
  75. if {Head4} is not set:
  76. set {Head4} to {Head3}
  77. set {Head3} to {Head2}
  78. set {Head2} to {Head1}
  79. set {Head1} to arg-1
  80. else:
  81. if {Head5} is not set:
  82. set {Head5} to {Head4}
  83. set {Head4} to {Head3}
  84. set {Head3} to {Head2}
  85. set {Head2} to {Head1}
  86. set {Head1} to arg-1
  87. else:
  88. set {Head5} to {Head4}
  89. set {Head4} to {Head3}
  90. set {Head3} to {Head2}
  91. set {Head2} to {Head1}
  92. set {Head1} to arg-1
  93. else:
  94. give 1 of arg-1's skull named "{@HeadOf} &e%arg-1%" to player
  95. send "&6&lPlayerHeads &8- {@GotHeadColor}{@GotHead} &e%arg-1%{@GotHeadColor}."
  96. if {Head1} is not set:
  97. set {Head1} to arg-1
  98. else:
  99. if {Head2} is not set:
  100. set {Head2} to {Head1}
  101. set {Head1} to arg-1
  102. else:
  103. if {Head3} is not set:
  104. set {Head3} to {Head2}
  105. set {Head2} to {Head1}
  106. set {Head1} to arg-1
  107. else:
  108. if {Head4} is not set:
  109. set {Head4} to {Head3}
  110. set {Head3} to {Head2}
  111. set {Head2} to {Head1}
  112. set {Head1} to arg-1
  113. else:
  114. if {Head5} is not set:
  115. set {Head5} to {Head4}
  116. set {Head4} to {Head3}
  117. set {Head3} to {Head2}
  118. set {Head2} to {Head1}
  119. set {Head1} to arg-1
  120. else:
  121. set {Head5} to {Head4}
  122. set {Head4} to {Head3}
  123. set {Head3} to {Head2}
  124. set {Head2} to {Head1}
  125. set {Head1} to arg-1
  126. else:
  127. send "&6&lPlayerHeads &8- {@NoSpace}" to player
  128. command headrl:
  129. executable by: players and console
  130. aliases: {@AliasesReload}
  131. permission: {@PermissionReload}
  132. permission message: &6&lPlayerHeads &8- {@NoPermission}
  133. trigger:
  134. execute console command "sk reload %script%"
  135. send "&6&lPlayerHeads &8- {@Reloaded}"
  136. stop
  137. command heads:
  138. executable by: players and console
  139. aliases: {@AliasesList}
  140. permission: {@PermissionList}
  141. permission message: {@NoPermission}
  142. trigger:
  143. if {Head1} is set:
  144. if {Head2} is set:
  145. if {Head3} is set:
  146. if {Head4} is set:
  147. if {Head5} is set:
  148. send "&8&m----------&c Latest 5 given heads &8&m----------&r"
  149. send ""
  150. send "&e- &7Head of &f%{Head1}%"
  151. send "&e- &7Head of &f%{Head2}%"
  152. send "&e- &7Head of &f%{Head3}%"
  153. send "&e- &7Head of &f%{Head4}%"
  154. send "&e- &7Head of &f%{Head5}%"
  155. send "&8&m---------------------------------------&r"
  156. else:
  157. send "&8&m----------&c Latest 5 given heads &8&m----------&r"
  158. send ""
  159. send "&e- &7Head of &f%{Head1}%"
  160. send "&e- &7Head of &f%{Head2}%"
  161. send "&e- &7Head of &f%{Head3}%"
  162. send "&e- &7Head of &f%{Head4}%"
  163. send "&e- &fNone"
  164. send "&8&m---------------------------------------&r"
  165. else:
  166. send "&8&m----------&c Latest 5 given heads &8&m----------&r"
  167. send ""
  168. send "&e- &7Head of &f%{Head1}%"
  169. send "&e- &7Head of &f%{Head2}%"
  170. send "&e- &7Head of &f%{Head3}%"
  171. send "&e- &fNone"
  172. send "&e- &fNone"
  173. send "&8&m---------------------------------------&r"
  174. else:
  175. send "&8&m----------&c Latest 5 given heads &8&m----------&r"
  176. send ""
  177. send "&e- &7Head of &f%{Head1}%"
  178. send "&e- &7Head of &f%{Head2}%"
  179. send "&e- &fNone"
  180. send "&e- &fNone"
  181. send "&e- &fNone"
  182. send "&8&m---------------------------------------&r"
  183. else:
  184. send "&8&m----------&c Latest 5 given heads &8&m----------&r"
  185. send ""
  186. send "&e- &7Head of &f%{Head1}%"
  187. send "&e- &fNone"
  188. send "&e- &fNone"
  189. send "&e- &fNone"
  190. send "&e- &fNone"
  191. send "&8&m---------------------------------------&r"
  192. else:
  193. send "&8&m----------&c Latest 5 given heads &8&m----------&r"
  194. send ""
  195. send "&e- &fNone"
  196. send "&e- &fNone"
  197. send "&e- &fNone"
  198. send "&e- &fNone"
  199. send "&e- &fNone"
  200. send "&8&m---------------------------------------&r"
  201. command headsmenu:
  202. executable by: players
  203. aliases: {@AliasesMenu}
  204. permission: {@PermissionMenu}
  205. permission message: {@NoPermission}
  206. trigger:
  207. open chest with 3 rows named "{@MenuMain}" to player
  208. if {Heads.CS001} is not set:
  209. set {Heads.CS001} to skull of "CS001" parsed as offline player
  210. set {Heads.zuhir__} to skull of "zuhir__" parsed as offline player
  211. set {Heads.tiger9a} to skull of "tiger9a" parsed as offline player
  212. set {Heads.Sloggy_Whopper} to skull of "Sloggy_Whopper" parsed as offline player
  213. format slot 10 of player with {Heads.CS001} named "{@HeadsDecoration}" to close then run [player command "/headsdecoration"]
  214. format slot 12 of player with {Heads.zuhir__} named "{@HeadsPlayers}" to close then run [player command "/headsplayers"]
  215. format slot 14 of player with {Heads.tiger9a} named "{@HeadsAnimals}" to close then run [player command "/headsanimals"]
  216. format slot 16 of player with {Heads.Sloggy_Whopper} named "{@HeadsFoods}" to close then run [player command "/headsfoods"]
  217. command headsplayers:
  218. executable by: players
  219. permission: {@PermissionMenu}
  220. permission message: {@NoPermission}
  221. trigger:
  222. if {Heads.iKhuate24} is not set:
  223. set {Heads.zuhir__} to skull of "zuhir__" parsed as offline player
  224. set {Heads.skilled} to skull of "skilled" parsed as offline player
  225. set {Heads.md_5} to skull of "md_5" parsed as offline player
  226. set {Heads.hypixel} to skull of "hypixel" parsed as offline player
  227. set {Heads.rubik_cube_man} to skull of "rubik_cube_man" parsed as offline player
  228. set {Heads.Notch} to skull of "Notch" parsed as offline player
  229. set {Heads.jeb_} to skull of "jeb_" parsed as offline player
  230. set {Heads.Grumm} to skull of "Grumm" parsed as offline player
  231. set {Heads.Blu241__} to skull of "Blu241__" parsed as offline player
  232. set {Heads.stringbean989} to skull of "stringbean989" parsed as offline player
  233. set {Heads.MrNickax} to skull of "MrNickax" parsed as offline player
  234. set {Heads.iMateoKingZ} to skull of "iMateoKingZ" parsed as offline player
  235. set {Heads.iKhuate24} to skull of "iKhuate24" parsed as offline player
  236. wait 3 tick
  237. open chest with 3 rows named "{@MenuPlayers}" to player
  238. format slot 0 of player with {Heads.zuhir__} named "{@HeadOf} &ezuhir__" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &ezuhir__},SkullOwner:zuhir__}"
  239. format slot 1 of player with {Heads.skilled} named "{@HeadOf} &eskilled" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eskilled},SkullOwner:skilled}"
  240. format slot 2 of player with {Heads.md_5} named "{@HeadOf} &emd_5" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &emd_5},SkullOwner:md_5}"
  241. format slot 3 of player with {Heads.hypixel} named "{@HeadOf} &eHypixel" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eHypixel},SkullOwner:Hypixel}"
  242. format slot 4 of player with {Heads.rubik_cube_man} named "{@HeadOf} &erubik_cube_man" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &erubik_cube_man},SkullOwner:rubik_cube_man}"
  243. format slot 5 of player with {Heads.Notch} named "{@HeadOf} &eNotch" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eNotch},SkullOwner:Notch}"
  244. format slot 6 of player with {Heads.jeb_} named "{@HeadOf} &ejeb_" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &ejeb_},SkullOwner:jeb_}"
  245. format slot 7 of player with {Heads.Grumm} named "{@HeadOf} &eGrumm" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eGrumm},SkullOwner:Grumm}"
  246. format slot 8 of player with {Heads.Blu241__} named "{@HeadOf} &eBlu241__" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eBlu241__},SkullOwner:Blu241__}"
  247. format slot 9 of player with {Heads.stringbean989} named "{@HeadOf} &estringbean989" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &estringbean989},SkullOwner:stringbean989}"
  248. format slot 10 of player with {Heads.MrNickax} named "{@HeadOf} &eMrNickax" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMrNickax},SkullOwner:MrNickax}"
  249. format slot 11 of player with {Heads.iMateoKingZ} named "{@HeadOf} &eiMateoKingZ" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eiMateoKingZ},SkullOwner:iMateoKingZ}"
  250. format slot 12 of player with {Heads.iKhuate24} named "{@HeadOf} &eiKhuate24" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eiKhuate24},SkullOwner:iKhuate24}"
  251. format slot 22 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
  252. command headsdecoration:
  253. executable by: players
  254. permission: {@PermissionMenu}
  255. permission message: {@NoPermission}
  256. trigger:
  257. if {Heads.Addelburgh} is not set:
  258. set {Heads.Ferocious_Ben} to skull of "Ferocious_Ben" parsed as offline player
  259. set {Heads.Kevos} to skull of "Kevos" parsed as offline player
  260. set {Heads.Hannah4848} to skull of "Hannah4848" parsed as offline player
  261. set {Heads.SeerPotion} to skull of "SeerPotion" parsed as offline player
  262. set {Heads.Richard1230} to skull of "Richard1230" parsed as offline player
  263. set {Heads.Davethe} to skull of "Davethe" parsed as offline player
  264. set {Heads.3i5g00d} to skull of "3i5g00d" parsed as offline player
  265. set {Heads.Seska_Rotan} to skull of "Seska_Rotan" parsed as offline player
  266. set {Heads.CS001} to skull of "CS001" parsed as offline player
  267. set {Heads.Addelburgh} to skull of "Addelburgh" parsed as offline player
  268. set {Heads.Laserpanda} to skull of "Laserpanda" parsed as offline player
  269. set {Heads.Olaf_C} to skull of "Olaf_C" parsed as offline player
  270. set {Heads.sysfailure} to skull of "sysfailure" parsed as offline player
  271. set {Heads.OrtyBortorty} to skull of "OrtyBortorty" parsed as offline player
  272. set {Heads.zEl3M3nTz} to skull of "zEl3M3nTz" parsed as offline player
  273. set {Heads.Vire} to skull of "Vire" parsed as offline player
  274. wait 3 tick
  275. open chest with 3 rows named "{@MenuDecoration}" to player
  276. format slot 0 of player with {Heads.Kevos} named "{@HeadOf} &eKevos" with lore "&7Earth" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eKevos},SkullOwner:Kevos}"
  277. format slot 1 of player with {Heads.Seska_Rotan} named "{@HeadOf} &eSeska_Rotan" with lore "&7Earth 2" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eSeska_Rotan},SkullOwner:Seska_Rotan}"
  278. format slot 2 of player with {Heads.Ferocious_Ben} named "{@HeadOf} &eFerocious_Ben" with lore "&7Computer" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eFerocious_Ben},SkullOwner:Ferocious_Ben}"
  279. format slot 3 of player with {Heads.Davethe} named "{@HeadOf} &eDavethe" with lore "&7Computer 2" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eDavethe},SkullOwner:Davethe}"
  280. format slot 4 of player with {Heads.Addelburgh} named "{@HeadOf} &eAddelburgh" with lore "&7Computer 3" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eAddelburgh},SkullOwner:Addelburgh}"
  281. format slot 5 of player with {Heads.Laserpanda} named "{@HeadOf} &eLaserpanda" with lore "&7Computer 4" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eLaserpanda},SkullOwner:Laserpanda}"
  282. format slot 6 of player with {Heads.3i5g00d} named "{@HeadOf} &e3i5g00d" with lore "&7Camera" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &e3i5g00d},SkullOwner:3i5g00d}"
  283. format slot 7 of player with {Heads.Hannah4848} named "{@HeadOf} &eHannah4848" with lore "&7Gift" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eHannah4848},SkullOwner:Hannah4848}"
  284. format slot 8 of player with {Heads.SeerPotion} named "{@HeadOf} &eSeerPotion" with lore "&7Gift 2" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eSeerPotion},SkullOwner:SeerPotion}"
  285. format slot 9 of player with {Heads.Richard1230} named "{@HeadOf} &eRichard1230" with lore "&7Rubik's cube" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eRichard1230},SkullOwner:Richard1230}"
  286. format slot 10 of player with {Heads.CS001} named "{@HeadOf} &eCS001" with lore "&7Books" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eCS001},SkullOwner:CS001}"
  287. format slot 11 of player with {Heads.Olaf_C} named "{@HeadOf} &eOlaf_C" with lore "&7Clock" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eOlaf_C},SkullOwner:Olaf_C}"
  288. format slot 12 of player with {Heads.sysfailure} named "{@HeadOf} &esysfailure" with lore "&7TV" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &esysfailure},SkullOwner:sysfailure}"
  289. format slot 13 of player with {Heads.OrtyBortorty} named "{@HeadOf} &eOrtyBortorty" with lore "&7Toilet Paper Roll" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eOrtyBortorty},SkullOwner:OrtyBortorty}"
  290. format slot 14 of player with {Heads.zEl3M3nTz} named "{@HeadOf} &ezEl3M3nTz" with lore "&7Golden Toaster" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &ezEl3M3nTz},SkullOwner:zEl3M3nTz}"
  291. format slot 15 of player with {Heads.Vire} named "{@HeadOf} &eVire" with lore "&7Skull" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eVire},SkullOwner:Vire}"
  292. format slot 22 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
  293. command headsanimals:
  294. executable by: players
  295. permission: {@PermissionMenu}
  296. permission message: {@NoPermission}
  297. trigger:
  298. if {Heads.Luci} is not set:
  299. set {Heads.TheCuccoKid} to skull of "TheCuccoKid" parsed as offline player
  300. set {Heads.LeftShark} to skull of "LeftShark" parsed as offline player
  301. set {Heads.tiger9a} to skull of "tiger9a" parsed as offline player
  302. set {Heads.Lion} to skull of "Lion" parsed as offline player
  303. set {Heads.Fyspyguy} to skull of "Fyspyguy" parsed as offline player
  304. set {Heads.kongHD} to skull of "kongHD" parsed as offline player
  305. set {Heads.xBenji118x} to skull of "xBenji118x" parsed as offline player
  306. set {Heads.MHF_Pig} to skull of "MHF_Pig" parsed as offline player
  307. set {Heads.MHF_Cow} to skull of "MHF_Cow" parsed as offline player
  308. set {Heads.MHF_Chicken} to skull of "MHF_Chicken" parsed as offline player
  309. set {Heads.MHF_Wolf} to skull of "MHF_Wolf" parsed as offline player
  310. set {Heads.MHF_Ocelot} to skull of "MHF_Ocelot" parsed as offline player
  311. set {Heads.MHF_Sheep} to skull of "MHF_Sheep" parsed as offline player
  312. set {Heads.MHF_Squid} to skull of "MHF_Squid" parsed as offline player
  313. set {Heads.MHF_Villager} to skull of "MHF_Villager" parsed as offline player
  314. set {Heads.MHF_Slime} to skull of "MHF_Slime" parsed as offline player
  315. set {Heads.MHF_LavaSlime} to skull of "MHF_LavaSlime" parsed as offline player
  316. set {Heads.MHF_Creeper} to skull of "MHF_Creeper" parsed as offline player
  317. set {Heads.MHF_Zombie} to skull of "MHF_Zombie" parsed as offline player
  318. set {Heads.MHF_Skeleton} to skull of "MHF_Skeleton" parsed as offline player
  319. set {Heads.MHF_WSkeleton} to skull of "MHF_WSkeleton" parsed as offline player
  320. set {Heads.MHF_Wither} to skull of "MHF_Wither" parsed as offline player
  321. set {Heads.MHF_Enderman} to skull of "MHF_Enderman" parsed as offline player
  322. set {Heads.MHF_Blaze} to skull of "MHF_Blaze" parsed as offline player
  323. set {Heads.MHF_PigZombie} to skull of "MHF_PigZombie" parsed as offline player
  324. set {Heads.MHF_Ghast} to skull of "MHF_Ghast" parsed as offline player
  325. set {Heads.MHF_Guardian} to skull of "MHF_Guardian" parsed as offline player
  326. set {Heads.MHF_EGuardian} to skull of "MHF_EGuardian" parsed as offline player
  327. set {Heads.MHF_Witch} to skull of "MHF_Witch" parsed as offline player
  328. set {Heads.Luci} to skull of "Luci" parsed as offline player
  329. wait 3 tick
  330. open chest with 5 rows named "{@MenuAnimals}" to player
  331. format slot 0 of player with {Heads.TheCuccoKid} named "{@HeadOf} &eTheCuccoKid" with lore "&7Chicken" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eTheCuccoKid},SkullOwner:TheCuccoKid}"
  332. format slot 1 of player with {Heads.LeftShark} named "{@HeadOf} &eLeftShark" with lore "&7Shark" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eLeftShark},SkullOwner:LeftShark}"
  333. format slot 2 of player with {Heads.tiger9a} named "{@HeadOf} &etiger9a" with lore "&7Tiger" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &etiger9a},SkullOwner:tiger9a}"
  334. format slot 3 of player with {Heads.Lion} named "{@HeadOf} &eLion" with lore "&7Horse" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eLion},SkullOwner:Lion}"
  335. format slot 4 of player with {Heads.Fyspyguy} named "{@HeadOf} &eFyspyguy" with lore "&7Koala" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eFyspyguy},SkullOwner:Fyspyguy}"
  336. format slot 5 of player with {Heads.kongHD} named "{@HeadOf} &ekongHD" with lore "&7Monkey" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &ekongHD},SkullOwner:kongHD}"
  337. format slot 6 of player with {Heads.xBenji118x} named "{@HeadOf} &exBenji118x" with lore "&7Bird" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &exBenji118x},SkullOwner:xBenji118x}"
  338. format slot 7 of player with {Heads.MHF_Pig} named "{@HeadOf} &exBenji118x" with lore "&7Pig" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Pig},SkullOwner:MHF_Pig}"
  339. format slot 8 of player with {Heads.MHF_Cow} named "{@HeadOf} &exMHF_Cow" with lore "&7Cow" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Cow},SkullOwner:MHF_Cow}"
  340. format slot 9 of player with {Heads.MHF_Chicken} named "{@HeadOf} &eMHF_Chicken" with lore "&7Wolf" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Chicken},SkullOwner:MHF_Chicken}"
  341. format slot 10 of player with {Heads.MHF_Ocelot} named "{@HeadOf} &eMHF_Ocelot" with lore "&7Ocelot" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Ocelot},SkullOwner:MHF_Ocelot}"
  342. format slot 11 of player with {Heads.MHF_Sheep} named "{@HeadOf} &eMHF_Sheep" with lore "&7Sheep" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Sheep},SkullOwner:MHF_Sheep}"
  343. format slot 12 of player with {Heads.MHF_Squid} named "{@HeadOf} &eMHF_Squid" with lore "&7Squid" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Squid},SkullOwner:MHF_Squid}"
  344. format slot 13 of player with {Heads.MHF_Villager} named "{@HeadOf} &eMHF_Villager" with lore "&7Villager" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Villager},SkullOwner:MHF_Villager}"
  345. format slot 14 of player with {Heads.MHF_Slime} named "{@HeadOf} &eMHF_Slime" with lore "&7Slime" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Slime},SkullOwner:MHF_Slime}"
  346. format slot 15 of player with {Heads.MHF_LavaSlime} named "{@HeadOf} &eMHF_LavaSlime" with lore "&7Lava Slime" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_LavaSlime},SkullOwner:MHF_LavaSlime}"
  347. format slot 16 of player with {Heads.MHF_Creeper} named "{@HeadOf} &eMHF_Creeper" with lore "&7Creeper" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Creeper},SkullOwner:MHF_Creeper}"
  348. format slot 17 of player with {Heads.MHF_Zombie} named "{@HeadOf} &eMHF_Zombie" with lore "&7Zombie" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Zombie},SkullOwner:MHF_Zombie}"
  349. format slot 18 of player with {Heads.MHF_Skeleton} named "{@HeadOf} &eMHF_Skeleton" with lore "&7Skeleton" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Skeleton},SkullOwner:MHF_Skeleton}"
  350. format slot 19 of player with {Heads.MHF_WSkeleton} named "{@HeadOf} &eMHF_WSkeleton" with lore "&7Wither Skeleton" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_WSkeleton},SkullOwner:MHF_WSkeleton}"
  351. format slot 20 of player with {Heads.MHF_Wither} named "{@HeadOf} &eMHF_Wither" with lore "&7Wither" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Wither},SkullOwner:MHF_Wither}"
  352. format slot 21 of player with {Heads.MHF_Enderman} named "{@HeadOf} &eMHF_Enderman" with lore "&7Enderman" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Enderman},SkullOwner:MHF_Enderman}"
  353. format slot 22 of player with {Heads.MHF_Blaze} named "{@HeadOf} &eMHF_Blaze" with lore "&7Blaze" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Blaze},SkullOwner:MHF_Blaze}"
  354. format slot 23 of player with {Heads.MHF_PigZombie} named "{@HeadOf} &eMHF_PigZombie" with lore "&7Zombie Pigman" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_PigZombie},SkullOwner:MHF_PigZombie}"
  355. format slot 24 of player with {Heads.MHF_Ghast} named "{@HeadOf} &eMHF_Ghast" with lore "&7Ghast" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Ghast},SkullOwner:MHF_Ghast}"
  356. format slot 25 of player with {Heads.MHF_Guardian} named "{@HeadOf} &eMHF_Guardian" with lore "&7Guardian" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Guardian},SkullOwner:MHF_Guardian}"
  357. format slot 26 of player with {Heads.MHF_EGuardian} named "{@HeadOf} &eMHF_EGuardian" with lore "&7Elder Guardian" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_EGuardian},SkullOwner:MHF_EGuardian}"
  358. format slot 27 of player with {Heads.MHF_Witch} named "{@HeadOf} &eMHF_Witch" with lore "&7Witch" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eMHF_Witch},SkullOwner:MHF_Witch}"
  359. format slot 28 of player with {Heads.Luci} named "{@HeadOf} &eLuci" with lore "&7Pufferfish" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eLuci},SkullOwner:Luci}"
  360. format slot 40 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
  361. command headsfoods:
  362. executable by: players
  363. permission: {@PermissionMenu}
  364. permission message: {@NoPermission}
  365. trigger:
  366. if {Heads.Spinken5840} is not set:
  367. set {Heads.Sloggy_Whopper} to skull of "Sloggy_Whopper" parsed as offline player
  368. set {Heads.Thanauser} to skull of "Thanauser" parsed as offline player
  369. set {Heads.DutchGuard} to skull of "DutchGuard" parsed as offline player
  370. set {Heads.lmaoki} to skull of "lmaoki" parsed as offline player
  371. set {Heads.FluffyPancakes} to skull of "FluffyPancakes" parsed as offline player
  372. set {Heads.NnOoMmIiSs123} to skull of "NnOoMmIiSs123" parsed as offline player
  373. set {Heads._Grime} to skull of "_Grime" parsed as offline player
  374. set {Heads.PatrickAVG} to skull of "PatrickAVG" parsed as offline player
  375. set {Heads.Spinken5840} to skull of "Spinken5840" parsed as offline player
  376. set {Heads.Crunchy_Taco34} to skull of "Crunchy_Taco34" parsed as offline player
  377. set {Heads.Chipsandip} to skull of "Chipsandip" parsed as offline player
  378. set {Heads.Kairu} to skull of "Kairu" parsed as offline player
  379. set {Heads.Chazwell777} to skull of "Chazwell777" parsed as offline player
  380. wait 3 ticks
  381. open chest with 3 rows named "{@MenuFoods}" to player
  382. format slot 0 of player with {Heads.Sloggy_Whopper} named "{@HeadOf} &eSloggy_Whopper" with lore "&7Burger" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eSloggy_Whopper},SkullOwner:Sloggy_Whopper}"
  383. format slot 1 of player with {Heads.Thanauser} named "{@HeadOf} &eThanauser" with lore "&7Beer" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eThanauser},SkullOwner:Thanauser}"
  384. format slot 2 of player with {Heads.DutchGuard} named "{@HeadOf} &eDutchGuard" with lore "&7Cookie" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eDutchGuard},SkullOwner:DutchGuard}"
  385. format slot 3 of player with {Heads.lmaoki} named "{@HeadOf} &elmaoki" with lore "&7Sushi" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &elmaoki},SkullOwner:lmaoki}"
  386. format slot 4 of player with {Heads.FluffyPancakes} named "{@HeadOf} &eFluffyPancakes" with lore "&7Pancakes" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eFluffyPancakes},SkullOwner:FluffyPancakes}"
  387. format slot 5 of player with {Heads.NnOoMmIiSs123} named "{@HeadOf} &eNnOoMmIiSs123" with lore "&7Salad" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eNnOoMmIiSs123},SkullOwner:NnOoMmIiSs123}"
  388. format slot 6 of player with {Heads._Grime} named "{@HeadOf} &e_Grime" with lore "&7Bread" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &e_Grime},SkullOwner:_Grime}"
  389. format slot 7 of player with {Heads.PatrickAVG} named "{@HeadOf} &ePatrickAVG" with lore "&7Watermelon" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &ePatrickAVG},SkullOwner:PatrickAVG}"
  390. format slot 8 of player with {Heads.Spinken5840} named "{@HeadOf} &eSpinken5840" with lore "&7Milk" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eSpinken5840},SkullOwner:Spinken5840}"
  391. format slot 9 of player with {Heads.Crunchy_Taco34} named "{@HeadOf} &eCrunchy_Taco34" with lore "&7Taco" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eCrunchy_Taco34},SkullOwner:Crunchy_Taco34}"
  392. format slot 10 of player with {Heads.Chipsandip} named "{@HeadOf} &eChipsandip" with lore "&7Nutella" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eChipsandip},SkullOwner:Chipsandip}"
  393. format slot 11 of player with {Heads.Kairu} named "{@HeadOf} &eKairu" with lore "&7Coconut" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eKairu},SkullOwner:Kairu}"
  394. format slot 12 of player with {Heads.Chazwell777} named "{@HeadOf} &eChazwell777" with lore "&7Chocolate" to close then run "give %player% skull 1 3 {display:{Name:{@HeadOf} &eChazwell777},SkullOwner:Chazwell777}"
  395. format slot 22 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
  396. command internalcommandmenu:
  397. permission: {@PermissionMenu}
  398. permission message: {@NoPermission}
  399. trigger:
  400. if inventory name of player's current inventory is "{@MenuAnimals}", "{@MenuDecoration}", "{@MenuFoods}" or "{@MenuPlayers}":
  401. wait 3 ticks
  402. execute player command "/headsmenu"
  403. on script load:
  404. if {@ResetList} is true:
  405. delete {Head1}
  406. delete {Head2}
  407. delete {Head3}
  408. delete {Head4}
  409. delete {Head5}
  410. if text from "http://pastebin.com/raw/5gyg27kb" is not "{@Version}":
  411. send "" to console
  412. send "&cA new update is available for PlayerHeads!" to console
  413. send "&4Download from: &fhttps://www.spigotmc.org/resources/34471/" to console
  414. send "" to console
  415. else:
  416. send "" to console
  417. send "&aNo updates available for PlayerHeads!" to console
  418. send "" to console
Advertisement
Add Comment
Please, Sign In to add comment