C# Class TDSM.Core.Command.Commands.OperatorCommand

Inheritance: CoreCommand
Datei anzeigen Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod

Public Methods

Method Description
Auth ( ISender sender, string password ) : void

Allows users to log in.

DeopPlayer ( ISender sender, ArgumentList args ) : void

De-OPs a given Player.

Initialise ( ) : void
LogOut ( ISender sender, ArgumentList args ) : void

Allows players to logout.

OpPlayer ( ISender sender, ArgumentList args ) : void

Sets OP status to a given Player.

Method Details

Auth() public method

Allows users to log in.
public Auth ( ISender sender, string password ) : void
sender ISender Sending player
password string Password for verification
return void

DeopPlayer() public method

De-OPs a given Player.
public DeopPlayer ( ISender sender, ArgumentList args ) : void
sender ISender Sending player
args ArgumentList Arguments sent with command
return void

Initialise() public method

public Initialise ( ) : void
return void

LogOut() public method

Allows players to logout.
public LogOut ( ISender sender, ArgumentList args ) : void
sender ISender Sending player
args ArgumentList Arguments sent with command
return void

OpPlayer() public method

Sets OP status to a given Player.
public OpPlayer ( ISender sender, ArgumentList args ) : void
sender ISender Sending player
args ArgumentList Arguments sent with command
return void