HogWarp
  • Home
    • Frequently Asked Questions
    • Supported Versions
  • Client
    • Quick start
      • Playstation Controller not working
      • Epic Games Version Saves Fix
  • Server
    • Quick Start
    • Server Requirements
    • Troubleshooting
  • Scripting
    • Getting Started
    • Client side
      • Basics
      • Setting up mods
        • Local Cooking / Building
    • Server side
      • Plugin
        • Creating a Plugin
        • Structure / Lifecycle
        • Plugin ↔ Plugin
      • Debugging
      • Event handling
      • API Documentation
        • Server
          • IPlugin
          • PlayerSystem
          • RpcManager
          • Timer
          • World
        • Game
          • Types
        • Systems
          • Logger
          • ClientRpcAttribute
          • ReplicatedAttribute
          • ServerRpcAttribute
Powered by GitBook
On this page
  • Methods
  • Events
  • Delegates
  • Variables
  1. Scripting
  2. Server side
  3. API Documentation
  4. Server

PlayerSystem

Methods

Name
Parameters
Return
Description

GetById

ulong Id

Game.Player

Get a player by their ulong Id. (Game.Player.Id)

Events

Name
Return Type
Description

PlayerJoinEvent

PlayerSystem.PlayerEvent?

Signals any time a player connects to the server.

PlayerLeftEvent

PlayerSystem.PlayerEvent?

Signals any time a player disconnects from the server.

Delegates

Name
Parameters
Return Type
Description

PlayerEvent

Game.Player Id

void

Generic delegate for Player events.

Variables

Name
Type
Description

Players

IEnumerable<Game.Player>

Iterable collection of Players.

PreviousIPluginNextRpcManager

Last updated 3 months ago