options: version: 1.0 on script load: send "&r" to console send "&8&l| &fxCheck &8- &f_xKubus_" to console send "&8&l| &fEnabled version {@version}" to console if "{@version}" is not text from "https://code.skript.pl/R3AguebW/raw": send "&8&l| &cThere is an update! &8( &c&nv%text from ""https://code.skript.pl/R3AguebW/raw%"" &8)" to console send "&8&l| &cFor more info type /xcheck update" to console send "&r" to console else: send "&r" to console on join: if yaml value from "config" is true: if player has permission "*": if "{@version}" is not text from "https://code.skript.pl/R3AguebW/raw": send "&r" to player send "&8&l| &fᴛʜᴇʀᴇ ɪꜱ ᴀɴ ɴᴇᴡ ᴜᴘᴅᴀᴛᴇ ᴏꜰ xᴄʜᴇᴄᴋ!" to player send "&8&l| &fꜰᴏʀ ᴍᴏʀᴇ ɪɴꜰᴏ ᴛʏᴘᴇ /xᴄʜᴇᴄᴋ ᴜᴘᴅᴀᴛᴇ ᴄᴏᴍᴍᴀɴᴅ" to player send "&r" to player