Waystone Same Dimension is an addon for Waystones. Waystones (and its library Balm) must be installed for it to work.
What it does:
Waystone teleports only work inside the same dimension. Overworld to Overworld, Nether to Nether and End to End all work as normal.
Trying to teleport to a waystone in a different dimension is cancelled, and the player sees the message "You cannot warp between these worlds."
Modded dimensions follow the same rule.
This applies to every Waystones teleport, including waystones, sharestones, warp stones and scrolls.
Requirements:
Minecraft 1.21.1, NeoForge
Waystones 21.1.47 or newer
Balm 21.0.67 or newer
Install it on the server (and on clients in singleplayer).