Editing
Technical:Back-end Server
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Servers and access === Used for the server list and for server status information for the back-end to reference. {| class="wikitable" |+servers !Key !Type !Nullable / Default !Description |- |id |uuid (PK) |NOT NULL | |- |secret |text |NOT NULL |Secret key used by game servers to contact the back-end |- |address |text |NOT NULL |Connection address complete with the port |- |name |text |NOT NULL |Public name for the server |- |rules |text |NOT NULL |Individual server rules |- |listed |boolean |true |Certain servers may be delisted |- |region |varchar(2) |NOT NULL |<bdi>ISO 3166-1 alpha-2 code</bdi> |- |last_ping |timestamptz |NOT NULL |Last time the server contacted the back-end |- |last_players |integer |NOT NULL |Last reported player count |} Session tokens are assigned before connecting to a server from (a launcher? or the website? via REST API) or by the server itself if authenticated directly by password. In the latter case, the player will not see the session token and it is only used for the character lock. Session tokens are valid only for one session or one connection to a server. The same character must not be used in multiple servers at once or in the same server multiple times. {| class="wikitable" |+session_tokens !Key !Type !Nullable / Default !Description |- |id |serial (PK) |NOT NULL | |- |server_id |servers.id (FK) |NOT NULL | |- |character_id |characters.id (FK) | |Set value indicates “character lock” |- |user_id |users.id (FK) |NOT NULL | |- |token |text |NOT NULL | |- |expires_at |timestamptz | | |- |created_at |timestamptz | | |}
Summary:
Please note that all contributions to Trotland Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Trotland Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Technical
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information