Cross-Server Teleportation
KaTpa can work with KaProxy so players can send requests to players on other backend servers. After acceptance, the traveling player completes the warm-up, switches server automatically, and arrives beside the target player.
Requirements#
- Velocity 3.4 or a compatible version, or BungeeCord 1.21
- The same KaTpa version on every backend server
- KaProxy installed on the proxy
- One MySQL or MariaDB database shared by every KaTpa backend
Proxy Setup#
- Place
KaProxy-1.0.0.jarin the proxy'spluginsfolder. - Start the proxy once so KaProxy creates its configuration.
- Make sure the Tpa module is enabled:
modules:
tpa:
enabled: true
- Restart the proxy or run
/kaproxy reload.
Backend Setup#
Enable proxy support in plugins/KaTpa/config.yml on every backend server:
proxy:
enabled: true
storage:
type: mysql
mysql:
host: 127.0.0.1
port: 3306
database: katpa
username: katpa
password: change-me
use-ssl: false
Replace the sample database address and credentials, and use the same database settings on every backend. Restart all backend servers afterward.
Player Experience#
Once enabled, the /tpa and /tpahere player dialogs contain players from the entire network. Whitelists, blacklists, response modes, cooldowns, and warm-up cancellation rules work the same way across servers.
By default, if the target player changes backend during the warm-up, KaProxy follows their current server.
Troubleshooting#
If players see "Cross-server service is currently unavailable," check:
- KaProxy is enabled correctly on the proxy.
- KaProxy's Tpa module is enabled.
proxy.enabledistrueon the current backend.- The player joined the backend through the proxy.
- The proxy and backend consoles do not contain related errors.