TerrariaServer
Hooks interface
List of players
See generic HandlerList
Works like an event. Allows for registering delegates with a higher or lower priority.
Register a handler
Delegate to be called
Priority of the delegate
Should the handler receive a call even if it has been handled
Attempts to damage the player.
int - how much damage to give
Sends message to specified player
string - text to send
Color - color for the text
Meant to only be used by TServer.
The character name of the player.
Return a list of interfaces this plugin exposes.
Called before initialize passing all the interfaces gathered from plugins
Gets the T interface from the collection. Returns null if its not found.
Called when the player first connects. They are not fully in the game yet, for that see Greet.
Called when the player is actually loaded into the game.