I'm finally happy enough to release my ut2004 server query discord bot into the public
This discord bot can be used to query any Unreal Tournament 2004 server and displays their response in the current text channel, servers that don't have port + 1 open won't be able to be queried.
Download: https://github.com/scottadkin/Discord-U ... s/tag/v2.5
Github Repo: https://github.com/scottadkin/Discord-U ... rver-Query
Features:
- Query any UT2004 server with command .q <ip>:<port> to display server name, current gametype, map, player count, player information, and a clickable link to join the server.
- Ability to save a list of servers to a database file that then can be used for shorthand commands instead of the option above.
- Ability to display all servers added in the database in one response.
- Ability to display all active servers in the database(servers that have at least 1 player in them)
- Ability to display a clickable link to a server using .ip<serverId> command.
- Auto query option, you can set the bot up in a selected text channel to keep an auto updated list of detailed information about each server. It's recommended to set this in an empty/new text channel as the bot will delete previous messages to keep the channel tidy for easy viewing.
Youtube demo video: https://www.youtube.com/watch?v=y6GCW_1bLVg
y6GCW_1bLVg
Bot commands
User Commands
- `.servers` Displays basic server information for all the servers added to the database.
- `.active` Displays basic server information for all servers added that have players on it.
- `.q<serverId>` Displays the server's name, current gametype, map, and players.
- `.q <server ip>:<port>` Displays a server's name, current gametype, map, and players.
- `.ip<serverid>` Displays clickable link to the server.
Admin Commands
- `.allowchannel` Enables the bot to be used in the current channel.
- `.deletechannel` Disables the bot from being used in the current channel.
- `.allowrole <role name>` Enables users with the specified role to use admin commands.
- `.deleterole <role name>` Disables users with the specified role to use the admin commands.
- `.addserver <alias> <ip>:<port>` Adds the specified server to the database.
- `.deleteserver <serverid>` Deletes the server with the specified id.
- `.setauto` Sets the current channel as the auto query channel. This can also be used to reset the auto query making it post all new responses.
- `.stopauto` Disables auto query channel.
[WIP] Unreal Tournament 2004 Server Query Discord Bot v2.5
- UT Sniper (SJA94)
- Inhuman
- Posts: 753
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
- Contact:
[WIP] Unreal Tournament 2004 Server Query Discord Bot v2.5
Last edited by UT Sniper (SJA94) on Sat Jan 02, 2021 10:03 pm, edited 8 times in total.
- [rev]rato.skt
- Adept
- Posts: 438
- Joined: Mon Aug 16, 2010 1:09 pm
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot
:O nice man :DD
Brazilian Server:
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
Alma Negra - 34.95.189.187:7777
Classic - madruga.utbr.cf:7777
Duel - x1.utbr.cf:6666
- UT Sniper (SJA94)
- Inhuman
- Posts: 753
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
- Contact:
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot v1.2
Version 1.1: XXXX
Fixed a bug regarding .q commands.
Now only the selected prefix can work with any command.
----- Edit -----------
Version 1.2: https://github.com/scottadkin/Discord-U ... s/tag/v1.2
Added join as spectator urls to .q and .ip commands.
Fixed a bug regarding .q commands.
Now only the selected prefix can work with any command.
----- Edit -----------
Version 1.2: https://github.com/scottadkin/Discord-U ... s/tag/v1.2
Added join as spectator urls to .q and .ip commands.
- UT Sniper (SJA94)
- Inhuman
- Posts: 753
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
- Contact:
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot v1.3
Fixed a memory leak, removed geo-ip, and country list to drop average ram usage to ~25mb from 115mb.
version 1.3: XXXXX
Improved get packet process and fixed default config.json timings.
Version 1.4: https://github.com/scottadkin/Discord-U ... s/tag/v1.4
version 1.3: XXXXX
Improved get packet process and fixed default config.json timings.
Version 1.4: https://github.com/scottadkin/Discord-U ... s/tag/v1.4
- UT Sniper (SJA94)
- Inhuman
- Posts: 753
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
- Contact:
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot v2.0 Beta
I rewrite the bot from scratch so it's more efficient and uses less resources, ready for testing here: https://github.com/scottadkin/Discord-U ... s/tag/v2.0 The previous version will still be available at github.
- UT Sniper (SJA94)
- Inhuman
- Posts: 753
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
- Contact:
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot v2.2 Beta
New release: https://github.com/scottadkin/Discord-U ... s/tag/v2.2
Release notes:
Release notes:
- .servers can now display an unlimited amount of servers instead of breaking when reaching MessageEmbed character limit.
- Updated package.json
- UT Sniper (SJA94)
- Inhuman
- Posts: 753
- Joined: Thu Jun 24, 2010 10:35 pm
- Personal rank: Retard
- Location: England
- Contact:
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot v2.5
New Release: https://github.com/scottadkin/Discord-U ... es/tag/2.5
- TAM gametype is now shown instead of xDeathMatch
- Enabled Discord Cache management to reduce RAM usage.
- Various minor bug fixes, and improvements.