diff --git a/config/database.json b/config/database.json new file mode 100644 index 00000000..e21d53c4 --- /dev/null +++ b/config/database.json @@ -0,0 +1,8 @@ +{ + "host": "", + "user": "", + "pass": "", + "name": "", + "port": 3306, + "usePersistentConnection": false +} \ No newline at end of file diff --git a/config/discord.json b/config/discord.json index d9e9456d..095e5293 100644 --- a/config/discord.json +++ b/config/discord.json @@ -9,7 +9,7 @@ "sendAction": false, "webhook": { "enabled": false, - "webhookBaseURL": "http://127.0.0.1:8090/discord.php?message={0}&server={1}&type={2}&pass={3}", - "pass": "LWb7T3ZyCam7Nzen" + "webhookBaseURL": "", + "pass": "" } } \ No newline at end of file diff --git a/config/email.json b/config/email.json new file mode 100644 index 00000000..ff5f5560 --- /dev/null +++ b/config/email.json @@ -0,0 +1,27 @@ +{ + "enabled": false, + "method": "http", + "smtp": { + "host": "", + "port": 0, + "username": "", + "password": "", + "from": "", + "fromName": "", + "useTLS": true + }, + "http": { + "password": "", + "baseURL": "" + }, + "bodyContent": { + "confirmEmail": "Welcome to {SERVERNAME}!\nPlease confirm your email by using the command /verifyemail in-game.\n\nYour verification code is: {VERIFICATIONCODE}", + "emailConfirmed": "Your email has been confirmed on {SERVERNAME}!\nYou may now use this email to reset your password, require two-factor authentication on login, receive offline notifications, and more!", + "twoFactorAuthentication": "Please enter the following code to login on {SERVERNAME} for {GAMENAME}: {2FACODE}", + "accountAuthSuccessAlert": "You or someone else has successfully logged in to your account on {SERVERNAME} for {GAMENAME}.\nIP Address: {IPADDRESS}\nLocation: {LOCATION}\nTimestamp: {TIMESTAMP}", + "accountAuthFailAlert": "You or someone else has failed to login to your account on {SERVERNAME} for {GAMENAME}.\nIP Address: {IPADDRESS}\nLocation: {LOCATION}\nTimestamp: {TIMESTAMP}", + "offlineMessageAlert": "You have received a private message on {SERVERNAME} for {GAMENAME}. \nYou are receiving this notification because you enabled email message notifications when you're not connected to the server.\nFrom: {FROMNAME}\nTimestamp: {TIMESTAMP}\nMessage: {MESSAGE}", + "confirmPasswordReset": "You (or someone else) requested to reset your password on {SERVERNAME}!\nPlease confirm this request by entering the code below into the password reset window in-game.\n\nYour verification code is: {VERIFICATIONCODE}\n\n\nIf you did not request a password reset, then there's nothing to worry about since your password can only be reset with the code above.", + "passwordChanged": "Your password on {SERVERNAME} has been changed successfully!" + } +} \ No newline at end of file