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/nick command allows you to change your display name as shown to other players in the current world. This is a local modification that affects how other players see you, but doesn’t change your actual account name.
Syntax
The display name to set. Can include spaces and supports multiple words.
Usage Examples
Single Word Nickname
Multi-Word Nickname
The command automatically concatenates multiple arguments with spaces:Special Characters
How It Works
Name Change Mechanism
The/nick command works by:
- Combining arguments: Joins all arguments with spaces to form the full nickname
- Getting NetID: Retrieves your local network ID from the
Worldinstance - Creating packet: Constructs an
OnNameChangedpacket with your NetID and new name - Broadcasting: Sends the packet to the server, which broadcasts it to all players
What Others See
When you change your nickname:- Other players in the world see your new display name immediately
- Your name tag above your character updates
- Chat messages show your new name
- The player list reflects the change
What Doesn’t Change
Validation and Errors
Missing Nickname
If you don’t provide a nickname:Empty Name
While technically possible, setting an empty or whitespace-only name may cause display issues:Avoiding empty or whitespace-only nicknames is recommended for best results.
Implementation Details
Source Reference
Implementation:/home/daytona/workspace/source/src/command/commands/nick_command.hpp:13
Argument Parsing
The command joins all arguments with spaces:Packet Details
The command sends anOnNameChanged packet:
Persistence
Session-Based
Your nickname change is not persistent across:- Disconnects and reconnects
- World changes (unless you set it again)
- Proxy restarts
Setting on Join
To automatically set your nickname when joining a world, use a Lua script:Color Codes
You can include Growtopia color codes in your nickname:- `2 = Green text
- `4 = Red text
- `1 = Blue text
- “ = White (default) text
Use Cases
Anonymity
Hide your real username for privacy
Role-Playing
Use character names for RP scenarios
Testing
Test how different names appear in the UI
Fun
Create creative or humorous display names
Limitations
Related Commands
/skin
Change your skin appearance
World API
Access player and world data from Lua