-
Notifications
You must be signed in to change notification settings - Fork 40
Server Configuration
The configuration file has to be named configuration.conf
and must always be stored in the same directory as the Node.
This file follows the commonly-used ini format which separates the configuration in named sections and keys. For more information on the .ini format click here
Configuration of the database connection. This section is required for the server to startup.
[database]
username=evesharp
password=passwordhere
hostname=localhost
name=evedb
The user to use when connecting to the database
The password to use when connection to the database
The name of the database to use for storing the data. This database has to be setup manually following the installation steps.
The server where the MySQL instance is running.
Indicates the log channels that should be enabled regardless of the supression state they are in (for example for debugging network packets). The list is separated by commas. This is intended for developers only.
[logging]
force=NetworkDebug
Prints the full package data input/output on the node.
Configuration for the file log output. If this section is not present there will be no log file created for the session.
[logfile]
directory=logs
logfile=Node.log
The directory where to save the log files.
The name of the log file to write the loggin information to.
LogLite is an official CCP tool that allows external logging. The protocol is implemented to allow for an easier log inspection and can be run on any machine as long as the server is configured properly to connect to it. This section contains the server information the log should be sent to.
[loglite]
hostname=localhost
port=3273
The hostname of the loglite server is running
The port in which the loglite server is running
This section controls various authentication details.
[authentication]
autoaccount=yes
role=ROLE_PLAYER, ROLE_LOGIN, ROLE_ADMIN, ROLE_QA, ROLE_SPAWN, ROLE_GML, ROLE_GDL, ROLE_GDH, ROLE_HOSTING, ROLE_PROGRAMMER
loginMessageType=MESSAGE
loginMessage=Welcome to EVESharp, the EVE Online server emulator written in C#
Indicates whether the user will receive a message or not upon login. Possible values are: MESSAGE
and NONE
Indicates the message to be displayed to the user when logged in. The value can be any kind of HTML or plaintext text, but be wary, no new lines are supported
Enables/disabled the autoaccount functionality. Valid values are: yes
, true
, 1
. Disabled by default
The role to use for the accounts created automatically, depending on your setup you might want different roles here. For a development machine these should be okay:
ROLE_PLAYER, ROLE_LOGIN, ROLE_ADMIN, ROLE_QA, ROLE_SPAWN, ROLE_GML, ROLE_GDL, ROLE_GDH, ROLE_HOSTING, ROLE_PROGRAMMER
You can check all the available roles here
This section controls various details of the character creation process.
[character]
balance=50000
The default balance a character will have when created. This only applies to new characters. If not specified the default value will be 50000
This section controls what role the server will fulfill
[machonet]
mode=single
port=26000
What mode the server should be running, there's three different values:
- single: Single instance mode, everything runs off the same server
- node: Node mode
- proxy: Proxy mode
While running in node or proxy mode, the server needs to communicate with the orchestrator, which will keep track of the current cluster status, with this setting you can specify the URL where the Orchestrator is listening for requests
[cluster]
url=http://localhost:5085