Wiki 9Minecraft Wiki 9Minecraft
Darkspawn Wiki › Guides › Binding the Teleport Command to a Hotkey Using Macros

Binding the Teleport Command to a Hotkey Using Macros

Creating a Quick Teleport Keybind

Manually opening chat and typing commands can be inconvenient during active gameplay. While DarkSpawn itself does not include built-in keybind configurations, it pairs smoothly with client-side macro mods to enable instant single-key teleportation.

To bind the command:

1. Ensure you have a client-side macro mod installed that allows binding commands to keyboard hotkeys.

2. Open the configuration screen or keybind menu of your macro mod.

3. Create a new macro entry and assign it your desired keyboard key.

4. Set the macro action to send the chat command: /trigger darkspawn

5. Save your macro settings and return to the game.

In-Game Usage

Whenever you need to make a quick return to your server's hub or spawn point, press your assigned keybind. The macro mod will automatically send /trigger darkspawn to the server, teleporting you to the lobby without requiring you to open the chat bar. Because /trigger is handled entirely by the server, this setup works seamlessly without requiring extra mod files beyond your chosen macro tool.