Counter Channels
Information
This module allows you to display the server status inside a channel name. Some placeholders are limited to one server, when you use one of these placeholders the channel will take the data from the first server in the list.
Configuration
The configuration options are located in the config.js
file under the counterChannels
section.
Options
config.js → counterChannels
counterChannels: [
// the list of counter channels
{
channelId: '1080512273484890152', // the channel id of the counter channel
servers: ['Server1', 'Server2'], // a list of server ids to include in the counter channel
channelName: '{statusEmoji}{locked} Server 1 {totalPlayers}/{totalMaxPlayers}', // the name of the counter channel
statusEmojis: {
// the emojis to use for the status of the servers
online: '✅', // will be used if the server is online
offline: '❌', // will be used if the server is offline
locked: '🔒', // used when the server has a password
},
},
],
Placeholders
This is a list of all the placeholders that you can use in the counter channel name.
Placeholder | Multi Server | Description |
---|---|---|
{name} | ❌ | The name of the server. |
{locked} | ❌ | The lock emoji. |
{statusEmoji} | ❌ | The emoji for the server status. |
{playerCount} | ❌ | The player count of the server. |
{maxPlayers} | ❌ | The max players of the server. |
{ping} | ❌ | The ping of the server. |
{info} | ❌ | The info of the server. |
{map} | ❌ | The map of the server. |
{totalPlayers} | ✅ | The total players of all servers in the servers list. |
{totalMaxPlayers} | ✅ | The total max players of all servers in the servers list. |
{totalServers} | ✅ | The total servers in the servers list. |
Multi Server Placeholders
Multi server placeholders are placeholders that will take the data from all the servers in the counter channel servers list and combine them into one total value. The others will take the data from the first server in the servers list.
Showcase
Coming soon!