diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml new file mode 100644 index 0000000..a195e72 --- /dev/null +++ b/src/main/resources/config.yml @@ -0,0 +1,39 @@ +# default config.yml for MysqlEcoBridge +# config version 3.4.1 + +#MySQL Database details +database: + mysql: + #MySQL server address + host: 127.0.0.1 + #MySQL server port (default 3306) + port: 3306 + #Database name (NOTE! You need to create the database, then the plugin will create the tables.) + databaseName: 'mydatabase' + #Tables name (the plugin will auto create it) + dataTableName: 'eco_accounts' + #User name + user: 'admin' + #User password + password: 'cheesecake' + #SSL connection. + sslEnabled: false + #This maintenance task runs async with a 2 min delay after the server starts. + removeOldAccounts: + #Enable or disable database clean up of old accounts. | (true or false) + enabled: false + #Inactivity in days. Default 60 days. + inactivity: 60 + + +#Other configurable options +General: + #Save online players accounts to database task. Disable this task and data will only be saved when the player disconnects. + #To limit data loss in case the server crashes enable this saving task. It runs async so there will be no lag involved. + saveDataTask: + #Enable or disable the data save task. | (true or false) + enabled: true + #Time between data saves in minutes. | Default 3 min. + interval: 3 + #Hide the data save task log messages. + hideLogMessages: false \ No newline at end of file diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml new file mode 100644 index 0000000..eea78c6 --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,7 @@ +name: MysqlEcoBridge +main: net.craftersland.eco.bridge.Eco +version: 3.5 +depend: [Vault] +website: www.m-viper.de +load: STARTUP +description: Sync your economy accounts over many servers using MySQL. \ No newline at end of file