Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- #====================#
- # CONFIG #
- #====================#
- Version: 0.6 # DON'T EDIT THIS
- PermissionUse: playerheads.use
- PermissionReload: playerheads.reload
- PermissionList: playerheads.list
- PermissionMenu: playerheads.menu
- Aliases: skull, headof, playerhead #
- AliasesReload: skullrl, headofrl, playerheadrl # Separate with , the aliases
- AliasesList: skulls, playerheads # Separate with , the aliases
- AliasesMenu: skullsmenu, playerheadsmenu #
- ResetList: true # true/false | True: The list (/heads) is reset on server reload/restart or script reload. RECOMMENDED: true
- #====================#
- # MESSAGES #
- #====================#
- NoPermission: &cYou don't has permission to use this command.
- BadUsage: &cCorrect usage: /head <skull of> (player).
- HeadOf: &fHead of
- GotHead: You got the head of
- GotHeadColor: &a
- 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
- HeadReceived: You has received the head of &e%arg-1%&a from
- NoSpace: &cYou don't have space in your inventory.
- Reloaded: &aScript reloaded.
- MenuMain: &6&lPlayerHeads &8- &aMain menu
- HeadsPlayers: &ePlayer heads
- MenuPlayers: &6&lPlayerHeads &8- &aPlayers menu
- HeadsFoods: &eFood heads
- MenuFoods: &6&lPlayerHeads &8- &aFood menu
- HeadsDecoration: &eDecorative heads
- MenuDecoration: &6&lPlayerHeads &8- &aDecorative menu
- HeadsAnimals: &eAnimals heads
- MenuAnimals: &6&lPlayerHeads &8- &aAnimals menu
- MenuBack: &cBack
- #====================#
- # CODE #
- # DON'T EDIT THIS! #
- #====================#
- command head [<offlineplayer>] [<player>]:
- executable by: players
- aliases: {@Aliases}
- usage: /head <skull of> (player)
- permission: {@PermissionUse}
- permission message: &6&lPlayerHeads &8- {@NoPermission}
- trigger:
- if player's inventory contains air:
- if arg-1 is not set:
- send "&6&lPlayerHeads &8- {@BadUsage}"
- else if arg-1 is set:
- if arg-2 is set:
- give 1 of arg-1's skull named "{@HeadOf} &e%arg-1%" to arg-2
- send "&6&lPlayerHeads &8- {@GivenHead}" to player
- set {player.%player%} to player
- send "&6&lPlayerHeads &8- {@GotHeadColor}{@HeadReceived} &e%{player.%player%}%{@GotHeadColor}." to arg-2
- delete {player.%player%}
- if {Head1} is not set:
- set {Head1} to arg-1
- else:
- if {Head2} is not set:
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- if {Head3} is not set:
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- if {Head4} is not set:
- set {Head4} to {Head3}
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- if {Head5} is not set:
- set {Head5} to {Head4}
- set {Head4} to {Head3}
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- set {Head5} to {Head4}
- set {Head4} to {Head3}
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- give 1 of arg-1's skull named "{@HeadOf} &e%arg-1%" to player
- send "&6&lPlayerHeads &8- {@GotHeadColor}{@GotHead} &e%arg-1%{@GotHeadColor}."
- if {Head1} is not set:
- set {Head1} to arg-1
- else:
- if {Head2} is not set:
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- if {Head3} is not set:
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- if {Head4} is not set:
- set {Head4} to {Head3}
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- if {Head5} is not set:
- set {Head5} to {Head4}
- set {Head4} to {Head3}
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- set {Head5} to {Head4}
- set {Head4} to {Head3}
- set {Head3} to {Head2}
- set {Head2} to {Head1}
- set {Head1} to arg-1
- else:
- send "&6&lPlayerHeads &8- {@NoSpace}" to player
- command headrl:
- executable by: players and console
- aliases: {@AliasesReload}
- permission: {@PermissionReload}
- permission message: &6&lPlayerHeads &8- {@NoPermission}
- trigger:
- execute console command "sk reload %script%"
- send "&6&lPlayerHeads &8- {@Reloaded}"
- stop
- command heads:
- executable by: players and console
- aliases: {@AliasesList}
- permission: {@PermissionList}
- permission message: {@NoPermission}
- trigger:
- if {Head1} is set:
- if {Head2} is set:
- if {Head3} is set:
- if {Head4} is set:
- if {Head5} is set:
- send "&8&m----------&c Latest 5 given heads &8&m----------&r"
- send ""
- send "&e- &7Head of &f%{Head1}%"
- send "&e- &7Head of &f%{Head2}%"
- send "&e- &7Head of &f%{Head3}%"
- send "&e- &7Head of &f%{Head4}%"
- send "&e- &7Head of &f%{Head5}%"
- send "&8&m---------------------------------------&r"
- else:
- send "&8&m----------&c Latest 5 given heads &8&m----------&r"
- send ""
- send "&e- &7Head of &f%{Head1}%"
- send "&e- &7Head of &f%{Head2}%"
- send "&e- &7Head of &f%{Head3}%"
- send "&e- &7Head of &f%{Head4}%"
- send "&e- &fNone"
- send "&8&m---------------------------------------&r"
- else:
- send "&8&m----------&c Latest 5 given heads &8&m----------&r"
- send ""
- send "&e- &7Head of &f%{Head1}%"
- send "&e- &7Head of &f%{Head2}%"
- send "&e- &7Head of &f%{Head3}%"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&8&m---------------------------------------&r"
- else:
- send "&8&m----------&c Latest 5 given heads &8&m----------&r"
- send ""
- send "&e- &7Head of &f%{Head1}%"
- send "&e- &7Head of &f%{Head2}%"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&8&m---------------------------------------&r"
- else:
- send "&8&m----------&c Latest 5 given heads &8&m----------&r"
- send ""
- send "&e- &7Head of &f%{Head1}%"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&8&m---------------------------------------&r"
- else:
- send "&8&m----------&c Latest 5 given heads &8&m----------&r"
- send ""
- send "&e- &fNone"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&e- &fNone"
- send "&8&m---------------------------------------&r"
- command headsmenu:
- executable by: players
- aliases: {@AliasesMenu}
- permission: {@PermissionMenu}
- permission message: {@NoPermission}
- trigger:
- open chest with 3 rows named "{@MenuMain}" to player
- if {Heads.CS001} is not set:
- set {Heads.CS001} to skull of "CS001" parsed as offline player
- set {Heads.zuhir__} to skull of "zuhir__" parsed as offline player
- set {Heads.tiger9a} to skull of "tiger9a" parsed as offline player
- set {Heads.Sloggy_Whopper} to skull of "Sloggy_Whopper" parsed as offline player
- format slot 10 of player with {Heads.CS001} named "{@HeadsDecoration}" to close then run [player command "/headsdecoration"]
- format slot 12 of player with {Heads.zuhir__} named "{@HeadsPlayers}" to close then run [player command "/headsplayers"]
- format slot 14 of player with {Heads.tiger9a} named "{@HeadsAnimals}" to close then run [player command "/headsanimals"]
- format slot 16 of player with {Heads.Sloggy_Whopper} named "{@HeadsFoods}" to close then run [player command "/headsfoods"]
- command headsplayers:
- executable by: players
- permission: {@PermissionMenu}
- permission message: {@NoPermission}
- trigger:
- if {Heads.iKhuate24} is not set:
- set {Heads.zuhir__} to skull of "zuhir__" parsed as offline player
- set {Heads.skilled} to skull of "skilled" parsed as offline player
- set {Heads.md_5} to skull of "md_5" parsed as offline player
- set {Heads.hypixel} to skull of "hypixel" parsed as offline player
- set {Heads.rubik_cube_man} to skull of "rubik_cube_man" parsed as offline player
- set {Heads.Notch} to skull of "Notch" parsed as offline player
- set {Heads.jeb_} to skull of "jeb_" parsed as offline player
- set {Heads.Grumm} to skull of "Grumm" parsed as offline player
- set {Heads.Blu241__} to skull of "Blu241__" parsed as offline player
- set {Heads.stringbean989} to skull of "stringbean989" parsed as offline player
- set {Heads.MrNickax} to skull of "MrNickax" parsed as offline player
- set {Heads.iMateoKingZ} to skull of "iMateoKingZ" parsed as offline player
- set {Heads.iKhuate24} to skull of "iKhuate24" parsed as offline player
- wait 3 tick
- open chest with 3 rows named "{@MenuPlayers}" to player
- 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__}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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_}"
- 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}"
- 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__}"
- 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}"
- 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}"
- 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}"
- 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}"
- format slot 22 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
- command headsdecoration:
- executable by: players
- permission: {@PermissionMenu}
- permission message: {@NoPermission}
- trigger:
- if {Heads.Addelburgh} is not set:
- set {Heads.Ferocious_Ben} to skull of "Ferocious_Ben" parsed as offline player
- set {Heads.Kevos} to skull of "Kevos" parsed as offline player
- set {Heads.Hannah4848} to skull of "Hannah4848" parsed as offline player
- set {Heads.SeerPotion} to skull of "SeerPotion" parsed as offline player
- set {Heads.Richard1230} to skull of "Richard1230" parsed as offline player
- set {Heads.Davethe} to skull of "Davethe" parsed as offline player
- set {Heads.3i5g00d} to skull of "3i5g00d" parsed as offline player
- set {Heads.Seska_Rotan} to skull of "Seska_Rotan" parsed as offline player
- set {Heads.CS001} to skull of "CS001" parsed as offline player
- set {Heads.Addelburgh} to skull of "Addelburgh" parsed as offline player
- set {Heads.Laserpanda} to skull of "Laserpanda" parsed as offline player
- set {Heads.Olaf_C} to skull of "Olaf_C" parsed as offline player
- set {Heads.sysfailure} to skull of "sysfailure" parsed as offline player
- set {Heads.OrtyBortorty} to skull of "OrtyBortorty" parsed as offline player
- set {Heads.zEl3M3nTz} to skull of "zEl3M3nTz" parsed as offline player
- set {Heads.Vire} to skull of "Vire" parsed as offline player
- wait 3 tick
- open chest with 3 rows named "{@MenuDecoration}" to player
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- format slot 22 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
- command headsanimals:
- executable by: players
- permission: {@PermissionMenu}
- permission message: {@NoPermission}
- trigger:
- if {Heads.Luci} is not set:
- set {Heads.TheCuccoKid} to skull of "TheCuccoKid" parsed as offline player
- set {Heads.LeftShark} to skull of "LeftShark" parsed as offline player
- set {Heads.tiger9a} to skull of "tiger9a" parsed as offline player
- set {Heads.Lion} to skull of "Lion" parsed as offline player
- set {Heads.Fyspyguy} to skull of "Fyspyguy" parsed as offline player
- set {Heads.kongHD} to skull of "kongHD" parsed as offline player
- set {Heads.xBenji118x} to skull of "xBenji118x" parsed as offline player
- set {Heads.MHF_Pig} to skull of "MHF_Pig" parsed as offline player
- set {Heads.MHF_Cow} to skull of "MHF_Cow" parsed as offline player
- set {Heads.MHF_Chicken} to skull of "MHF_Chicken" parsed as offline player
- set {Heads.MHF_Wolf} to skull of "MHF_Wolf" parsed as offline player
- set {Heads.MHF_Ocelot} to skull of "MHF_Ocelot" parsed as offline player
- set {Heads.MHF_Sheep} to skull of "MHF_Sheep" parsed as offline player
- set {Heads.MHF_Squid} to skull of "MHF_Squid" parsed as offline player
- set {Heads.MHF_Villager} to skull of "MHF_Villager" parsed as offline player
- set {Heads.MHF_Slime} to skull of "MHF_Slime" parsed as offline player
- set {Heads.MHF_LavaSlime} to skull of "MHF_LavaSlime" parsed as offline player
- set {Heads.MHF_Creeper} to skull of "MHF_Creeper" parsed as offline player
- set {Heads.MHF_Zombie} to skull of "MHF_Zombie" parsed as offline player
- set {Heads.MHF_Skeleton} to skull of "MHF_Skeleton" parsed as offline player
- set {Heads.MHF_WSkeleton} to skull of "MHF_WSkeleton" parsed as offline player
- set {Heads.MHF_Wither} to skull of "MHF_Wither" parsed as offline player
- set {Heads.MHF_Enderman} to skull of "MHF_Enderman" parsed as offline player
- set {Heads.MHF_Blaze} to skull of "MHF_Blaze" parsed as offline player
- set {Heads.MHF_PigZombie} to skull of "MHF_PigZombie" parsed as offline player
- set {Heads.MHF_Ghast} to skull of "MHF_Ghast" parsed as offline player
- set {Heads.MHF_Guardian} to skull of "MHF_Guardian" parsed as offline player
- set {Heads.MHF_EGuardian} to skull of "MHF_EGuardian" parsed as offline player
- set {Heads.MHF_Witch} to skull of "MHF_Witch" parsed as offline player
- set {Heads.Luci} to skull of "Luci" parsed as offline player
- wait 3 tick
- open chest with 5 rows named "{@MenuAnimals}" to player
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- format slot 40 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
- command headsfoods:
- executable by: players
- permission: {@PermissionMenu}
- permission message: {@NoPermission}
- trigger:
- if {Heads.Spinken5840} is not set:
- set {Heads.Sloggy_Whopper} to skull of "Sloggy_Whopper" parsed as offline player
- set {Heads.Thanauser} to skull of "Thanauser" parsed as offline player
- set {Heads.DutchGuard} to skull of "DutchGuard" parsed as offline player
- set {Heads.lmaoki} to skull of "lmaoki" parsed as offline player
- set {Heads.FluffyPancakes} to skull of "FluffyPancakes" parsed as offline player
- set {Heads.NnOoMmIiSs123} to skull of "NnOoMmIiSs123" parsed as offline player
- set {Heads._Grime} to skull of "_Grime" parsed as offline player
- set {Heads.PatrickAVG} to skull of "PatrickAVG" parsed as offline player
- set {Heads.Spinken5840} to skull of "Spinken5840" parsed as offline player
- set {Heads.Crunchy_Taco34} to skull of "Crunchy_Taco34" parsed as offline player
- set {Heads.Chipsandip} to skull of "Chipsandip" parsed as offline player
- set {Heads.Kairu} to skull of "Kairu" parsed as offline player
- set {Heads.Chazwell777} to skull of "Chazwell777" parsed as offline player
- wait 3 ticks
- open chest with 3 rows named "{@MenuFoods}" to player
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- 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}"
- format slot 22 of player with arrow named "{@MenuBack}" to close then run [do [make player execute command "/internalcommandmenu"]]
- command internalcommandmenu:
- permission: {@PermissionMenu}
- permission message: {@NoPermission}
- trigger:
- if inventory name of player's current inventory is "{@MenuAnimals}", "{@MenuDecoration}", "{@MenuFoods}" or "{@MenuPlayers}":
- wait 3 ticks
- execute player command "/headsmenu"
- on script load:
- if {@ResetList} is true:
- delete {Head1}
- delete {Head2}
- delete {Head3}
- delete {Head4}
- delete {Head5}
- if text from "http://pastebin.com/raw/5gyg27kb" is not "{@Version}":
- send "" to console
- send "&cA new update is available for PlayerHeads!" to console
- send "&4Download from: &fhttps://www.spigotmc.org/resources/34471/" to console
- send "" to console
- else:
- send "" to console
- send "&aNo updates available for PlayerHeads!" to console
- send "" to console
Advertisement
Add Comment
Please, Sign In to add comment