Essentials banner
Essentials icon

Essentials

create a mod can use TP and TPA with cooldown to accept and if player moves the TPA is canceled. have a command /home and /sethome, with 10s for teleport and...

00
hytaleServer2026.1mod

Essentials Mod Notes

  • Added an Essentials plugin with /tp, /tpa + /tpaccept, /sethome, and /home.
  • /tp <player> teleports you directly to another player with a 15s cooldown.
  • /tpa <player> sends a request that expires after 60s; /tpaccept [player] starts a 5s warmup and cancels (with cooldown) if the requester moves or changes worlds.
  • /sethome stores your current position/orientation; /home has a 10s warmup, cancels if you move, and applies a 30s cooldown either way.
  • Homes persist in the plugin data folder so restarts keep saved locations.
  • Movement checks use a small buffer to ignore tiny jitters; teleports copy both body and head rotation.
  • Cooldowns and warmups are all server-side and message players when actions succeed or cancel.

Known Limits / Ideas

  • Only one home per player is tracked.
  • Teleport requests are limited to the latest per target player; adding a deny/cancel command would be straightforward if needed.