◆ UserManagerChatPlugin()
essentials.Subsystems.Chat.UserManagerChatPlugin.UserManagerChatPlugin |
( |
IChatServer |
chat | ) |
|
21 this.InjectDependencies();
◆ Handle()
bool essentials.Subsystems.Chat.UserManagerChatPlugin.Handle |
( |
IUser |
fromUser, |
|
|
string |
command, |
|
|
string [] |
args |
|
) |
| |
Attribute: 0
);
Attribute: 0
);
Attribute: 0
);
Attribute: 0
, UserAuthLevel.Moderator);
Attribute: 0
);
Attribute: 0
, "You are now a moderator. It will take affect after rejoining");
Attribute: 0
, UserAuthLevel.Moderator);
Attribute: 0
);
Attribute: 0
, "You have been op'd. It will take affect after rejoining.");
Attribute: 0
, UserAuthLevel.Normal);
Attribute: 0
);
Attribute: 0
);
Attribute: 0
);
Attribute: 0
);
Attribute: 0
);
Attribute: 0
);
Attribute: 1
);
Attribute: 2
);
Attribute: 0
);
Implements essentials.Subsystems.Chat.IChatCommandHandler.
74 _chat.
SendDirectedMessage(args[0],
"You are now a moderator. It will take affect after rejoining");
80 _chat.
SendDirectedMessage(args[0],
"You have been op'd. It will take affect after rejoining.");
101 double x =
double.Parse(args[0]);
102 double y =
double.Parse(args[1]);
103 double z =
double.Parse(args[2]);
122 if (toEntity != null)
125 entity.SetPosition(coord.X, coord.Y, coord.Z);
IUser GetUser(ushort userId)
void SetPosition(double x, double y, double z)
Sets the position.
IUserManager UserManager
Definition: UserManagerChatPlugin.cs:12
void Whitelist(string username)
void SendDirectedMessage(string username, string msg, params object[] args)
IPlayableEntity GetClientPrimaryEntity(ushort ident)
Get the playable entity for a client Id
void BroadcastSystemMessage(string msg, params object[] args)
void UnWhitelist(string username)
UserAuthLevel UserAuthenticationLevel
The authentication level of a user
Definition: IUser.cs:44
void SetUserLevel(string username, UserAuthLevel level)
UserAuthLevel
User authentication level
Definition: UserAuthLevel.cs:8
string Username
The username of the user
Definition: IUser.cs:14
IEntityManager EntityManager
Definition: UserManagerChatPlugin.cs:15
Vector3d Position
Gets the position.
Definition: IPositionableEntity.cs:17
◆ EntityManager
IEntityManager essentials.Subsystems.Chat.UserManagerChatPlugin.EntityManager |
|
getprotected |
◆ UserManager
IUserManager essentials.Subsystems.Chat.UserManagerChatPlugin.UserManager |
|
getprotected |
The documentation for this class was generated from the following file: