Teleport Mod is a server-side mod for Minecraft that allows players to link two signs and teleport between them. It is designed for use on multiplayer servers and allows administrators to configure and manage teleport links.
- Link two wooden signs using obsidian to create a teleport link.
- Only administrators with a configurable permission level can configure or destroy links.
- Players can use linked signs to teleport from one point to another.
/teleportmod reload
command to reload configuration and language files without restarting the server.
- Minecraft 1.21 or later
- Fabric API
- Place the mod's
.jar
file in themods
folder of the Minecraft server. - Start the server to generate configuration files.
Once the server is started, configuration files will be generated in the config/teleportmod/
folder:
- config.json: Configuration file where you can set the permission level required to create or destroy teleport links.
- language.txt: Language file where you can customize the messages shown to players.
The config.json
file includes a property for the administrator permission level:
{
"permissionLevel": 4
}
permissionLevel
: Specifies the minimum permission level required to create or destroy teleport links. The default permission level is4
(administrator).
The language.txt
file allows you to customize the messages players see when using the mod. Here is an example of how it looks:
sign_a_selected=Sign A selected!
teleport_link_set=Teleport link set between A and B!
teleported_to=Teleported to
no_permission_to_destroy=You don't have permission to destroy this sign!
error_already_linked=Error: One of the signs is already linked!
You can edit the messages as you wish, maintaining the key=value
structure.
-
Create a Teleport Link:
- Equip an obsidian block in the main hand.
- Right-click on a wooden sign. This will select the first teleport point.
- Right-click on a second wooden sign to link the two points.
-
Teleport:
- Once the link is created, any player can click on one of the signs to be teleported to the other.
-
Remove a Teleport Link:
- Administrators can destroy one of the signs to remove the link. Players without the required permission level cannot destroy linked signs.
-
Reload Configuration:
- Use the
/teleportmod reload
command to reload configuration and language files without restarting the server.
- Use the
/teleportmod reload
: Reload the configuration and language files.
- Ensure players have the correct permission level to use the mod's administrative features (configurable via
config.json
). - Remember to back up the
teleport_links.json
file to preserve created teleport links.