logo
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic [WIP] Unreal Tournament 2004 Server Query Discord Bot (Read 424 times)
Ooper
Junior Member
Betatester
**
Offline


Noob Programmer

Posts: 80
Location: England
Joined: Feb 9th, 2020
Gender: Male
[WIP] Unreal Tournament 2004 Server Query Discord Bot
Jul 17th, 2020 at 3:00pm
Print Post  
I'm finally happy enough to release my ut2004 server query discord bot into the public Cheesy

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-UT2004-Server-Query/releases/tag/v1.0

Github Repo: https://github.com/scottadkin/Discord-UT2004-Server-Query

Features:
- Query and 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

[yt]y6GCW_1bLVg[/yt]



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.
  
Back to top
YouTube  
IP Logged
 
Ooper
Junior Member
Betatester
**
Offline


Noob Programmer

Posts: 80
Location: England
Joined: Feb 9th, 2020
Gender: Male
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot
Reply #1 - Jul 19th, 2020 at 11:02am
Print Post  
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-UT2004-Server-Query/releases/tag/v1.2
Added join as spectator urls to .q and .ip commands.

  
Back to top
YouTube  
IP Logged
 
Ooper
Junior Member
Betatester
**
Offline


Noob Programmer

Posts: 80
Location: England
Joined: Feb 9th, 2020
Gender: Male
Re: [WIP] Unreal Tournament 2004 Server Query Discord Bot
Reply #2 - Jan 3rd, 2021 at 3:46am
Print Post  
  
Back to top
YouTube  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo