/* * changelog 1.18.2 update: * * TPort now supports translations. A server can set a default language, every player can follow the server of select their own one. * When a server has not installed a language a player wants, they can set their language to 'custom'. * This way TPort does not translate any messages (for them), but lets their Minecraft do it. The player must use a TPort Language Resource Pack, * this works the same as selecting a texture/resource pack. Now TPort is translatable in any language anyone wants (not restricted by the server). * commands: * /tport language server [language] * /tport language get * /tport language set custom * /tport language set server * /tport language set <server language> * /tport language repair <language> [repair with] * /tport language test <id> * * Changed FeatureTP (now works with Minecraft 1.18.2) * /tport featureTP search <feature> [mode] -> /tport featureTP search [mode] <feature...> * You can search for multiple features at the same time * The Taglists from Minecraft can be used * * Changed BiomeTP * When the TPort version supports the Minecraft version (no legacy support): * - tab completes only shows the biomes that are generated in the world the player is in * - BiomeTP GUI only shows the biomes that are generated in the world the player is in * - The Taglists from Minecraft are added to the Presets * When an error occurs BiomeTP Legacy support is turned on * * Removed converting functions. If you are upgrading to 1.18.2 (or higher) from a version lower than 1.15.3 you need to install 1.16.2 first. * you could suffer from data loss if you upgrade to 1.18.2 (or higher) from a version lower than 1.15.3 * * Improved some GUI's. Middle Click is now replaced by Shift Right Click. Only Creative players could use the Middle Click Button. * In the future there will be more functions bind to other mouse clicks (like Shift Left Click) * * removed bug when you create a TPort you will get the error if you don't have permission to add a description when you aren't adding a description * improved stability * when a TPort is transferred, the old owner will now be automatically added to the whitelist * fixed /tport edit <TPort name> whitelist add <player names...> * * changed /tport safetyCheck * new commands: * /tport safetyCheck * /tport safetyCheck <source> [state] * /tport safetyCheck check * /tport open <player> [TPort name] [safetyCheck] * /tport own [safetyCheck] * /tport home [safetyCheck] * /tport public open <TPort name> [safetyCheck] * The source stands for the source of reason for teleportation. open, own, home and public is their own source. * This way you can set the default state for each command * '/tport safetyCheck check' is to check if the location you are at is considered safe by the safety checker * * added/changed TPort private settings: * OFF -> OPEN. better name for its function * ON -> PRIVATE. better name for its function * + CONSENT_PRIVATE. when the owner is online players must get consent of owner, when the owner is offline the TPort goes to PRIVATE * + CONSENT_CLOSE. when the owner is online players in the whitelist can ask for consent to teleport, when the owner is offline the TPort closes * for CONSENT settings some commands where added, these work the same as the ones for PLTP: * /tport requests * /tport requests accept [player...] * /tport requests reject [player...] * /tport requests revoke * '/tport requests' now handles all the teleportation requests, from PLTP and normal TPort teleportation. * As of now you only can have only one request (to a player with PLTP or to a TPort) * * You are now able to log yourself. * To start: /tport log add <TPort name> YourName:[ALL|ONLINE] * To stop: /tport log add <TPort name> YourName:[NONE|OFFLINE] * /tport log remove <TPort name> YourName * * changed '/tport redirect <redirect> [state]' to '/tport redirect [redirect] [state]' * * added /tport features [feature] state [state] * This command allows you to enable/disable features without the use of permissions * /tport metrics enable [state] -> /tport features Metrics state [state] * /tport permissions enable [state] -> /tport features Permissions state [state] * /tport dynmap enable [state] -> /tport features Dynmap state [state] * * added /tport edit <tport name> whitelist visibility [state] * This command is used to control the visibility of the whitelist of a TPort in chat and GUI * * When a TPort is selected to move in your TPort GUI, dummy items will appear in the GUI at the empty slots to move that TPort to an empty slot * * fixed usage of permissions in the cooldown configuration. The permission now support linking other cooldown. * * added the tp restriction 'interactRestriction'. Players with this restriction can't interact with the world while a TP is pending * added the tp restriction 'doSneakRestriction'. Players with this restriction have to sneak at least once while a TP is pending (This restriction is more of a concept for creating your own) * * TPort now should start when it's not run from a Spigot server */