Configuration
#
Whirlsplash#
WorldsMaster UsernameThe server operator's username.
This should NOT be changed under normal circumstances.
#
IPThis configuration option may become deprecated in the near: issue.
The Internet Protocol address of the host's machine.
When connecting to a local server (client and host both originate from the same machine), a value of
0.0.0.0
or 127.0.0.1
is fine, however, if you are hosting a server publicly as service, this
should be changed to the host's IP address.
#
API#
PortThe port on which Whirl's administration and statistics server is listening.
#
Prompt#
EnableManually enable the Whirl Shell.
#
PS1Similar to a PS1 as seen in *nix-based operating systems, the Prompt String/ Statement One is the prompt string which will appear if you have the Whirl Shell enabled.
#
Log#
EnableToggle the logging functionality of Whirl.
#
LevelThe level of logging which the serve should emit.
By default, errors, warnings, and info (1) logs are emitted, however, you can change this value to enable debug (2) and trace (3) logs.
Under normal circumstances, this value should only be changed when instructed to or if you are experiencing any undefined/ unexpected behaviours and you would like to try self-debugging.
#
EverythingEnables logging from ALL of Whirl and it's dependencies.
It it's default state, false, only Whirl's core crates emit logging information, with this configuration key enabled, ALL of Whirl's external dependencies will emit logging information.
This configuration key is best left disabled.
#
TestEmits a single log for each log level, useful for debugging.
#
FileIf enabled, logs will be emitted to a file within a directory relative to the Whirl binary in a
directory named log
. If disabled, logs will be emitted to standard out.
#
Distributor#
WorldsMaster GreetingThe first message or "greeting" which is sent to a user once connected to a WorldServer.
#
PortThe port which the Distributor may be accessed from.
This should NOT be changed under any circumstances.
#
Hub#
PortThe port which the Hub may be accessed from.
This should NOT be changed under any circumstances.