-
Notifications
You must be signed in to change notification settings - Fork 25
Configuration for _discordroles.json
spikeydragoon edited this page May 30, 2019
·
2 revisions
Basic formatting for the config should look like this. If your not using the rcon commands in discord you can skip this.
Just change rolename to what ever role you want to use that rcon command. Note they must be typed exactly like its listed in the discord settings role tab.
You can also only have one role name per command so if you want multi roles to be able to run the command you must also give them that role in discord as well. So as an admin you will need all roles listed in the config to run all commands. This is how discord roles should be set up anyways meaning admins have all roles mods have mod role and lower ect.
Example _discordroles.json
{
"DiscordRoles": {
"Rconcommand": "rolename",
"AllowPlayerToJoinNoCheck": "rolename",
"BanPlayer": "rolename",
"Broadcast": "rolename",
"DestroyAll": "rolename",
"DestroyAllEnemies": "rolename",
"DestroyStructures": "rolename",
"DestroyWildDinos": "rolename",
"DisallowPlayerToJoinNoCheck": "rolename",
"DoExit": "rolename",
"GetChat": "rolename",
"GiveItemNumToPlayer": "rolename",
"GiveExpToPlayer": "rolename",
"KickPlayer": "rolename",
"KillPlayer": "rolename",
"ListPlayers": "rolename",
"PlayersOnly": "rolename",
"RenamePlayer": "rolename",
"RenameTribe": "rolename",
"SaveWorld": "rolename",
"ServerChat": "rolename",
"ServerChatTo": "rolename",
"ServerChatToPlayer": "rolename",
"SetMessageOfTheDay": "rolename",
"SetTimeOfDay": "rolename",
"ShowMessageOfTheDay": "rolename",
"Slomo": "rolename",
"UnBanPlayer": "rolename",
"PurgeMessage": "rolename",
"StartChat": "rolename",
"StopChat": "rolename",
"RestartChat": "rolename",
"ClearChat": "rolename",
"RebootProgram": "rolename",
"ServerList": "rolename",
"ServerInfo": "rolename",
"ServerBlend": "@everyone"
}
}