TSEssentials is a foundational Hytale server plugin designed to provide essential teleportation features for players and server administrators. It includes commands for setting personal homes and creating server-wide warp points, making navigation across the game world seamless and efficient.
- Personal Homes: Allows players to set one or more personal "home" locations that they can teleport back to at any time. The number of homes a player can set is configurable.
- Server Warps: Enables server administrators to create a network of server-wide warp points, facilitating easy travel to key locations like cities, dungeons, or event areas.
- Simple Commands: Intuitive and easy-to-use commands for setting and using homes and warps.
- Configuration: All data is stored in simple JSON files, making it easy to view, edit, or reset data if needed.
/sethome [home-name]- Description: Sets a player's home at their current location. If no
home-nameis provided, it sets the default home. - Usage: Stand at the desired location and type
/sethomeor/sethome mybase.
- Description: Sets a player's home at their current location. If no
/home [home-name]- Description: Teleports a player to their set home. If no
home-nameis provided, it teleports them to their default home. - Usage:
/homeor/home mybase.
- Description: Teleports a player to their set home. If no
- Note: The maximum number of homes a player can set is configurable in
player_data.json.
/setwarp <warp-name>- Description: Creates or updates a server-wide warp point at the player's current location. This command typically requires administrative privileges.
- Usage:
/setwarp spawn.
/warp <warp-name>- Description: Teleports a player to the specified server warp.
- Usage:
/warp spawn.
/setspawn- Description: Sets the server's global spawn point at your current location. This command typically requires administrative privileges.
- Usage: Stand at the desired location and type
/setspawn.
/spawn- Description: Teleports a player to the server's global spawn point.
- Usage:
/spawn.
The plugin generates two main configuration files in the server's data directory.
This file stores information about each player's set homes.
MaxHomes: An integer that defines the maximum number of homes a single player is allowed to set.PlayerHomes: An object where each key is a unique identifier for a player's home and the value is the location data for that home.- The key is a string formatted as
"player-uuid:home-name". The default home uses"player-uuid:default". - The location data includes the world's UUID, coordinates (X, Y, Z), and rotation (Pitch, Yaw, Roll).
- The key is a string formatted as
Example player_data.json:
{
"MaxHomes": 2,
"PlayerHomes": {
"a1b2c3d4-e5f6-7890-1234-567890abcdef:default": {
"WorldUUID": "a-world-uuid-string",
"X": 150.5,
"Y": 64.0,
"Z": -200.2,
"Pitch": 0.0,
"Yaw": -90.0,
"Roll": 0.0
},
"a1b2c3d4-e5f6-7890-1234-567890abcdef:mining_outpost": {
"WorldUUID": "a-world-uuid-string",
"X": 3000.0,
"Y": 45.0,
"Z": 1500.7,
"Pitch": 15.0,
"Yaw": 45.5,
"Roll": 0.0
}
}
}This file stores the locations of all server-wide warp points.
Warps: An object where each key is the name of the warp (in lowercase) and the value is the location data for that warp.
Example warp_data.json:
{
"Warps": {
"spawn": {
"WorldUUID": "a-world-uuid-string",
"X": 0.0,
"Y": 70.0,
"Z": 0.0,
"Pitch": 0.0,
"Yaw": 180.0,
"Roll": 0.0
},
"market": {
"WorldUUID": "a-world-uuid-string",
"X": -120.5,
"Y": 72.0,
"Z": 55.8,
"Pitch": 0.0,
"Yaw": 0.0,
"Roll": 0.0
}
}
}This file stores the single, global server spawn point.
Spawn: An object containing the location data for the server spawn. If no spawn is set, this object will be absent or null.- The location data includes the world's UUID, coordinates (X, Y, Z), and rotation (Pitch, Yaw, Roll).
Example spawn_data.json (Spawn Set):
{
"Spawn": {
"WorldUUID": "another-world-uuid-string",
"X": 100.0,
"Y": 60.0,
"Z": 100.0,
"Pitch": 0.0,
"Yaw": 0.0,
"Roll": 0.0
}
}Example spawn_data.json (No Spawn Set):
{}(Note: This is a planned feature and not yet implemented)
Future versions of this plugin will include a permissions system to control who can use certain commands. For example:
tsessentials.setwarp: Allows a user to create and update warps. (Default: OP only)tsessentials.home.multiple: Allows a user to set multiple homes up to the configured limit.