RaidAlarm configuration
The RaidAlarm config.json controls how the plugin runs on your Ark Survival Ascended server. Every setting is listed below with what it does and its default value.
Open the configuration editorPrefer clicking to typing? Build the file with sliders and toggles.
Where it lives
Drop the file on your server at ArkApi/Plugins/RaidAlarm/config.json then reload the plugin or restart the server. Keep a backup before large changes.
Every setting
Language
LangAutoFill
SenderName
General
- Debug togglefalse
- Debug: flip to true when you want RaidAlarm to log more to ArkApi.log while you sort a problem. Leave it off for normal runs.
Commands
- AlarmCMD text"/raidalarm"
RaidAlarm
RaidAlarm: the rules. This plugin listens for structure damage and batches it, so one raid is one alert, not a hundred pings.
- BatchSeconds number60
- BatchSeconds: the length of one alert window, in seconds. All hits on one tribe inside this window become a single alert. 60 means at most one alert per tribe per minute during a raid. A raid that lasts ten minutes sends about ten alerts, one a minute, so you see it is ongoing.
- MinHitsToAlert number5
- MinHitsToAlert: how many hits a window needs before it sends an alert. This keeps a single stray hit quiet. 5 is a good floor. A bigger number needs a heavier attack to alert.
- IgnoreSelfDamage toggletrue
- IgnoreSelfDamage: set to true so a tribe hitting its own build does not alert. This uses the attacker's team, so demolishing or picking up your own base stays quiet.
- PlayerAttackersOnly toggletrue
- PlayerAttackersOnly: set to true so only a player raid triggers an alert. This skips a wild dino that wanders into a base. Set to false to also alert on wild creature attacks.
- LogCoords toggletrue
- LogCoords: set to true to add the map spot of the attacker (who stands at your base) to the alert, so you know where the raid is. Set to false to leave coords out.
- WarnOnlineTribe toggletrue
- WarnOnlineTribe: set to true to also warn any tribe members who are online, in game, when their base is hit. Set to false for a Discord only alert.
- PingEveryRaid toggletrue
- PingEveryRaid: set to true to add an @here ping to each Discord alert. Set to false for a quiet post.
- MinTeamId number0
- MinTeamId: only alert for structures owned by a team id above this number. 0 means alert for any owned structure. Raise it if you find wild or neutral builds are triggering alerts. Most servers can leave it at 0.
- BreachHits number250
- BreachMinutes number10
- RaidOverSeconds number300
- UpdateSeconds number60
- LiveMessage toggletrue
- PostRecap toggletrue
Routes
- Enabled toggletrue
- AllowedHosts list["discord.com","discordapp.com","canary.discord.com","ptb.discord.com"]
- AllowThreads togglefalse
- MaxUrlLength number200
- ConfirmMinutes number10
- KeeperStaleDays number30
- HandoverHours number24
- HardStrikesToDrop number3
- HeartbeatDays number7
- MaxMuteMinutes number720
- QuietBlocksAll togglefalse
- FastBatchSeconds number10
- SetCooldownSeconds number30
- TestCooldownSeconds number60
- MaxPostsPerTick number4
- MaxInFlight number8
- MaxQueued number500
- TierCacheSeconds number300
- KeepCallsDays number30
Show
- Server group
- Attacker toggletrue
- AttackerTribe toggletrue
- Coords toggletrue
- Hits toggletrue
- Online toggletrue
- Tribe group
- Attacker togglefalse
- AttackerTribe togglefalse
- Coords toggletrue
- Hits toggletrue
- Online toggletrue
- Player group
- Attacker togglefalse
- AttackerTribe togglefalse
- Coords toggletrue
- Hits toggletrue
- Online toggletrue
Tiers
- Default group
- Lines number1
- BatchSeconds number60
- Mention togglefalse
- Quiet togglefalse
- Recap togglefalse
- HeartbeatDays number0
- vip group
- Lines number2
- BatchSeconds number30
- Mention toggletrue
- Quiet toggletrue
- Recap toggletrue
- HeartbeatDays number7
- vip2 group
- Lines number3
- BatchSeconds number10
- Mention toggletrue
- Quiet toggletrue
- Recap toggletrue
- HeartbeatDays number3
Permissions
- Enabled toggletrue
- Strict togglefalse
- UseNode text"RaidAlarm.Use"
- PersonalNode text"RaidAlarm.Personal"
- TribeNode text"RaidAlarm.Tribe"
- MentionNode text"RaidAlarm.Mention"
- QuietNode text"RaidAlarm.Quiet"
- FastNode text"RaidAlarm.Fast"
- AdminNode text"RaidAlarm.Admin"
Database
- UseMySQL togglefalse
- Host textempty
- Port number3306
- User textempty
- Password textempty
- Database textempty
- TableName text"raidalarm"
- SQLiteDatabasePath textempty
Server
- Name textempty
- NameFromParams list["-ServerName=","-serverkey=","-clustermap=","?SessionName="]
- UseSessionName togglefalse
- Id textempty
ApiUtilsMod
- Enabled toggletrue
- BackdropColor list[0,0,0,0.55]
- ScreenPosition text"Center"
- TextAlign text"Center"
- TextScale number1
- MessageSeconds number6
- AlsoShowInChat toggletrue
MapName
- Pretty toggletrue
- Overrides group
The full commented config
This is a reading copy with notes. It is not valid JSON, so do not load it. Use the editor or the plain config.json instead.
{
// A guided tour of RaidAlarm's config.json. The notes below make it fail as JSON, so put your
// real changes in config.json and keep this one just for reading.
"General": {
// Debug: flip to true when you want RaidAlarm to log more to ArkApi.log while you sort a problem.
// Leave it off for normal runs.
"Debug": false
},
// RaidAlarm: the rules. This plugin listens for structure damage and batches it, so one raid
// is one alert, not a hundred pings.
"RaidAlarm": {
// BatchSeconds: the length of one alert window, in seconds. All hits on one tribe inside this
// window become a single alert. 60 means at most one alert per tribe per minute during a raid.
// A raid that lasts ten minutes sends about ten alerts, one a minute, so you see it is ongoing.
"BatchSeconds": 60,
// MinHitsToAlert: how many hits a window needs before it sends an alert. This keeps a single
// stray hit quiet. 5 is a good floor. A bigger number needs a heavier attack to alert.
"MinHitsToAlert": 5,
// IgnoreSelfDamage: set to true so a tribe hitting its own build does not alert. This uses the
// attacker's team, so demolishing or picking up your own base stays quiet.
"IgnoreSelfDamage": true,
// PlayerAttackersOnly: set to true so only a player raid triggers an alert. This skips a wild
// dino that wanders into a base. Set to false to also alert on wild creature attacks.
"PlayerAttackersOnly": true,
// LogCoords: set to true to add the map spot of the attacker (who stands at your base) to the
// alert, so you know where the raid is. Set to false to leave coords out.
"LogCoords": true,
// WarnOnlineTribe: set to true to also warn any tribe members who are online, in game, when
// their base is hit. Set to false for a Discord only alert.
"WarnOnlineTribe": true,
// PingEveryRaid: set to true to add an @here ping to each Discord alert. Set to false for a
// quiet post.
"PingEveryRaid": true,
// MinTeamId: only alert for structures owned by a team id above this number. 0 means alert for
// any owned structure. Raise it if you find wild or neutral builds are triggering alerts. Most
// servers can leave it at 0.
"MinTeamId": 0
},
// Discord: the whole point of the plugin. One clean alert per raid window.
"Discord": {
// Enabled: true lets the raid alerts go out to Discord. When it is off, tribes only get the
// in game warning.
"Enabled": false,
// WebhookURL: drop in the webhook link for the channel where raids should show up. Splitting it
// by tribe comes later, for now every alert lands on this one hook.
"WebhookURL": "",
// Username: whatever name you want on the bot when it drops a raid alert.
"Username": "RaidAlarm",
// ServerName: the footer name on each alert. Put your server here.
"ServerName": "My ARK Server"
}
}