TPA Utilities - Teleportation Utilities for Minecraft
TPA Utilities is a server-side mod that significantly expands movement capabilities between players. This modification adds a convenient teleportation request system to your server, making interaction between participants more comfortable and efficient.
Main Teleportation Commands
The mod introduces several intuitive commands that allow players to easily move around the world:
- /tpa [player_name] - sends a teleportation request to the specified player. After receiving consent, you will instantly move to them. The request is automatically canceled after 60 seconds without a response.
- /tpahere [player_name] - invites another player to teleport to you. When the request is accepted, they will appear next to you. Also has a 60-second time limit.
- /tpaccept - confirms the last received teleportation request.
- /tpadeny - rejects the last movement request.
- /tpacancel - cancels all active requests sent by you.
- /tpalock - enables or disables the ability to receive teleportation requests from other players.
- /tpalanguage [language] - changes the mod's interface language for the current player.
Translation System and Configuration
Starting from version 1.1.0, the mod automatically creates a configuration file "tpa_translations.json" when the server starts. This allows administrators to add custom translations for different languages that players can select via the /tpalanguage command. Example file structure with French translation:
{
"en": {
"error_tpa_yourself": "Error: You cannot teleport to yourself.",
"error_tpa_disabled": "This player has disabled teleportation requests.",
"error_tpa_already_asked": "Error: You have already sent a teleportation request to this player.",
"wants_tpa_teleport": "%s wants to teleport to you! Confirm with /tpaccept or click here!",
"tpa_sent": "Your teleportation request has been sent!",
"tpa_expired": "Your teleportation request has expired.",
"error_tpahere_yourself": "Error: You cannot teleport yourself to yourself.",
"error_tpahere_disabled": "This player has disabled the tpahere function.",
"error_tpahere_already_asked": "Error: You have already sent a tpahere request to this player.",
"wants_tpahere_teleport": "%s wants you to teleport to them! Confirm with /tpaccept or click here!",
"tpa_here_sent": "Your tpahere request has been sent!",
"tpahere_expired": "Your tpahere request has expired.",
"teleport_success": "Teleportation successfully completed!",
"error_tpaccept": "Error: No active teleportation requests to confirm.",
"tpa_refused": "Your teleportation request has been rejected.",
"tpahere_refused": "Your tpahere request has been rejected.",
"error_tpadeny": "Error: No active teleportation requests to reject.",
"tpacancel_success": "All your tpa and tpahere requests have been canceled!",
"tpalock_activated": "TPA lock activated!",
"tpalock_deactivated": "TPA lock deactivated!",
"tpalanguage_success": "TPA language successfully changed!",
"tpalanguage_failure": "Error: The specified language is not supported.",
"version": "1.1"
},
"fr": {
"error_tpa_yourself": "Error: You cannot teleport to yourself.",
"error_tpa_disabled": "This player has disabled teleportation requests.",
"error_tpa_already_asked": "Error: You have already sent a teleportation request to this player.",
"wants_tpa_teleport": "%s wants to teleport to you! Confirm with /tpaccept or click here!",
"tpa_sent": "Your teleportation request has been sent!",
"tpa_expired": "Your teleportation request has expired.",
"error_tpahere_yourself": "Error: You cannot teleport yourself to yourself.",
"error_tpahere_disabled": "This player has disabled the tpahere function.",
"error_tpahere_already_asked": "Error: You have already sent a tpahere request to this player.",
"wants_tpahere_teleport": "%s wants you to teleport to them! Confirm with /tpaccept or click here!",
"tpa_here_sent": "Your tpahere request has been sent!",
"tpahere_expired": "Your tpahere request has expired.",
"teleport_success": "Teleportation successfully completed!",
"error_tpaccept": "Error: No active teleportation requests to confirm.",
"tpa_refused": "Your teleportation request has been rejected.",
"tpahere_refused": "Your tpahere request has been rejected.",
"error_tpadeny": "Error: No active teleportation requests to reject.",
"tpacancel_success": "All your tpa and tpahere requests have been canceled!",
"tpalock_activated": "TPA lock activated!",
"tpalock_deactivated": "TPA lock deactivated!",
"tpalanguage_success": "TPA language successfully changed!",
"tpalanguage_failure": "Error: The specified language is not supported.",
"version": "1.1"
}
}