• If you need help or want to discuss things, you now can also join us on our Discord Server!
Game Server Query

Game Server Query 1.4.5

No permission to download
Game Server Query

This script can show server information of game servers in a specified channel.


Supported Protocols (And Tested Games)
  • Source Query (Full Support)
    • Garrys Mod
    • Counterstrike
    • Arma 2
    • Empyrion
    • Space Engineers
    • The Forest
    • Ark
    • 7 Days to Die
  • Gamespy v4 (Full Support)
    • Minecraft
  • Gamespy v3 (Partial Support - server should not be queried to frequently)
    • UT3
  • Gamespy (Full Support)
    • Battlefield 1942
  • Battlefield 2 (Full Support)
  • Battlefield 3 (Full Support)
    • Medal of Honor Warfighter (Uses same protocol)
  • Terraria (Full Support)
  • GTA FiveM (Full Support)

It allows the monitoring of multiple servers.
The script is tested with Garrys Mod, Empyrion and Arma2, but should work for anything else that supports the source server protocol.
Added Support for Minecraft - you need to enable query in the server properties.

Installation
  • Move the script file to the script folder
  • Edit the sinusbot config file to give this script "net" permissions
    • [Scripts.Privileges]
    • ServerQuery = ["net"]

Changes of Channel Name or Description depending on your settings

serverQuery.png



Supported Placeholders for channel name and description
  • %s - Status
  • %g - Game
  • %m - Map
  • %v - Version
  • %n - Name
  • %d - Description
  • %p - Current Players
  • %b - Current Bots
  • %pmax - Max Players



Keep in mind that not every server supports every placeholder as they vary between the games.

Also make sure the bot has sufficient permissions to edit the channels.

Contributions
  • ProfDrBielefeld (Formatting of BF3 Data)


Feedback or suggestions are welcome.
Author
Tuetchen
Downloads
577
First release
Last update
Rating
4.43 star(s) 14 ratings

More resources from Tuetchen

Latest updates

  1. Game Server Query 1.4.5

    Added FiveM UDP Server Query Support
  2. Game Server Query 1.4.4

    The Update everyone waited for since years has come!!! - Added Terraria Yes Life is disappointing.
  3. Server Query 1.4.3

    Typo fix Poeration -> Operation

Latest reviews

Awesome script. :3
Super Script aber ich bekomme immer einen Fehler und es startet nicht.

2018-03-27T15:11:22+02:00 Script Game_Server_Query returned an error (main function): TypeError: Cannot access member 'connect' of null at collectServerData (Game_Server_Query.js:157:20) at getServerInformation (Game_Server_Query.js:105:9) at update (Game_Server_Query.js:95:17) at main (Game_Server_Query.js:100:5) at ScriptRunner (<anonymous>:42:5) at <unknown>
2018-03-27T15:11:22+02:00 net is a restricted module that needs to be enabled via special privileges in the config.ini (requested by Game_Server_Query)

---------------------------

[Scripts.Privileges]
ServerQuery = ["net"]

habe ich ganz unten in meinern config eingetragen und den bot auch neu gestartet.

Weiß jemand wie man das beheben kann?
Tuetchen
Tuetchen
Well last Statement: if you ask stuff in a Review im not going to help you.
4,5 Sterne
Script lief bis jetzt immer sehr gut aber seit neusten kommen nur error und der bot timmed irgendwie manchmal einfach aus.
Aktuell kommt immer diese Fehler meldung pls halp me das zu fixen


2018-03-17T20:57:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:56:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:55:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:54:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:53:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:52:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:51:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:50:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:49:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:48:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:47:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:46:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:45:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:44:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:43:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:42:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
2018-03-17T20:41:46+01:00 ServerQuery:161 dial udp: address 213.202.230.185::27013: too many colons in address
Tuetchen
Tuetchen
Naja offensichtlich adresse falsch^^
Works Great But for me I would rather have multi server info in the same room
===== SERVER 1 ====
%s = status
%n = name

===== SERVER 2 ====
%s = status
%n = name
Love this script, but can't seem to get the minecraft server to update the info, others are fine. Have enabled query on server. Any ideas.
Tuetchen
Tuetchen
Not gonna help people that ask stuff i a review.
i have problem... don't change name of channel http://prntscr.com/fxnsgg
Tuetchen
Tuetchen
That channel name is way to long. Still i actually shouldnt help people asking shit in reviews
Super Script 5*
Wäre es möglich, ARK: Survival Evolved mit aufzunehmen? Ansonsten ein super script,
Tuetchen
Tuetchen
Wieso schreibt das jeder - ark ist durch die source query abgedeckt - bzw sollte abgedeckt sein außer die habens wieder verhunzt
Super Idee!! Ist es möglich noch arma 3 hinzu zu fügen?
Tuetchen
Tuetchen
Arma 3 ist bereits enthalten per Source Query?
Kann mir jemand erklären was ich in der Sinubot Config ändern muss ?
Tuetchen
Tuetchen
Muss man fragen in den reviews stellen? Dafür gibt's das Forum