A really simple warps mod for Fabric/Quilt servers, originally created for (but not during) ModFest: Singularity. Warps are stored in an easily readable and editable
warps.ini file inside of the world save.
It adds four commands:
Can be used by anyone.
Teleport to the warp named
name, even if it's in another dimension.
Supports full lenient suggestions. e.g.
/warp salad will turn up a warp named
Can be used by command blocks and operators.
Warp the given
player to the warp named
name, as if they themselves had run
Useful for replacing command blocks with hardcoded
/execute as @p in minecraft:the_nether run tp @s -27 40 123 or similar.
/warpother @p nether-test is a lot nicer and easier to work with.
Create a new warp where you're standing.
pos-mode can be any of:
pos-exact: Keep your exact position in the warp. Players will teleport exactly where you are standing, no ifs, ands, or buts.
pos-block-corner: Your position will be rounded to a block corner in the warp.
pos-block-center: Your position will be rounded to to the center of the block you're standing in.
The Y coordinate is always kept as-is.
rot-mode can be any of:
rot-exact: Keep your exact rotation in the warp.
rot-45: Your rotation will be rounded to a multiple of 45 degrees.
rot-cardinal: Your rotation will be rounded to a cardinal direction.
name can be anything. Really. Anything.
Delete an existing warp.