Last active
August 10, 2022 18:04
-
-
Save Default-01/f2308c92adb49eb990920435b038592b to your computer and use it in GitHub Desktop.
the configuration file for ArkRconCommander
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is the cache and config file found for the Ark RconCommander bot. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"panels": [] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
prefix: "!", // prefix for commands | |
token: "", // bot token | |
accountId: '', // account id | |
guildId: '', // guild id | |
allowBotInteraction: false, // If set to true other bots can use the rcon commander. | |
precense: { | |
status: 'online', // online, idle, dnd, invisible | |
type: 'WATCHING', // 'Playing', 'Streaming', 'Listening', 'Watching' | |
message: 'testing' // The status message thats displayed on the bot profile. | |
}, | |
colors: { // discord makes hex colors invalid, so make a hex string a number by replacing the # for 0xXXXXXX | |
success: 0x77B255, // color for success messages | |
error: 0xCC3131, // color for error messages | |
main: 0x038CB5 // color for normal messages | |
}, | |
whitelistedChannels: [ // whitelisted channels | |
"911614084137488414" | |
], | |
permissions: { // permissions | |
fullAccess: [ // full access roles | |
'921814380864208986' | |
], | |
limitedAccess: [ // limited access roles | |
{ | |
roleId: '', // role id | |
commands: [], // allowed commands | |
scripts: [], // allowed scripts | |
controls: ['start', 'stop'] // 'start', 'stop', 'restart', 'backup', 'update'. | |
} | |
] | |
}, | |
autoCommander: [ // auto commander | |
{ | |
time: '19:40', // time to run command at. use 24 hour format (HH:MM) | |
commands: [ // commands to run | |
"broadcast daily message at 19:40!" | |
], | |
tag: 'daily' // all servers with this tag will be affected | |
}, | |
{ | |
interval: 300, // interval to run command at | |
commands: [ // commands to run | |
'broadcast test msg' | |
], | |
tag: 'daily' // all servers with this tag will be affected | |
} | |
], | |
scripts: [ // scripts are simply collections of commands, when you run a script, it will run all commands in the script. | |
{ | |
name: 'Test Script', // name of script | |
commands: [ // script commands | |
"listplayers" // possible placeholders: {id} {value} | |
] | |
} | |
], | |
servers: [ // servers | |
{ | |
name: 'Test Server 1', // name of server | |
ip: '', // ip of server | |
rconPort: 1234, // rcon port of server | |
password: '', // rcon password of server | |
tags: ["tag1", "daily"] // tags of server | |
}, | |
{ | |
name: 'Test Server 2', | |
ip: '', | |
rconPort: 5678, | |
password: '', | |
tags: ["tag1"] | |
} | |
], | |
controller: { | |
logchannelId: "1006936978593423523", // Make sure the ASM bot is listening to this channel. Also add the bot ID to the ASM whitelist! | |
commandFormat: "!asm {action} {server}", // Match this command format with your ASM configuration. | |
enableSlashCommander: true, // Toggle server controller commands, this is a second way to controll your servers. | |
panels: [ | |
{ | |
unikeID: "server1", // This must be unike, no other matching IDs in the config. | |
asmServerName: "ServerName1", // This is the name of the ASM server. | |
title: "Server 1 Controller", // The embed title of the controller. | |
description: "Below are the controls for the server.", // The embed description of the controller. | |
thumbnail: "", | |
footer: "" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment