Quickstart
Last updated
All runith plugins depend on this core to function. Default configuration:
We recommend using mongodb for servers with a large number of users (+30), gson for testing or few users, and none for testing (no data will be saved).
Last updated
# Available: mongodb, gson and none
# none database always return null and don't save data
type: "gson"
context-prefix: "" # Use: prison, lobby, survival-og for separate data in the same database
redis:
enable: false # Independent from mongodb and Gson
uri: "redis://user:test@localhost:6379/0"
mongodb:
uri-enable: false
uri: "mongodb+srv://test:[email protected]/?retryWrites=true&w=majority&appName=Test"
user: "admin"
password: "password"
host: "localhost"
port: 27017
connect-timeout-seconds: 3
read-timeout-seconds: 2
gson:
path: "plugins/RunithCore/Gson-Database"