Method | Description | |
---|---|---|
OnPlayerChat ( TSPlayer ply, string rawtext, string &tshockText ) : void |
Fires the PlayerChat event.
|
|
OnPlayerCommand ( TSPlayer player, string cmdName, string cmdText, List |
Fires the PlayerCommand event.
|
|
OnPlayerLogout ( TSPlayer ply ) : void |
Fires the PlayerLogout event.
|
|
OnPlayerPermission ( TSPlayer player, string permission ) : bool |
Fires the PlayerPermission event.
|
|
OnPlayerPostLogin ( TSPlayer ply ) : void |
Fires the PlayerPostLogin event.
|
|
OnPlayerPreLogin ( TSPlayer ply, string name, string pass ) : bool |
Fires the PlayerPreLogin event.
|
public static OnPlayerChat ( TSPlayer ply, string rawtext, string &tshockText ) : void | ||
ply | TSPlayer | The player firing the event. |
rawtext | string | The raw chat text sent by the player. |
tshockText | string | The chat text after being formatted. |
return | void |
public static OnPlayerCommand ( TSPlayer player, string cmdName, string cmdText, List |
||
player | TSPlayer | The player firing the event. |
cmdName | string | The command name. |
cmdText | string | The raw command text. |
args | List |
The command args extracted from the command text. |
commands | IEnumerable |
The list of commands. |
cmdPrefix | string | The command specifier used. |
return | bool |
public static OnPlayerLogout ( TSPlayer ply ) : void | ||
ply | TSPlayer | The player firing the event. |
return | void |
public static OnPlayerPermission ( TSPlayer player, string permission ) : bool | ||
player | TSPlayer | The player firing the event. |
permission | string | |
return | bool |
public static OnPlayerPostLogin ( TSPlayer ply ) : void | ||
ply | TSPlayer | The player firing the event. |
return | void |
public static OnPlayerPreLogin ( TSPlayer ply, string name, string pass ) : bool | ||
ply | TSPlayer | The player firing the event. |
name | string | The user name. |
pass | string | The password. |
return | bool |