Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ZTzTopia/GTProxy/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The/warp command allows you to instantly warp to any world without manually typing it in the world portal. It handles the exit and join sequence automatically with proper timing.
Syntax
The name of the world to warp to. Must be 23 characters or less and cannot be “EXIT”.
Usage Examples
Basic Warp
Warp to a world named “START”:- Send a quit packet to exit the current world
- Wait 1.75 seconds (1750ms)
- Send a join request to the target world
Warp with Uppercase
Warp with Mixed Case
World names are case-sensitive in Growtopia, so
START, start, and Start are different worlds.Validation and Errors
Missing World Name
If you don’t provide a world name:Invalid World: EXIT
You cannot warp to a world named “EXIT”:World Name Too Long
World names must be 23 characters or less:How It Works
Warp Sequence
The warp command follows this sequence:- Validation: Checks world name length and special cases
- Cancel existing warps: Cancels any pending warp operations using the “warp” tag
- Send quit packet: Sends
QuitToExitpacket to leave current world - Show feedback: Displays “Warping to…” message
- Schedule join: After 1.75 seconds, sends
JoinRequestpacket - Connection check: Verifies client is still connected before joining
Timing
The 1750ms (1.75 second) delay between quit and join is critical:- Allows the server to process the exit
- Prevents race conditions
- Ensures smooth world transition
Task Cancellation
If you execute/warp multiple times quickly, previous warp tasks are cancelled:
Implementation Details
Source Reference
Implementation:/home/daytona/workspace/source/src/command/commands/warp_command.hpp:8
Dependencies
- Scheduler: Uses
core::Schedulerfor delayed execution - Packet System: Sends
QuitToExitandJoinRequestpackets - Network: Requires active client connection
Code Flow
Advanced Usage
Rapid World Hopping
You can warp to multiple worlds in sequence, but wait for each warp to complete:Cancel a Warp
Execute another warp command before the delay completes:Limitations
Use Cases
Fast Navigation
Quickly jump between frequently visited worlds
Automation
Integrate with Lua scripts for automated world hopping
Testing
Rapidly test different worlds during development
Convenience
Skip manual world portal interactions
Related Commands
Scheduler API
Learn about delayed task execution
Packet System
Understand packet-based communication