on script load: if file "plugins/UltimateHomes/homes.yml" does't exist: load yaml "plugins/UltimateHomes/homes.yml" as "config" send "&a&lᴜʟᴛɪᴍᴀᴛᴇ ʜᴏᴍᴇs &8- &fᴄʀᴇᴀᴛɪɴɢ ғɪʟᴇs" to console stop else: send "&a&lᴜʟᴛɪᴍᴀᴛᴇ ʜᴏᴍᴇs &8- &fᴇɴᴀʙʟɪɴɢ" to console stop command /home [] [] []: aliases: dom trigger: if arg 1 is not set: execute player command "home help" if arg 1 is "help" or "pomoc": send " &a&lᴜʟᴛɪᴍᴀᴛᴇ ʜᴏᴍᴇs" to player send "" to player send "&a&l• &f/home set &8- &7Set home at your location" to player send "&a&l• &f/home rem &8- &7Remove specified home" to player send "&a&l• &f/home rename &8- &7Rename home" to player send "&a&l• &f/home list &8- &7Show your homes list" to player send "&a&l• &f/home tp &8- &7Teleport to specified home" to player send "&a&l• &f/home &8- &7Open your homes menu" to player send "" to player if player has permission "home.help.adm": wait 3 ticks send "&c&lᴀᴅᴍɪɴ ᴄᴏᴍᴍᴀɴᴅs" to player send "" to player send "&a&l• &f/home del &8- &7Delete player's home" to player send "&a&l• &f/home add &8- &7Create home for other player" to player send "&a&l• &f/home tp &8- &7Teleport to other player's home" to player send "&a&l• &f/home list &8- &7Show other players homes list" to player send "&a&l• &f/home menu &8- &7Open other players homes menu" to player send "" to player stop if arg 1 is not set: set {_m} to chest inventory with 3 rows named "&a&lᴜʟᴛɪᴍᴀᴛᴇ ʜᴏᴍᴇs" set slot