Paradise Station 13 - Modules - TypesVar Details - Proc Details

instancing

Vars

registered_commandsAssociative list of registered commands. K = command name | V = command datum

Procs

check_playerPlayer checker
seed_dataSeed data
update_heartbeatHeartbeat updater
update_playercachePlayercache updater

Var Details

registered_commands

Associative list of registered commands. K = command name | V = command datum

Proc Details

check_player

Player checker

Check all connected peers to see if a player exists in the player cache This is used to make sure players dont log into 2 servers at once Arguments: ckey - The ckey to check if they are logged into another server

seed_data

Seed data

Seeds all our data into the DB for other servers to discover from. This is called during world/New() instead of on initialize so it can be done instantly

update_heartbeat

Heartbeat updater

Updates the heartbeat in the DB. Used so other servers can see when this one was alive

update_playercache

Playercache updater

Updates the player cache in the DB. Different from heartbeat so we can force invoke it on player operations