Class UserManagerCommands
Inheritance
System.Object
UserManagerCommands
Assembly: Eco.Gameplay.dll
Syntax
[ChatCommandHandler]
public static class UserManagerCommands : Object
Methods
Admin(IChatClient, String, String)
Declaration
[ChatSubCommand]
public static void Admin(IChatClient client, string nameOrID = "", string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
Ban(IChatClient, String, String, String)
Declaration
[ChatSubCommand]
public static void Ban(IChatClient client, string nameOrID = "", string reason = "", string time = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
System.String |
time |
|
Ignore(User, User)
Declaration
[ChatSubCommand]
public static void Ignore(User user, User ignoreUser = null)
Parameters
Type |
Name |
Description |
User |
user |
|
User |
ignoreUser |
|
Kick(IChatClient, User, String)
Declaration
[ChatSubCommand]
public static void Kick(IChatClient client, User kickUser, string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
User |
kickUser |
|
System.String |
reason |
|
ListAdmins(IChatClient)
Declaration
[ChatSubCommand]
public static void ListAdmins(IChatClient client)
Parameters
ListUsers(IChatClient)
Declaration
[ChatSubCommand]
public static void ListUsers(IChatClient client)
Parameters
Manage()
Declaration
[ChatCommand("Shows commands for users administration.")]
public static void Manage()
Mute(IChatClient, String, String, String)
Declaration
[ChatSubCommand]
public static void Mute(IChatClient client, string nameOrID = "", string reason = "", string time = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
System.String |
time |
|
RemoveAdmin(IChatClient, String, String)
Declaration
[ChatSubCommand]
public static void RemoveAdmin(IChatClient client, string nameOrID, string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
UnBan(IChatClient, String, String)
Declaration
[ChatSubCommand]
public static void UnBan(IChatClient client, string nameOrID = "", string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
UnMute(IChatClient, String, String)
Declaration
[ChatSubCommand]
public static void UnMute(IChatClient client, string nameOrID = "", string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
UnWhitelist(IChatClient, String, String)
Declaration
[ChatSubCommand]
public static void UnWhitelist(IChatClient client, string nameOrID = "", string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
Whitelist(IChatClient, String, String)
Declaration
[ChatSubCommand]
public static void Whitelist(IChatClient client, string nameOrID = "", string reason = "")
Parameters
Type |
Name |
Description |
IChatClient |
client |
|
System.String |
nameOrID |
|
System.String |
reason |
|
WhoAmI(User)
Declaration
[ChatSubCommand]
public static void WhoAmI(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
WhoIs(User, User)
Declaration
[ChatSubCommand]
public static void WhoIs(User user, User otherUser)
Parameters
Type |
Name |
Description |
User |
user |
|
User |
otherUser |
|