Extra Locations
A warp can have more than one destination. When a player teleports, WarpGUI picks one location at random from the warpβs main location plus all of its extra locations β handy for spreading players across a hub, an arena, or a set of shop stalls.
Managing extra locations
Section titled βManaging extra locationsβ/extralocwarp list <warp>/extralocwarp add <warp>/extralocwarp edit <warp> <index>/extralocwarp remove <warp> <index>| Subcommand | Permission | Behaviour |
|---|---|---|
list |
warpgui.locations.list |
List the warpβs extra locations and their indices. |
add |
warpgui.locations.add |
Add your current position as a new extra location. |
edit |
warpgui.locations.edit |
Move extra location <index> to your current position. |
remove |
warpgui.locations.remove |
Delete extra location <index>. |
As a player, add/edit use your standing location. From console you can pass an explicit World;X;Y;Z location instead.
How teleport picks a destination
Section titled βHow teleport picks a destinationβdestinations = [ main location ] + [ all extra locations ]chosen = random( destinations )So a warp with the main spot plus 3 extra locations sends players to one of 4 places, evenly at random. A warp with no extra locations always uses its main location.
Extra locations are independent of the warpβs icon, category and permission β those still apply to the warp as a whole.