Raised This Month: $32 Target: $400
 8% 

Solved How to get server info in Java?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hoycieto
Senior Member
Join Date: Feb 2018
Old 11-09-2018 , 14: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 16:58.
hoycieto is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 11-09-2018 , 14: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
Senior Member
Join Date: Feb 2018
Old 11-09-2018 , 15: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 , 09: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.
__________________
Do not Private Message @me
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 00:25.


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