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" wf "" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "#You can use minecraft colores formatting from https://minecraft.fandom.com/en/wiki/Kody_formatowania" to "plugins/CustomDrops/messages.yml" wf "#For write in the new line insert %nl% before text in new line ( the best skript%nl%is custom drop )" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Drop message title: '&d&lCustom Drop'" to "plugins/CustomDrops/messages.yml" wf "Drop message subtitle: '&fYou dropped the custom item'" to "plugins/CustomDrops/messages.yml" wf "#Messages only when option drop message is set to 'title' in main config." to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Drop message chat: '&e&lLucky guy! &fYou dropped a custom item'" to "plugins/CustomDrops/messages.yml" wf "#Message only when option drop message is set to 'chat' in main config." to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Prefix: '&d&lCD &8> '" to "plugins/CustomDrops/messages.yml" wf "#Messages prefix for all messages if it is enabled in main config" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Added Item: '&aSuccesfuly added item to drop'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Already added: '&cThis item is already added to drop'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Deleted Item: '&aSuccesfuly deleted item from drop'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Already deleted: '&cThis item is not added into drop'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Chance check: '&7Chance for drop this item is: '" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Chance set: '&aSuccesfuly changed chance for drop this item'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "No permission: '&cYou don't have permission to this command'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Reload: '&aSuccesfuly reloaded skript'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" wf "Help message: ' &d&lCD%nl%&d&l* &7/cd additem %nl%&d&l* &7/cd remitem %nl%&d&l* &7/cd checkchance %nl%&d&l* &7/cd setchance %nl%&d&l* &7/cd help%nl%&d&l* &7/cd reload'" to "plugins/CustomDrops/messages.yml" wf "" to "plugins/CustomDrops/messages.yml" if file "plugins/CustomDrops/mobs.yml" doesn't exist: create file "plugins/CustomDrops/mobs.yml" wf "# __ __ _ ____ __ _ " to "plugins/CustomDrops/mobs.yml" wf "# | \/ | ___ | |__ ___ / ___|___ _ __ / _(_) __ _ " to "plugins/CustomDrops/mobs.yml" wf "# | |\/| |/ _ \| '_ \/ __| | | / _ \| '_ \| |_| |/ _` | " to "plugins/CustomDrops/mobs.yml" wf "# | | | | (_) | |_) \__ \ | |__| (_) | | | | _| | (_| | " to "plugins/CustomDrops/mobs.yml" wf "# |_| |_|\___/|_.__/|___/ \____\___/|_| |_|_| |_|\__, | " to "plugins/CustomDrops/mobs.yml" wf "# |___/ " to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "# GUIDE: Here you can edit drop from mobs, there are every mob in minecraft." to "plugins/CustomDrops/mobs.yml" wf "# There is amount of dropped items ( you can set random amount from 0 to 64 by set Amount to '0' )" to "plugins/CustomDrops/mobs.yml" wf "# There is too chance for drop in % ( you can edit chance in option Chance: '% - in number' )" to "plugins/CustomDrops/mobs.yml" wf "# You can set item dropped by mob in option Item: at every mob config but it must be eg. stone or golden apple" to "plugins/CustomDrops/mobs.yml" wf "# whithout any _ or big letters only space!" to "plugins/CustomDrops/mobs.yml" wf "# You can multiply items by copping mob config and pasting it below and adding number eg. below" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "# Cow: < mob" to "plugins/CustomDrops/mobs.yml" wf "# - Cow Item: 'diamond' <- customdrop ( item )" to "plugins/CustomDrops/mobs.yml" wf "# - Cow Amount: '1' <-- amount of item" to "plugins/CustomDrops/mobs.yml" wf "# - Cow Chance: '100' <--- chance of drop in %" to "plugins/CustomDrops/mobs.yml" wf "# - Cow Item2: 'coal' <---- second item" to "plugins/CustomDrops/mobs.yml" wf "# - Cow Amount2: '100' <----- amount of second item" to "plugins/CustomDrops/mobs.yml" wf "# - Cow Chance2: '1' <------ chance to drop second item" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "# The maximum number of drops is 5 so you can paste and edit numbers 4 times" to "plugins/CustomDrops/mobs.yml" wf "# You can also add command to drop. To do it set command to 'my custom command' and cmd chance to 'chance in %'" to "plugins/CustomDrops/mobs.yml" wf "# In free version you can add maximum 1 command to drop per one mob" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "Allay: 'false'" to "plugins/CustomDrops/mobs.yml" wf " - Allay Item: 'diamond'" to "plugins/CustomDrops/mobs.yml" wf " - Allay Amount: '1'" to "plugins/CustomDrops/mobs.yml" wf " - Allay Chance: '50'" to "plugins/CustomDrops/mobs.yml" wf " - Allay Command: 'allay help'" to "plugins/CustomDrops/mobs.yml" wf " - Allay cmd Chance: '100'" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "Axolot: 'false'" to "plugins/CustomDrops/mobs.yml" wf " - Axolotl Item: 'water bucket'" to "plugins/CustomDrops/mobs.yml" wf " - Axolotl Amount: '1'" to "plugins/CustomDrops/mobs.yml" wf " - Axolotl Chance: '100'" to "plugins/CustomDrops/mobs.yml" wf " - Axolotl Command: 'axolotl help'" to "plugins/CustomDrops/mobs.yml" wf " - Axolotl cmd Chance: '100'" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf "" to "plugins/CustomDrops/mobs.yml" wf " Cow: 'true' - Cow Item: 'bookshelf' - Cow Amount: '1' - Cow Chance: '100' - Cow Command: 'help' - Cow cmd chance: '50'