Help adding a custom tp command

I was wondering if anyone had an idea for how I could add a custom command where people can use /hub to teleport to my hub building. I use SimplePortals and have created a portal to every major district on the server. Now I want a command that teleports them directly there no matter where they are. However, I want to use the 5 second “don’t move” that most teleport commands use (like better rtp). Otherwise people will abuse it to cheat death. Anyone got any solutions? Summary: need command /hub that teleports to a specific location.
Was this page helpful?