Server Config

Ranvier configuration is stored in the ranvier.json file in the root of the project.


field type (default)

port number (4000)
Port that the game runs on. Note, port < 1024 may require that you run the ./ranvier executable with sudo.
webPort number (9001)
Port the web API runs on
bundles array<string>
List of enabled bundles, for details see the Bundles section
maxAccountNameLength number (20)
minAccountNameLength number (3)
maxPlayerNameLength number (30)
minPlayerNameLength number (3)
maxCharacters number (3)
Account and character creation validation settings
allowMultiplay boolean (false)
If enabled players can log into multiple players on their account at once
startingRoom EntityReference ("limbo:1")
Room player is placed in when first created
moveCommand string ("move")
Name of the command that will handle when the character types a movement direction (See src/CommandParser.js for natively supported directions)
skillLag number
Default milleconds of lag to apply after a skill is used before they can use another skill. Can be configured per skill
logfile string
Filename to be used for logging. Optional; by default Ranvier will only log to the console. Logs will be in the /log/ directory and will always end in .log.
defaultMaxPlayerInventory number (16)
Default maximum number of items players can carry. NPCs default to Infinity.