How can I get server information to a site?

OpenTTD is a fully open-sourced reimplementation of TTD, written in C++, boasting improved gameplay and many new features.

Moderator: OpenTTD Developers

Post Reply
RaO_
Engineer
Engineer
Posts: 3
Joined: 09 Jul 2017 10:11

How can I get server information to a site?

Post by RaO_ »

HI.
I'm a OTTD server operator, and my server is dedicated server.

I'd like to make a website that gives the information of my server so I googled a lot, but cannot find the way to do.
(the information: server year, companies, etc..)

My roll model page is here:
https://telk.kr/ottd/server/info

So if you know the way, please let me get it.

I'm sorry for my terrible english, cause I'm not a English native speaker.

thanks.
Telk
Engineer
Engineer
Posts: 64
Joined: 05 May 2008 14:04
Location: Seoul, South Korea
Contact:

Re: How can I get server information to a site?

Post by Telk »

Image
- OpenTTD/OpenRCT2/Parkitect Korean Translator
- TELKLAND site manager, the korean website of OpenRCT2/OpenTTD (https://telk.kr)
User avatar
Erik1984
Traffic Manager
Traffic Manager
Posts: 151
Joined: 13 Sep 2006 15:54
Location: $HOME

Re: How can I get server information to a site?

Post by Erik1984 »

I recently looked into dedicated servers and did some research into this. Telk provided the right link and the GitHub page linked there seems to be the best documentation now. The easiest route seems to be using one of the existing libraries (as listed on the wiki page) as they do the hard work of translating the raw data from the admin interface to objects in the language of choice.

As you are aiming to use in website the JS or PHP libraries are probably the best fit.
Post Reply

Return to “General OpenTTD”

Who is online

Users browsing this forum: No registered users and 38 guests