The event number that means teleportation to the server is 2, let's understand the other values.
Value 0 - 2 - type teleporter
Value 1 - 2 - Map to which the player is going to walk on this event
Value 2 - 3 - Position tile X for which the player will be teleported.
Value 3 - 2 - Y position of the tile for which the player will be teleported.
As we can see, the server needs only three pieces of information, map, x and y that way he can make any kind of teleportation. ;)
Remember to run the command / SendMap after creating a new teleporter, if not the server will not know this new event.
Value 0 - 2 - type teleporter
Value 1 - 2 - Map to which the player is going to walk on this event
Value 2 - 3 - Position tile X for which the player will be teleported.
Value 3 - 2 - Y position of the tile for which the player will be teleported.
As we can see, the server needs only three pieces of information, map, x and y that way he can make any kind of teleportation. ;)
Remember to run the command / SendMap after creating a new teleporter, if not the server will not know this new event.




Portal










