Skip to content

Server Configuration

Cliven Mitchell edited this page Feb 3, 2019 · 13 revisions

The /.data/luna.toml file contains all of the configuration required to set up Luna. Here are a few settings you may want to change right off the bat

  • starting_position

This changes the starting position of all players.

  • experience_multiplier

This changes the experience rate for all players. A value of 1.0 is the equivalent to OSRS XP rates.

  • port

This changes the port that the server binds to.

  • serializer

This changes the default PlayerSerializer used to save and load persistent data. There are three types that ship with Luna.

  1. PassivePlayerSerializer doesn't save or load any data and gives everyone that logs in DEVELOPER rights.

  2. JsonPlayerSerializer saves and loads data using local JSON files.

  3. SqlPlayerSerializer saves and loads data using postgre SQL databases.

  • plugin_gui

The plugin GUI allows for specific plugins to be enabled and disabled on startup. By default it's off and all plugins are loaded. Use true to enable it.


Continue to next section.