config

Creating a config file is not a big deal. It currently allows you to change the server port and the databse type. Here is an example :

server:
    port: 62484
db:
    useMySQL: true
    host: 127.0.0.1
    port: 3306
    database: minecraft
    username: minecraft
    password: minecraft
  • server
    • port speaks for himself, it allows you to change the port on which the server listen on. Note that this port has to be opened on your firewall/NAT/PAT (default: 62484)
  • db
    • useMySQL : If set to true, all stored things (users, rights, ...) will be stored in a MySQL database instead of a SQLite database. Note that switching from SQLite to MySQL doesn't migrate the datas (default: false)
    • host : The host on which the MySQL server is running (default: empty)
    • port : The port on which MySQL runs (default: 3306)
    • database : The database to use
    • username : The username to connect to the MySQL server
    • password : The password associated with the user

Please note that Minecraft GUI will work fine without any config file, and will use all default.


Comments

Posts Quoted:
Reply
Clear All Quotes