Jump to content
  • 0

Server API


Ethentianknight

Suggestion

I'm looking to build some stat trackers and the like.

I was hoping that the server could possibly serve up an endpoint that spits out general information, like player respurce count, explored sector information, etc.

 

I'd like to be able to hit it with a web application to store info and develop an easy way to find someone with what you need. 500 iron short? Look at the guy with 50,000 and see if you can't trade him some credits for it.

 

Endpoint suggestions:

 

GetPlayers()

Gets all players' names and corresponding ids.

 

GetPlayer(id)

Gets a player's resource count and current ship id. Location as well, and ids for fleet.

 

GetShip(id)

Gets a ship's stats, cargo, location, and shield/hull status.

 

GetSector(x,y)

Gets a sector's asteroid count, last ships seen, mostly map info given in game.

If the sector has not been generated, spit out an error saying so.

 

GetFaction(name)

Pulls a faction and their relations with each player.

This may be better as a subset of data in getPlayer.

 

If this would possibly create a shift in gameplay experience, you could add a flag to enable/disable the api.

 

Link to comment
Share on other sites

4 answers to this suggestion

Recommended Posts

  • 0
  • Boxelware Team

While I like the idea the effort for us to get this done would be tremendous since there is no infrastructure for this. There are currently no plans to add something comparable to this.

 

What you can do though, is have server-sided lua scripts that write out the desired data to your hard drive, which you can then use for your own webservice.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...