Custom teleports are one of the easiest quality-of-life features to add on an L2J server, and you only need your own server files plus database access.
Step 1 — get the coordinates
- Log in and walk to the exact spot you want players to arrive at.
- Type
/loc— the chat box shows your X, Y, Z coordinates. - Note them down (also grab a spawn heading if you want players facing a certain way).
Step 2 — add the teleport
- Open your game database and find the teleport-location table (name varies by fork — often
teleportor a gatekeeper XML on newer forks). - Insert a new row: a unique teleport id, a description/name, the X/Y/Z you copied, and the price (0 for free).
- Link that teleport id to your gatekeeper's menu (HTML or multisell entry).
Step 3 — apply it
Reload with a //reload-type command if your fork supports it, otherwise restart. Talk to the gatekeeper and test the new destination.
Tips
- Keep custom teleport ids in a high range to avoid clashing with official ones.
- Double-check the Z coordinate — a wrong height drops players under the map.
Server tuned the way you want it? List it on L2TopZone and start getting votes.
FAQ
How do I get the coordinates for a teleport?
Stand on the exact spot and type /loc to read your X, Y, Z.
Which table holds teleport locations?
It varies by fork — often a teleport table, or a gatekeeper XML on newer forks.
Players arrive under the map — why?
The Z (height) coordinate is wrong. Re-copy it with /loc from the exact spot.