Page 1 of 1

Master Serverlist

PostPosted: 18 Feb 2017, 01:50
by CORE
Hello everyone. I have built a quick implementation of a server browser for Forge.
I'm looking for dev's who know their way around the UI since it's a freaking nightmare.
Also any correction regarding the code is highly regarded. :D

Since I can't post any off-site URL's, a .diff file, the org.JSON package and a screenshot of what I currently have are attached to this topic.

Thanks!

masterserverlist.zip
(493.65 KiB) Downloaded 120 times

Re: Master Serverlist

PostPosted: 18 Feb 2017, 17:39
by friarsol
Thanks for taking the time to look into this CORE. I'm sure many of our users will appreciate an easier way to be able to play on the network. Would you mind posting the server api specs?

I see the API calls we have are

list
add
del

Re: Master Serverlist

PostPosted: 19 Feb 2017, 14:30
by CORE
list
Displays the list in JSON format.

add
Add's a new server to the list.
Needs a server IP, Port and Player name. Returns the server ID.

ex: /add/145.392.168/36743/CORE

del
Deletes a server form the list.
Needs a server ID & IP.

ex: /del/20/145.392.168