script:
Skript:
error:
Code:
on rightclick with a paper:
execute player command "/mb"
command /mb:
aliases: /magicband, /magicb, /mband
executable by: players
trigger:
open chest with 3 rows named "&9%player%'s MagicBand" to player
wait 1 tick
format slot 3 of player with bed named "&aHotels and Resorts" with lore "&aVisit and rent a room in a Resort!" to close then run [execute player command "/mbr"]
format slot 5 of player with %player%'s skull named "&aMy Profile" with lore "&aName: &c%player%||&aRank: &3rank||&aBalance: &cbal" to close then run [execute player command "/mbp"]
format slot 7 of player with clock named "&aPlayer Time" with lore "&aYou can see what time it is for you!" to close then run [execute player command "/mbt"]
format slot 11 of player with potato named "&aFind Food" with lore "&aVisit a restaurant to get some food!" to close then run [execute player command "/mbf"]
format slot 12 of player with firework rocket named "&aShows and Events" with lore "&aWatch one of the famous &bDisney &aShows!" to close then run [execute player command "/mbse"]
format slot 13 of player with minecart named "&aRides and Meet & Greets" with lore "&aView Rides, Attractions, and Meet & Greets you can visit!" to close then run [execute player command "/mbrmg"]
format slot 14 of player with nether star named "&aPark Menu" with lore "&aVisit our theme parks!" to close then run [execute player command "/mbpm"]
format slot 15 of player with golden boots named "&aShop" with lore "&aPurchase Items!" to close then run [execute player command "/mbs"]
format slot 16 of player with iron chestplate named "&aWardrobe Manager" with lore "&aChange your outfit to clothes that you can purchase in shops!" to close then run [execute player command "/mbw"]
format slot 17 of player with emerald named "&aSocial Media" with lore "&aThis is all our social media links!" to close then run [execute player command "/mbsm"]
command /mbr:
trigger:
stop
command /mbt:
trigger:
stop
command /mbf:
trigger:
stop
command /mbp:
trigger:
stop
command /mbse:
trigger:
stop
command /mbrmg:
trigger:
stop
command /mbpm:
trigger:
stop
command /mbs:
trigger:
stop
command /mbsm:
trigger:
stop
command /mbw:
trigger:
stop
error:
Code:
[22:19:28 INFO]: [Skript] Reloading the config and all scripts...
[22:19:29 INFO]: Loaded a total of 11504 english aliases
[22:19:29 ERROR]: '"/mbr"]' is not a text (magicband.sk, line 10: format slot 3 of player with bed named "&aHotels and Resorts" with lore "&aVisit and rent a room in a Resort!" to close then run [execute player command "/mbr"]')
[22:19:29 ERROR]: '"/mbp"]' is not a text (magicband.sk, line 11: format slot 5 of player with %player%'s skull named "&aMy Profile" with lore "&aName: &c%player%||&aRank: &3%rank%||&aBalance: &c$%bal%" to close then run [execute player command "/mbp"]')
[22:19:29 ERROR]: '"/mbt"]' is not a text (magicband.sk, line 12: format slot 7 of player with clock named "&aPlayer Time" with lore "&aYou can see what time it is for you!" to close then run [execute player command "/mbt"]')
[22:19:29 ERROR]: '"/mbf"]' is not a text (magicband.sk, line 13: format slot 11 of player with potato named "&aFind Food" with lore "&aVisit a restaurant to get some food!" to close then run [execute player command "/mbf"]')
[22:19:29 ERROR]: '"/mbse"]' is not a text (magicband.sk, line 14: format slot 12 of player with firework rocket named "&aShows and Events" with lore "&aWatch one of the famous &bDisney &aShows!" to close then run [execute player command "/mbse"]')
[22:19:29 ERROR]: '"/mbrmg"]' is not a text (magicband.sk, line 15: format slot 13 of player with minecart named "&aRides and Meet & Greets" with lore "&aView Rides, Attractions, and Meet & Greets you can visit!" to close then run [execute player command "/mbrmg"]')
[22:19:29 ERROR]: '"/mbpm"]' is not a text (magicband.sk, line 16: format slot 14 of player with nether star named "&aPark Menu" with lore "&aVisit our theme parks!" to close then run [execute player command "/mbpm"]')
[22:19:29 ERROR]: '"/mbs"]' is not a text (magicband.sk, line 17: format slot 15 of player with golden boots named "&aShop" with lore "&aPurchase Items!" to close then run [execute player command "/mbs"]')
[22:19:29 ERROR]: '"/mbw"]' is not a text (magicband.sk, line 18: format slot 16 of player with iron chestplate named "&aWardrobe Manager" with lore "&aChange your outfit to clothes that you can purchase in shops!" to close then run [execute player command "/mbw"]')
[22:19:29 ERROR]: '"/mbsm"]' is not a text (magicband.sk, line 19: format slot 17 of player with emerald named "&aSocial Media" with lore "&aThis is all our social media links!" to close then run [execute player command "/mbsm"]')
[22:19:29 INFO]: Loaded 1 script with a total of 1 trigger and 11 commands in 0.52 seconds
[22:19:29 INFO]: [Skript] Encountered 10 errors while reloading the config and all scripts!