Raised This Month: $64 Target: $400
 16% 

Solved How to get server info in Java?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hoycieto
Member
Join Date: Feb 2018
Old 11-09-2018 , 15:49   How to get server info in Java?
Reply With Quote #1

Hi, I'll create a simple app in Java in which I'll include informations about server. I'll do something like in HLSW. But here a question arises how can I get server info in Java? I'll get ping, location, players, map, server version etc. Are there any libraries to get this? Thanks in advance for reply

Last edited by hoycieto; 11-12-2018 at 17:58.
hoycieto is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 11-09-2018 , 15:53   Re: How to get server info in Java?
Reply With Quote #2

This isn't sourcemod related. Try googling 'java source server query'....
https://github.com/ribasco/async-gamequery-lib
__________________
Mitchell is offline
hoycieto
Member
Join Date: Feb 2018
Old 11-09-2018 , 16:12   Re: How to get server info in Java?
Reply With Quote #3

So for example, ping in HLSW works like every second is executed ping command on the server, right?
hoycieto is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-10-2018 , 10:34   Re: How to get server info in Java?
Reply With Quote #4

Quote:
Originally Posted by hoycieto View Post
So for example, ping in HLSW works like every second is executed ping command on the server, right?
Yeah, it use srcds commands.
__________________
Bacardi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:28.


Powered by vBulletin®
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Theme made by Freecode