public void OnPlayerChat(IPlayerChatEvent e) { if (e.Message == "") { return; } var message = e .Message .ToLower() .Split(" "); if (message[0] == "/gm" || message[0] == "/gamemode") { _gameModeManager.ProcessCommands(message, e); } if (message[0] == "/role") { _roleManager.ProcessCommands(message, e); } }