buycraft not working because colered message?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ShadowFaite

Member
Jul 2, 2018
19
0
1
24
when someone tries pressing to buy the rank it doesn't work? it says in the chat that they dont have perm to chat colored messages. i want to fix this but not give people access to colored chat messages?

code_language.skript:
command /buy:
    aliases: /butik, /buycraft,
    trigger:
        wait 2 tick
        open chest with 3 rows named "&2&lFarmland Buycraft!" to player
        format slot 11 of player with book named "&d&lRanks" with lore "&6Tryk her for at se de ranks man kan købe" to close then run [ make player execute command "/buyranks"]
        format slot 12 of player with paper named "&2&lKits" with lore "&6Tryk her for at se de kits man kan købe" to close then run [ make player execute command "/buykits"]
        format slot 13 of player with stick named "&5&lSpecialle Ting" with lore "&6Tryk her for at se de kommandoer man kan købe" to close then run [ make player execute command "/buyspecialle"]
        format slot 14 of player with tripwire hook named "&3&lKeys" with lore "&6Tryk her for at se de keys man kan købe" to close then run [ make player execute command "/buykeys"]
        format slot 15 of player with paper named "&4&lIngame penge" with lore "&6Tryk her for at se de penge man kan købe" to close then run [ make player execute command "/buypenge"]
        format slot 4 of player with red glass pane named "&4&lBemærk!" with lore "&cIngen refunderinger på køb!" to cbe unstealable
        
command /buyranks:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lFarmland Ranks!" to player
        format slot 11 of player with book named "&6Kylling" with lore "&a&l* &2250 Ems &a&l*" to close then run [ make player execute command "/kyllinglobby"]
        format slot 13 of player with book named "&dGris" with lore "&a&l* &2500 Ems &a&l*" to close then run [ make player execute command "/grislobby"]
        format slot 15 of player with book named "&5Ko" with lore "&a&l* &2750 Ems &a&l*" to close then run [ make player execute command "/kolobby"]
        
command /kyllinglobby:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lLobby?" to player
        format slot 12 of player with redstone block named "&aHyprialobby" with lore "&6Tryk her for at vælge Hyprialobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &6Kylling &afor &2250 Ems &ai Hyprialobby!"]
        format slot 14 of player with iron block named "&aLarmelobby" with lore "&6Tryk her for at vælge Larmelobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &6Kylling &afor &2250 Ems &ai Larmelobby!"]
        
command /grislobby:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lLobby?" to player
        format slot 12 of player with redstone block named "&aHyprialobby" with lore "&6Tryk her for at vælge Hyprialobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &dGris &afor &2500 Ems &ai Hyprialobby!"]
        format slot 14 of player with iron block named "&aLarmelobby" with lore "&6Tryk her for at vælge Larmelobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &dGris &afor &2500 Ems &ai Larmelobby!"]
        
command /kolobby:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lLobby?" to player
        format slot 12 of player with redstone block named "&aHyprialobby" with lore "&6Tryk her for at vælge Hyprialobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &5Ko &afor &2750 Ems &ai Hyprialobby!"]
        format slot 14 of player with iron block named "&aLarmelobby" with lore "&6Tryk her for at vælge Larmelobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &5Ko &afor &2750 Ems &ai Larmelobby!"]
        
command /buykits:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lFarmland Kits!" to player
        format slot 11 of player with wheat seeds named "&2Kit Farm" with lore "&a&l* &2500 Ems &a&l*||&6Kittet kan tages en gang hver 3. dag" to close then run [ make player execute command "/kitfarmlobby"]
        format slot 13 of player with bread named "&2Kommer..." with lore "&a&l* &2600 Ems &a&l*||&6Kittet kan tages en gang hver 3. dag" to be unstealable
        format slot 15 of player with coal block named "&2Kommer..." with lore "&a&l* &2800 Ems &a&l*||&6Kittet kan tages en gang hver 3. dag" to be unstealable
        
command /kitfarmlobby:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lLobby?" to player
        format slot 12 of player with redstone block named "&aHyprialobby" with lore "&6Tryk her for at vælge Hyprialobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &dKit Farm &afor &2500 Ems &ai Hyprialobby!"]
        format slot 14 of player with iron block named "&aLarmelobby" with lore "&6Tryk her for at vælge Larmelobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &dKit Farm &afor &2500 Ems &ai Larmelobby!"]

command /buyspecialle:
    trigger:
        open chest with 3 rows named "&2&lFarmland specialle ting!" to player
                format slot 11 of player with stick named "&6/ec" with lore "&a&l* &2350 Ems &a&l*" to close then run [ make player execute command "/eclobby"]
                format slot 12 of player with stick named &2/feed" with lore "&a&l* &2250 Ems &a&l* to close then run [ make player execute command "/feedlobby"]
                format slot 13 of player with stick named &4/heal" with lore "&a&l* &2350 Ems &a&l* to close then run [ make player execute command "/heallobby"]
                format slot 14 of player with stick named &6Vip celle"" with lore "&a&l* &23000 Ems &a&l* to close then run [ make player execute command "/vipcellelobby"]
                format slot 15 of player with stick named &2lille vip celle" with lore "&a&l* &21500 Ems &a&l* to close then run [ make player execute command "/lilleviplobby"]
                
command /eclobby:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lLobby?" to player
        format slot 12 of player with redstone block named "&aHyprialobby" with lore "&6Tryk her for at vælge Hyprialobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &6/ec &afor &2350 Ems &ai Hyprialobby!"]
        format slot 14 of player with iron block named "&aLarmelobby" with lore "&6Tryk her for at vælge Larmelobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &6/ec &afor &2350 Ems &ai Larmelobby!"]
        
command /feedlobby:
    trigger:
        wait 3 ticks
        open chest with 3 rows named "&2&lLobby?" to player
        format slot 12 of player with redstone block named "&aHyprialobby" with lore "&6Tryk her for at vælge Hyprialobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &6/feed &afor &2250 Ems &ai Hyprialobby!"]
        format slot 14 of player with iron block named "&aLarmelobby" with lore "&6Tryk her for at vælge Larmelobby!" to close then run [ make player execute command "/bc &d&l%player% &avil gerne købe &6/feed &afor &2250 Ems &ai Larmelobby!"]
 
take the color out of your commands.
For example you have
code_language.skript:
make player execute command "/bc &d&l%player% &avil gerne købe &6Kylling &afor &2250 Ems &ai Hyprialobby!"
But WHY are you putting color in the command?
[doublepost=1531513018,1531512965][/doublepost]OHHHH never mind I just realized that is a broadcast.... ok well instead of doing player execute command maybe just do a broadcast? Or a console command
 
Status
Not open for further replies.