-
Notifications
You must be signed in to change notification settings - Fork 47
Server Configuration
The /.data/luna.json 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.
-
PassivePlayerSerializerdoesn't save or load any data and gives everyone that logs inDEVELOPERrights. Use this if you don't want player data to be saved. -
JsonPlayerSerializersaves and loads data using localJSONfiles. Use this if you want player data to be saved, but don't want to use a database. -
SqlPlayerSerializersaves and loads data using postgre SQL databases. The ideal choice when in production.
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.