on load: if file "plugins/UltimateDuels/config.yml" doesn't exist: wait 4 ticks send "&d&lUD &8» &7Creating files..." to console load yaml "plugins/UltimateDuels/config.yml" as "config" set yaml value "notify-updates" from "config" to true set yaml value "version" from "config" to 1.0 set yaml value "request.requires-clear-inventory" from "config" to false set yaml value "request.prevent-creative-mode" from "config" to true set yaml value "request.kit-selecting" from "config" to true set yaml value "request.arena-selecting" from "config" to true set yaml value "request.betting.item" from "config" to false set yaml value "request.betting.money" from "config" to true set yaml value "request.cooldown" from "config" to false set yaml value "request.cancel-on-move" from "config" to false set yaml value "request.expiration" from "config" to 30 set yaml value "duel.max-duration" from "config" to 600 set yaml value "duel.start-command" from "config" to false set yaml list "duel.start-command.commands" from "config" to "my command 1" and "my command 2" set yaml value "duel.end-command" from "config" to false set yaml list "duel.end-command.commands" from "config" to "my command 1" and "my command 2" set yaml value "duel.projectile-hit-message" from "config" to true set yaml list "duel.projectile-hit-message.projectiles" from "config" to "arrow" and "snowball" and "triden" and "tipped arrow" and "spectral arrow" set yaml value "duel.remove-empty-bottles" from "config" to true set yaml value "duel.prevent-teleports-to-match-players" from "config" to true set yaml value "duel.attack-teamates" from "config" to false set yaml list "duel.blacklisted-worlds" from "config" to "world 1" and "world 2" set yaml value "duel.teleport-to-last-location" from "config" to false set yaml value "duel.teleport-delay" from "config" to 5 set yaml value "duel.winner-firework" from "config" to true set yaml value "duel.arena-only-end-message" from "config" to true set yaml value "duel.display-inventories" from "config" to true set yaml value "duel.prevent-item-drop" from "config" to false set yaml value "duel.prevent-item-pickup" from "config" to false set yaml value "duel.block-all-commands" from "config" to true set yaml list "duel.allowed-commands" from "config" to "msg" and "r" and "surrender" set yaml value "rating" from "config" to true set yaml value "rating.default" from "config" to 1000 set yaml value "spectate" from "config" to true set yaml value "spectate.requires-cleared-inventory" from "config" to false set yaml value "spectate.use-spectator-gamemode" from "config" to false set yaml value "spectate.add-invisibility-effect" from "config" to true set yaml value "countdown" from "config" to true set yaml value "countdown.prevent.movement" from "config" to true set yaml value "countdown.prevent.projectile-launch" from "config" to true set yaml value "countdown.prevent.pvp" from "config" to true set yaml value "countdown.prevent.eating" from "config" to false set yaml value "stats.display-kit-ratings" from "config" to true set yaml value "stats.matches-to-display" from "config" to 5 set yaml value "top.update-interval" from "config" to 5 set yaml value "top.losses" from "config" to true set yaml value "top.wins" from "config" to true set yaml value "top.kits" from "config" to true set yaml value "soup.hearths-to-regen" from "config" to 3.5 set yaml value "soup.remove-empty-bowl" from "config" to true set yaml value "soup.cancel-if-full" from "config" to true set yaml value "sounds.countdown-sounds.type" from "config" to "entity.player.levelup" set yaml value "sounds.countdown-sounds.volume" from "config" to 1.0 set yaml value "sounds.countdown-sounds.pitch" from "config" to 0.95 set yaml value "sounds.start.type" from "config" to "item.trident.hit" set yaml value "sounds.start.volume" from "config" to 1.0 set yaml value "sounds.start.pitch" from "config" to 0.95 set yaml value "sounds.win.type" from "config" to "block.note_block.pling" set yaml value "sounds.win.volume" from "config" to 1.0 set yaml value "sounds.win.pitch" from "config" to 0.95 set yaml value "sounds.lose.type" from "config" to "entity.ghast.shoot" set yaml value "sounds.lose.volume" from "config" to 1.0 set yaml value "sounds.lose.pitch" from "config" to 0.95 if file "plugins/UltimateDuels/messages.yml" doesn't exist: wait 4 ticks load yaml "plugins/UltimateDuels/messages.yml" as "messages" set yaml value "version" from "messages" to 1.0 set yaml value "strings.prefix" from "messages" to "&d&lDuels" set yaml value "strings.prefix-character" from "messages" to "&8»" set yaml value "strings.full-line" from "messages" to "&8&m- -" set yaml value "strings.empty-line" from "messages" to "&7" set yaml value "strings.fail-prefix" from "messages" to "&cFailed to start the match:" set yaml value "general.true" from "messages" to "&aTrue" set yaml value "general.false" from "messages" to "&cFalse" set yaml value "general.enabled" from "messages" to "&aEnabled" set yaml value "general.disabled" from "messages" to "&cDisabled" set yaml value "general.not-selected" from "messages" to "&7Not Selected" set yaml value "general.random" from "messages" to "&7Random" set yaml value "general.none" from "messages" to "&7None" set yaml value "general.