Skip to content

Releases: rkfg/ns2query

Repost tracking

17 Sep 13:53
Compare
Choose a tag to compare

The meme channel(s) can now be tracked for reposted content, see README for details.

Downtime ping

24 Feb 14:21
Compare
Choose a tag to compare

Added down_notify_ids and up_notify_ids parameters to ping the respective server admins in case a server goes down or back up.

Discord game status

05 Nov 14:11
Compare
Choose a tag to compare

The bot now "plays" the game... or so the Discord status says. By default it will say "Playing Natural Selection 2" but you can customize it adding a status template to the config so it will show the current number of players on the server, average skill, map, slots etc. Check README.md for details.

Add automatic reactions to memes

17 Oct 12:28
Compare
Choose a tag to compare

This is a function we needed for our Discord. The bot adds a thumbs up reaction to every attachment posted in the meme thread so that users can upvote easily. The bot will join all threads specified in the "threads" object in config.json but it will only add reactions in those that have meme set to true (as shown in the example config). There are currently no other purposes of this.

Change the time zone to UTC+0

29 Mar 16:24
Compare
Choose a tag to compare

Local timezone in downtime notifications isn't always convenient when players are in different timezones. UTC+0 is the most neutral one so let's use it!

Downtime detection&reporting

29 Mar 11:26
Compare
Choose a tag to compare

Sometimes servers go dark. It's sad but it happens. However, it's not good to see the stale information and assume the server is working, so I added some basic reporting and visible label for the servers that are not available currently. The new config option failure_limit should be set to the number of unsuccessful requests before assuming the server is down.

Server status style

05 Jan 11:56
Compare
Choose a tag to compare

Server status message is unified with announcements, both contents and color code.

Better seeding notifications

23 Dec 13:56
Compare
Choose a tag to compare

Not only the seeding notifications now also use embeds for better data representation, they now have colors! Green for seeding, yellow for "almost full" and red/orange when only spectator slots are available. The notification now always include the server name, current map, player count, available player and spectator slots and skill in the bottom. Hopefully, the information layout is good.

Pretty embeds

23 Dec 11:28
Compare
Choose a tag to compare

All informational messages from the bot were converted into Discord Embeds with fields, title etc. for better readability and visual pleasure. Error messages are returned in plain text.

Switch to BoltDB

20 Dec 12:56
Compare
Choose a tag to compare

The user database has been changed to BoltDB. Config keys should also be changed, for the old LevelDB path use ldb_database_path, for the new BoltDB file path use bdb_database_path. To convert the database to BoltDB run ns2query --convert after changing the config. LevelDB isn't used anywhere now except for the conversion and will be dropped in next releases.