module.exports = {
token: '', // Your Discord bot token
rustMapsApiKey: '', // the rustmaps.io api key
guildId: '984577959648174121', // the id of the discord server you want to use the bot in
logChannelId: '1102195648683585616', // the id of the channel where the bot should log all actions
dbdAccountId: '', // your dbd account id (get this by typing /license display in the support server)
debugMode: true, // if true, the bot will log all actions to the console
servers: [
// in this list your can add as many servers as you need
{
server_identifier: 'server1', // the unique identifier of the server. (used for internal purposes)
server_name: 'Test Server', // the name of the server
server_ip: '', // the ip of the server
server_port: 28015, // the port of the server
server_queryPort: 28017, // the query port of the server
server_rconPort: 28016, // the rcon port of the server
server_rconPassword: '', // the rcon password of the server
server_modded: true, // if the server is modded or not (if plugins are used)
wipe_Interval: '0 20 19 1/1 * ? *', // the interval of the wipe. (generate interval at http://www.cronmaker.com/)
wipe_bpWipe: false, // if the wipe is a bp wipe or not
files_serverRootPath: 'C:\\Users\\user\\Desktop\\rsmtesting', // the path to the main server folder. (where your start.bat is located)
files_savesFolderPath: 'C:\\Users\\user\\Desktop\\rsmtesting\\server\\rsm', // the path to the saves folder. (where your map file is located)
files_serverCfgPath: 'C:\\Users\\user\\Desktop\\rsmtesting\\server\\rsm\\cfg\\server.cfg', // the path to the server.cfg file
files_startFilePath: 'C:\\Users\\user\\Desktop\\rsmtesting\\start.bat', // the path to the start.bat file
files_oxideFolderPath: 'C:\\Users\\user\\Desktop\\rsmtesting\\oxide', // the path to the oxide folder
files_excludeSafeFiles: ['logs', 'cfg', 'Log.EAC.txt'], // save files that should not be deleted on wipe. (always exclude cfg)
files_deletables: [
// file paths that should be deleted on wipe. (use absolute paths)
'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\Shop.json',
'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\Referrals.json',
'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\StaticLootables_data.json',
'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\VanishPlayers.json',
'C:\\Users\\user\\Desktop\\rsmtesting\\oxide\\data\\Kits',
],
vote_autoStart: true, // if the vote should start automatically
vote_channelId: '1098325670687416331', // the id of the channel where the vote should be posted
vote_StartAt: '0 0 19 1/1 * ? *', // the interval when the vote should start. (generate interval at http://www.cronmaker.com/)
vote_endAt: '0 10 19 1/1 * ? *', // the interval when the vote should end. (generate interval at http://www.cronmaker.com/)
vote_maps: ['1000_1', '1000_50000', '1000_1000'], // the maps that should be voted for. (always format the map name like this: 'mapSize_mapSeed')
vote_mapCount: 3, // the amount of maps that should be voted for. the maps from the list will be randomly selected
vote_multiple: true, // if players can vote for multiple maps
update_dynamicTitle: true, // if the title should be updated dynamically
update_serverTitle: 'Test Server wiped on {wipeDate} test1', // the title of the server. placeholders: {wipeDate}
update_dynamicDescription: true, // if the description should be updated dynamically
update_serverDescription: 'Test Server wiped on {wipeDate} test1', // the description of the server. placeholders: {wipeDate}
// embed placeholders: {serverName} {mapSeed} {mapSize} {mapImage} {mapUrl} {wipeDate} {nextWipeDate} {nextBpWipeDate} {nextVoteDate}
announcement_autoAnnounce: true, // if the announcement should be posted automatically after a wipe
announcement_channelId: '1098325694930497607', // the id of the channel where the announcement should be posted
announcement_content: '@ ping roles', // the content of the announcement. (can be used to ping roles)
announcement_embedTitle: '{serverName} just wiped!', // the title of the embed
announcement_embedDescription: '**Join Server:**\nSteam: steam://connect/{serverIp}:{serverPort}\nF1: `client.connect {serverIp}:{serverPort}`\n\n**Planned:**\nNext wipe: {nextWipeDate}\nNext BP wipe: {nextBpWipeDate}\nNext vote: {nextVoteDate}\n\n**Map:** [rustmaps.com]({mapUrl})', // the description of the embed
announcement_embedColor: '#038CB5', // the color of the embed. (must be a hex color)
announcement_embedImage: '{mapImage}', // the image of the embed
announcement_embedFooterText: 'Server just wiped!', // the footer text of the embed
announcement_embedFooterIcon: '', // the footer icon of the embed
announcement_embedThumbnail: '', // the thumbnail of the embed
announcement_embedAuthorName: '', // the author name of the embed
announcement_embedAuthorIcon: '', // the author icon of the embed
announcement_embedUrl: '', // the url of the embed
reminder_autoRemind: true, // if the reminder should be posted automatically before a wipe
reminder_Interval: '0 15 19 1/1 * ? *', // the interval when the reminder should be posted. (generate interval at http://www.cronmaker.com/)
reminder_channelId: '1098325694930497607', // the id of the channel where the reminder should be posted
reminder_content: '@ ping roles', // the content of the reminder. (can be used to ping roles)
reminder_embedTitle: '{serverName} is about to wipe!', // the title of the embed
reminder_embedDescription: 'Make sure to vote for the next map!', // the description of the embed
reminder_embedColor: '#038CB5', // the color of the embed. (must be a hex color)
reminder_embedImage: '', // the image of the embed
reminder_embedFooterText: 'Server is about to wipe!', // the footer text of the embed
reminder_embedFooterIcon: '', // the footer icon of the embed
reminder_embedThumbnail: '', // the thumbnail of the embed
reminder_embedAuthorName: '', // the author name of the embed
reminder_embedAuthorIcon: '', // the author icon of the embed
reminder_embedUrl: '', // the url of the embed
},
],
};