on script load: set {customdrops.version} to "1.0" send "&9&lCustom Drops &8| &7Loading skript v%{customdrops.version}%..." to console set {_customdrops.version.web::*} to contents from url "%uncolored ""https://pastebin.com/raw/7BS83qtA""%" wait 3 ticks if yaml value "Config.notifyUpdates" from "customdrops-config" is true: if {_customdrops.version.web::1} is not {customdrops.version}: send "&9&lCustom Drops &8| &7There is a new version, download it at &7&nDC" to console on script unload: send "&9&lCustom Drops &8| &7Deleting skript files.." to console on load: if folder "plugins/CustomDrops" doesn't exist: create folder "plugins/CustomDrops" if file "plugins/CustomDrops/config.yml" doesn't exist: create file "plugins/CustomDrops/config.yml" wf "# __ __ _ ____ __ _ " to "plugins/CustomDrops/config.yml" wf "# | \/ | __ _(_)_ __ / ___|___ _ __ / _(_) __ _ " to "plugins/CustomDrops/config.yml" wf "# | |\/| |/ _` | | '_ \ | | / _ \| '_ \| |_| |/ _` | " to "plugins/CustomDrops/config.yml" wf "# | | | | (_| | | | | | | |__| (_) | | | | _| | (_| | " to "plugins/CustomDrops/config.yml" wf "# |_| |_|\__,_|_|_| |_| \____\___/|_| |_|_| |_|\__, | " to "plugins/CustomDrops/config.yml" wf "# |___/ " to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Notify Updates: 'true'" to "plugins/CustomDrops/config.yml" wf "#Should the script inform about new updates?" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Enabled Prefix: 'true'" to "plugins/CustomDrops/config.yml" wf "#Should the script have prefix before messages?" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Enabled Chances: 'true'" to "plugins/CustomDrops/config.yml" wf "#Should the items dropped by killing mobs have chances to drop (you can set it)?" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Required Permission: 'false'" to "plugins/CustomDrops/config.yml" wf "#Should the player require permission to drop the item?" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Drop Message: 'chat'" to "plugins/CustomDrops/config.yml" wf "#Drop message should be on chat or title? You must set it to 'chat' or 'title'!" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Disabled Worlds: 'nether, end'" to "plugins/CustomDrops/config.yml" wf "#Worlds in which the script will not work (It does not work on boss drops)" to "plugins/CustomDrops/config.yml" wf "" to "plugins/CustomDrops/config.yml" wf "Disabled Mobs: 'illusioner, ghast, ravager'" to "plugins/CustomDrops/config.yml" wf "#Mobs that have no drop effect" to "plugins/CustomDrops/config.yml" if file "plugins/CustomDrops/messages.yml" doesn't exist: create file "plugins/CustomDrops/messages.yml" wf "# __ __ ____ __ _ " to "plugins/CustomDrops/messages.yml" wf "# | \/ | ___ ___ ___ __ _ __ _ ___ ___ / ___|___ _ __ / _(_) __ _ " to "plugins/CustomDrops/messages.yml" wf "# | |\/| |/ _ \/ __/ __|/ _` |/ _` |/ _ \/ __| | | / _ \| '_ \| |_| |/ _` | " to "plugins/CustomDrops/messages.yml" wf "# | | | | __/\__ \__ \ (_| | (_| | __/\__ \ | |__| (_) | | | | _| | (_| | " to "plugins/CustomDrops/messages.yml" wf "# |_| |_|\___||___/___/\__,_|\__, |\___||___/ \____\___/|_| |_|_| |_|\__, | " to "plugins/CustomDrops/messages.yml" wf "# |___/ |___/ " to "plugins/CustomDrops/messages.yml"