
Server Basics
A mod that allows you to have the commands /tpa (which can be disabled with /tpatoggle, accept tpa by clicking on the chat message, etc.) /spawn (teleport...
00—neoforgeServer1.21.1mod
Server Basics adds a handful of server-only quality of life commands:
/tpa <player>sends a teleport request. The target gets clickable [ACCEPT]/[DENY] buttons. Requests expire after the configured timeout (default 60s)./tpaaccept [player]and/tpadeny [player]handle pending requests./tpatoggleturns incoming TPA requests on/off and remembers the choice./spawnteleports to the world spawn point./homeset [name]saves a home (default namehome)./home [name]teleports to it, and/homeslists saved homes.
Configuration lives in config/serverbasics-server.toml:
maxHomeslimits how many named homes each player can store (default 3). Updating an existing name never counts against the limit.tpaTimeoutSecondscontrols how long TPA requests stay active.
Data is persisted on the server:
- Homes (with position, dimension, and facing) and TPA toggle choices save with the world, so they survive restarts.
- TPA requests are kept in memory only and clear on logout or timeout.
The mod is server-only (no client assets or registries) and works with vanilla clients.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.