You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -31,19 +31,23 @@ Here are some examples below:
31
31
- Omitting port number `przomboid:mysite.com`
32
32
- With port number `minecraft:mysite.com:25565`
33
33
- Using ip instead of hostname `csgo:23.4.140.70`
34
-
- Multiple defined in `GAME_URLS` config `przomboid:mysite.com,minecraft:mysite.com`
34
+
- Multiple defined in `GAME_URLS` config `minecraft:mysite.com:25565,przomboid:mysite.com,valheim:mysite.com`
35
35
36
36
### Configure the bot
37
37
38
38
When running as a docker container provide the following as Docker environment variables.
39
39
When running as a nodejs app you can create an `.env` file in the root directory of the project and set the options there (see the `.env.example` file for an example).
40
40
You need to set the following configuration options.
41
41
42
-
| Required | Configuration option | Description | Value |
| TRUE |`GAME_URLS`| Comma seperated list of GameUrl format entries [see GameUrl format section](#gameurl-format)|`string`|
45
-
| TRUE |`DISCORD_TOKEN`| The bot token of your discord app from https://discord.com/developers/applications -> (Select your application) -> Bot -> Token |`string`|
46
-
| FALSE |`DISCORD_CHANNEL`| The channel id of your discord chat to send server availability to |`string`|
47
-
| FALSE |`UP.####`| Message to be sent on server available for game type #### (DISCORD_CHANNEL must be provided) |`string`|
48
-
| FALSE |`DOWN.####`| Message to be sent on server unavailable for game type #### (DISCORD_CHANNEL must be provided) |`string`|
49
-
| FALSE |`IDLE_STATUS`| Override idle status messaging for the bot when no servers are available |`string`|
42
+
| Required | Configuration option | Description | Value |
| TRUE |`GAME_URLS`| Comma seperated list of GameUrl format entries [see GameUrl format section](#gameurl-format)|`string`|
45
+
| TRUE |`DISCORD_TOKEN`| The bot token of your discord app from https://discord.com/developers/applications -> (Select your application) -> Bot -> Token |`string`|
46
+
| FALSE |`DISCORD_CHANNEL`| The channel id of your discord chat to send server availability to |`string`|
47
+
| FALSE |`UP.####`| Message to be sent on server available for game type #### (DISCORD_CHANNEL must be provided) |`string`|
48
+
| FALSE |`DOWN.####`| Message to be sent on server unavailable for game type #### (DISCORD_CHANNEL must be provided) |`string`|
49
+
| FALSE |`IDLE_STATUS`| Override idle status messaging for the bot when no servers are available |`string`|
50
+
| FALSE |`SEPERATOR`| Override the seperator text that appears between multiple activities |`string`|
51
+
| FALSE |`NAME_OVERRIDE.####`| Override the activity name for game type #### with : variable string value |`string`|
52
+
| FALSE |`NAME_FIELD.####`| Override the activity name for game type #### with : field on the response object (response[NAME_FIELD]) |`string`|
53
+
| FALSE |`RAW_NAME_FIELD.####`| Override the activity name for game type #### with : field in the raw section of the response (response.raw[RAW_NAME_FIELD]) |`string`|
0 commit comments