Empyrion: Galactic Survival Wiki
Advertisement

Index: GameAPI > filestd

Standard file format: Whitelist[]

Content[]

This file should contain n-rows of players, listed by both their steamID, and their name. The user can opt to specify either, if manually editing it (or through a website (/etc)). Mods adding row should aim to add both.

Format[]

YAML,

Players:
 -PlayerID: <Int64,steamid,optional:PlayerName(1 req)>
PlayerName: <String,Username,optional:PlayerID(1 req)>
Expiration: <String,Expirationdate> (Format: "dd-mm-yyyy hh:mm", should be parsed into a public DateTime EndDate = Convert.ToDateTime(Players[n].Expiration); )

Variable/Static/Final[]

File content is static.
-Normally, a mod would not modify this file, except to add rows, on an user-requested command.

Known mod(s) using this format[]

SpotGuard by Exa - whitelist or blacklist for players (depending on config file) - Standard name:"security.yaml"

File-example[]

Players:

# - PlayerID: <Int, SteamID>

#   PlayerName: <String, ingame-name>

#   Expiration: <DateTime (dd-MM-yyyy HH:mm (14-04-2018 11:15 would be 14 of april 2018, 11:15 (24hrs)), timestamp>. If not specified, or 0, will 'never expire'

#If either hits, the list will trigger 'true'

  - PlayerID: 79869898998989898

    PlayerName: xe

    Expiration: 14-04-2018 23:15

  - PlayerID: 0

    PlayerName: Exacute

Advertisement