Skip to content

zedyn/squadjs-advanced-status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

SquadJS Server Status Plugin

Advanced Discord server status plugin for SquadJS.

Commands

  • !status - shows the current server status
  • !status subscribe - subscribes to automatic server status updates
  • !status unsubscribe - unsubscribes from automatic updates

Note

Update discord.js in SquadJS:

npm install discord.js

Adding server.info:

In squad_server/index.js, after creating the info object, we also assign it to the server instance.

Before:

// ...

const info = { ... };

this.serverName = info.serverName;

// ...

After:

// ...

const info = { ... };

this.serverName = info.serverName;
this.info = info;

// ...

This makes the entire info object accessible via server.info.

Add Emojis to Your Discord Server:

  • Download the icons from the /icons folder.
  • Upload them to your Discord server via Server Settings > Emojis.

Configure the Plugin:

  • Send any uploaded emoji to a channel, prefixing it with a backslash (\) (e.g., \:my_emoji:).
  • Copy the output (e.g., <:my_emoji:1234567890>) and paste it into the relevant field in the configuration.

You need to obtain a Steam API key—the process is quite simple. With a quick search, you can get your Steam API key from the website below. Do not share your key with anyone.

https://steamcommunity.com/dev?l=english

Example Configration

{
  "plugin": "DiscordAdvancedStatus",
  "enabled": true,
  "discordClient": "discord",
  "messageStore": "sqlite",
  "command": "!status",
  "disableSubscriptions": false,
  "updateInterval": 10000,
  "setBotStatus": true,
  "apiKey": "your_steam_api_key",
  "icons": {
    "status": "emoji",
    "players": "emoji",
    "map": "emoji",
    "time": "emoji",
    "admins": "emoji"
  }
}

Demo

#1

Original Plugin Reference

Based on: discord-server-status

Support

For support, DM me on Discord or create a ticket in discord.gg/luppux

About

Advanced Discord server status plugin for SquadJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published