command /SideLine: aliases: sl, mkl trigger: create folder "plugins/SideLine" if arg 1 is "help": send "&7&l>> &9SideLine &5v1.0 &7&l<<" send "&7&l>> &7/&2sideline &9message &7- &9set SideLine's messages&7." send "&7&l>> &7/&2sideline &9help &7- &9help commands for SideLine&7." send "&7&l>> &7/&2sideline &9config &7- &9creates config&7." send "&7&l>> &7/&2sideline &9reload &7- &9reloads SideLine&7." send "&7&l>> &9SideLine &5v1.0 &7&l<<" if arg 1 is not set: send "&c&l>> &3Error&7! &9Need tu use &7/&2sl help&7." if arg 1 is "message": send "&8&k|=|&7Set a message messages.yml! &8(&csideline.msg&8)&8&k|=|&7" execute console command "title @p title ["",{"text":"Action declined","color":"dark_green"},{"text":"! "},{"text":"(","color":"dark_gray"},{"text":"sideline.msg","color":"red"},{"text":")","color":"dark_gray"}]" if arg 1 is "config": create file "plugins/SideLine/CONFIG.yml" create file "plugins/SideLine/plugin.properties" send "&99Successfully configged!" else: send "&cError&7! &9You need to have a&7(&9n&7) &9Operator&7!" if arg 1 is "reload": if player has permission "sideline.*": create folder "plugins/SideLine/NWM" create file "plugins/SideLine/NWM/raport.key" send "&9Successfully reloaded!" else: send "&cError&7! &9You need to have a&7(&9n&7) &9Operator&7!"