I need somebody who wants to help me with a small tutorial about creating a "file.yml" to set messages and options there. Can you send me a link to a tutorial or just create one for me? Including all the posible yaml functions.
I know this:
The config is created like this:
1. I don't want color codes to be like "§". Is there any way to make color codes run with "&"?
2. I don't know how to create a config and set values to true or false to activate or deactivate some features of my skripts.
I need help with this too:
3. The message is not displayer well. The variables aren't replaced.
I know this:
code_language.skript:
on load:
if file "plugins/SuperEconomy/Config.yml" doesn't exists:
create file "plugins/SuperEconomy/Config.yml"
wf "no-permission: &cYou are not allowed to do that!" to "plugins/SuperEconomy/Config.yml"
set {no-permission} to value "no-permission" get of "plugins/SuperEconomy/Config.yml"
code_language.skript:
no-permission: §cYou are not allowed to do that!
2. I don't know how to create a config and set values to true or false to activate or deactivate some features of my skripts.
I need help with this too:
code_language.skript:
on load:
if file "plugins/SuperEconomy/Config.yml" doesn't exists:
create file "plugins/SuperEconomy/Config.yml"
wf "balance: "&a%arg 3% &7has &a%{balance.%arg 3%}% &7coins!" to plugins/SuperEconomy/Config.yml"
set {balance} to value "balance" get of "plugins/SuperEconomy/Config.yml"
command /balance:
trigger:
send {balance}
Last edited: