mirror of
https://github.com/pterodactyl/documentation.git
synced 2025-12-10 00:09:39 -06:00
Add default egg variable list (#333)
* Add default variable list * Resolve reviews
This commit is contained in:
parent
f64ce07716
commit
6d4a0211d5
@ -201,3 +201,18 @@ regex as any letters or numbers (`\w\d`) including underscore (`_`), periods (`.
|
||||
They will then be visible when managing the startup for a server in both the Admin CP and on the Front-End.
|
||||
|
||||

|
||||
|
||||
## List of default variables
|
||||
|
||||
The default variables are always accessible to all eggs and don't have to be created separately. They can be used in the egg startup, install script, or the configuration file parser.
|
||||
|
||||
| Variable | Description | Example |
|
||||
|----------|-------------|---------|
|
||||
| TZ | Time Zone | `Etc/UTC` |
|
||||
| STARTUP | Startup command of the egg | `java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}` |
|
||||
| SERVER_MEMORY | Memory available for the server in MB | `512` |
|
||||
| SERVER_IP | Default ip of the server | `127.0.0.1` |
|
||||
| SERVER_PORT | Primary Server Port | `27015` |
|
||||
| P_SERVER_LOCATION | Location of the server | `Example City` |
|
||||
| P_SERVER_UUID | UUID of the server | `539fdca8-4a08-4551-a8d2-8ee5475b50d9` |
|
||||
| P_SERVER_ALLOCATION_LIMIT | Limit of allocations allowed for the server | `0` |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user