Statistic Channels

This feature is part of the Statistic Channels Module.

This neat module allows you to display statistics which are automatically refreshed within discord channel names with some intuitive parameters which integrate with FiveM as well as other Elyxir features.

OBJECTIVES

A snapshot of potential behaviour achievable with our stats channels

Creating Statistics Channels

To create a new statistic channel, after enabling the module you need to run the /statschannel create command. When specifying the text parameter, in other words the channel name, you can use the following parameters:

You are fully in control of the channel name and formatting, the possibilities are limitless!
{guild.name}               - The name of the discord server
{onlineMembers}            - The number of online members within the Discord server 
{memberCount}              - The total number of members within the Discord server
{withRole:role_id}         - The number of people with a specified role
{onlineRole:role_id}       - The number of online member with a specified role
{fivemPlayers:cfx_code}    - Number of active players in the specified FiveM server
{fivemMax:cfx_code}        - Player cap for the specified FiveM server
{statusIndicator:cfx_code} - An emoji for the status of the specified FiveM server
{ticketsOpen}              - The number of tickets currently open
{ticketsCount}             - The total number of created tickets in this server
{gangCount}                - The number of gangs within the FiveM server

Editing Statistics Channels

You can edit existing statistics channel formats using the /statschannel edit command. When specifying the text parameter, you can use the same parameters as listed above.

Deleting Statistics Channels

To remove a statistics channel, simply run the /statschannel delete command, specifying the statistics channel you wish to delete.

Last updated