AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Source/Valve Server real-time information for Discord servers (https://forums.alliedmods.net/showthread.php?t=320647)

daemongfx 01-01-2020 18:10

Source/Valve Server real-time information for Discord servers
 
Hey guys :)
I recently created a discord bot using discord.py. I believe it will be very helpful for server owners and also communities. So here is some information about it:

What is Source Server Manager?

Source Server Manager is a bot that allows you to view real-time information about a Valve/Source server.
The bot only requires the server IP to gather this information.
This bot supports various Valve/Source game servers including CS:GO and TF2.

What information can you retrieve?
Server Name
IP Address
Amount of Players Online
Current Map
List of Players Online (with time)

Some Commands:
$help - Displays help message.
$setup - Sets up your Valve/Source server.
$server - Displays real-time information of your server.
$deleteserver - Deletes the server from database.

source code: https://github.com/dvemon/source-server-manager/

Thank you for your time, tell me what you think!

My Discord: Hamzah#0017

DukeBruno123 01-02-2020 11:30

Re: Source/Valve Server real-time information for Discord servers
 
Why does this bot suggest Administrator permissions?

daemongfx 01-02-2020 12:07

Quote:

Originally Posted by DukeBruno123 (Post 2678779)
Why does this bot suggest Administrator permissions?

I wasn't sure what to set the number to as it checks for perms so normal users can't create a server or delete one. I'm also implementing a command where it creates a voice channel and displays the amount of players online which updates every x seconds. But for now you can change the value.

Example:
https://insulting.vip/u/r6u6h.png

8guawong 01-03-2020 02:44

Re: Source/Valve Server real-time information for Discord servers
 
haven't tried it yet but what if you want to see multiple servers instead of one?

daemongfx 01-03-2020 06:49

Re: Source/Valve Server real-time information for Discord servers
 
Quote:

Originally Posted by 8guawong (Post 2678829)
haven't tried it yet but what if you want to see multiple servers instead of one?

I realised many people have a community so I’ll be adding multi server support just not sure if it should be reaction based (they react to a message and the message is shown) or custom commands. Will be added soon though. Also what will be added soon is a list of players and their scores.

DruGzOG 01-06-2020 16:23

Re: Source/Valve Server real-time information for Discord servers
 
Any hopes of expanding this to other games?

daemongfx 01-06-2020 19:10

Re: Source/Valve Server real-time information for Discord servers
 
Quote:

Originally Posted by DruGzOG (Post 2679184)
Any hopes of expanding this to other games?

depends really, what game are you looking for? if there's a way to query servers in the game i'll be happy to make it happen

DruGzOG 01-06-2020 21:42

Re: Source/Valve Server real-time information for Discord servers
 
Was looking for HL1 games, cs 1.6, cz, etc.

What method or what are you using to query the data?

daemongfx 01-07-2020 09:06

Re: Source/Valve Server real-time information for Discord servers
 
Quote:

Originally Posted by DruGzOG (Post 2679207)
Was looking for HL1 games, cs 1.6, cz, etc.

What method or what are you using to query the data?

HL1, CS 1.6 and Condition Zero are all working fine. I'm using Source A2S

daemongfx 01-07-2020 16:00

Re: Source/Valve Server real-time information for Discord servers
 
Added player list and time online
If the player list doesn't show up it may be because of a user's name (special symbols)
https://insulting.vip/u/bqkgf.png


All times are GMT -4. The time now is 11:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.