A Mindustry plugin for saving and handling data about players.
[ ] Client
[ ] Client server
[x] Headless server
- Download the latest
.jar
- Copy the
.jar
- Navigate to your server root directory
- Navigate to
[server root]/config/mods
- Paste the
.jar
- Start or restart the server
- Type in the respective config values for
url
,user
, andpassword
viaconfig CONFIG PARAMETER
- Run the
reconnect
command. - Register the server to the database via the
register-server
command (if you haven't run theupdate-ip
command).
server-ip
- The IP of the Mindustry server. This is optional and should only be changed when necessary. Default is127.0.0.1
. This shouldn't be changed directly unless you know what you're doing. Change this via theupdate-ip
command.url
- The URL of the database.user
- The database user to authenticate as.password
- The password of the database user.session-duration
- The maximum duration of a player session. Defaults to 12 hours. If the session exceeds the maximum duration, then the user's session will become invalid when the user joins.
register-server <name>
- Registers the server into the database.deregister-server [id]
- Deregisters the server from the database. If an ID is provided, then it will deregister that specific server.list-servers
- Lists all the servers in the database.
reload-configs
- Reloads anything that is dependent on the configuration of the server.update-ip <new-ip>
- Updates the IP of the database entry for the server.update-port <new-port>
- Updates the port of the database entry for the server.update-name <new-name>
- Updates the name of the server. Does NOT update theserverName
configuration.heartbeat-debug
- Sends a heartbeat to the database. DEBUG ONLY.
Refer to the /help
command in-game.
For the database schema, see this file.