MyWorlds/ZNPCs/Worldguard for teleportation/player run commands?

Server is a backend server running Paper 1.20.4 on a server network.

I am trying to figure out a way for a command to be run when a player enters an area, failing which I would station an NPC from ZNPCs to right click for the command. I want it to be automatic to increase the immersiveness of the experience.

I have 2 things I want to accomplish for teleportation:

  1. Automatically teleport to an area when walking to a specific point to another place within the same dimension, and back when they walk into the area they teleport to.
This is for a spawn where walking into some teleport pads moves the player to specific parts of spawn and back if they walk back on the same area. Doable with Multiverse core but wanting to move away from it.

  1. Automatically teleport to an area when walking to a specific point to another place in a different world (e.g from world to world_resource), and back when they walk into the same area they teleported to.
This can be done and has already been setup using Multiverse Core, but I am trying to transition away from it into My_Worlds. Issue is I cannot seem to figure out how their teleport function works.

I have 1 thing I want to accomplish for commands:


  1. Have a player run a command when they enter a location, to allow them to enter a dungeon (MythicDungeons), enter a shop inventory, go to a resource world, or any other action of my choice.
I think Worldguard regions does this but I really want a more elegant solution.

Appreciate any advice from experienced owners.
Was this page helpful?