on load: load yaml "plugins\xFarmers\config.yml" as "config" skript-yaml "plugins\SuperBans\config.yml" is empty: set the header of "plugins\SuperBans\config.yml" to " ___ ___ " and " / __|_ _ _ __ ___ _ _| _ ) __ _ _ _ ___" and " \__ \ || | '_ \/ -_) '_| _ \/ _` | ' \(_-<" and " |___/\_,_| .__/\___|_| |___/\__,_|_||_/__/" and " |_| by Sashie <3" set skript-yaml value "PUNISHMENTS.Notification-Type" from "plugins\SuperBans\config.yml" to "1" set skript-yaml value "PUNISHMENTS.Console-Notifications" from "plugins\SuperBans\config.yml" to "true" set skript-yaml value "PUNISHMENTS.Show-Leave-Message" from "plugins\SuperBans\config.yml" to "false" set skript-yaml value "PUNISHMENTS.Max-Warns" from "plugins\SuperBans\config.yml" to "4" set the comment of yaml node "PUNISHMENTS" from "plugins\SuperBans\config.yml" to "Notification-Type: This will be the type of notification sent on new punishments. Valid values are: '1' for messages, '2' for actionbars." set skript-yaml value "GUI.Unban-Messages" from "plugins\SuperBans\config.yml" to "true" set skript-yaml value "GUI.Keep-Open" from "plugins\SuperBans\config.yml" to "true" set skript-yaml value "GUI.Silent" from "plugins\SuperBans\config.yml" to "false" set skript-yaml value "SERVER.Name" from "plugins\SuperBans\config.yml" to "Server Name" set skript-yaml value "SERVER.Shop" from "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/shop" set skript-yaml value "SERVER.Web" from "plugins\SuperBans\config.yml" to "https://mc.yourserver.com/formum" set skript-yaml value "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml" to "" add "spawn" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml" add "warp" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml" add "home" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml" add "tpa" to skript-yaml list "DISALLOWED.COMMANDS.While-Frozen" from "plugins\SuperBans\config.yml" set skript-yaml value "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml" to "" add "tell" to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml" add "msg" to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml" add "me" to skript-yaml list "DISALLOWED.COMMANDS.While-Muted" from "plugins\SuperBans\config.yml" set skript-yaml value "ANTISWEAR.Enabled" from "plugins\SuperBans\config.yml" to "true" set skript-yaml value "ANTISWEAR.Word-Replacer" from "plugins\SuperBans\config.yml" to "*" set skript-yaml value "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml" to "" add "fuck" to skript-yaml list "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml" add "dick" to skript-yaml list "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml" add "cunt" to skript-yaml list "ANTISWEAR.WORDS" from "plugins\SuperBans\config.yml" set skript-yaml value "MAIN.File-Name" from "plugins\SuperBans\config.yml" to "SuperBans" set skript-yaml value "MAIN.Check-For-Updates" from "plugins\SuperBans\config.yml" to "true" # Required plugins Skript, FoxSk, skript-yaml, WolfAPI options: version: 1.0 on load: send "&8[&fF&8] &7Loading xFarmers script v{@version}" to console load yaml "plugins/xFarmers/config.yml" as "config" if skript-yaml "plugins\xFarmers\config.yml" is empty: send "&8[&fF&8] &7File config.yml doesn't detected..." to console send "&8[&fF&8] &7Creating config.yml, please wait..." to console wait 5 ticks set the header of "config" to " ______ " and " | ____| " and " __ _| |__ __ _ _ __ _ __ ___ ___ _ __ ___ " and " \ \/ / __/ _` | '__| '_ ` _ \ / _ \ '__/ __|" and " > <| | | (_| | | | | | | | | __/ | \__ \" and " /_/\_\_| \__,_|_| |_| |_| |_|\___|_| |___/" and "a" set yaml value "version" from "config" to "1.0" save yaml "config"