private void OnRustBusterUserMessage(API.RustBusterUserAPI user, Message msgc) { if (msgc.PluginSender == "WorldEditor") { if (msgc.MessageByClient == "worldeditadmin") { msgc.ReturnMessage = user.Player.Admin ? "yes" : "no"; } else if (msgc.MessageByClient == "worldedit_finished") { // this._protectedPlayers.Remove(user.SteamID); // user.Player.Notice("", "All custom objects loaded. You are no longer protected!", 10); user.Player.Notice("", "All custom objects loaded.", 10); } else if (msgc.MessageByClient.Contains("worldedit_spawn")) { var splitted = msgc.MessageByClient.Split('|'); foreach (var player in Server.GetServer().Players) { player.SendConsoleMessage("worldedit_spawn|" + splitted[1]); } } else if (msgc.MessageByClient == "worldedit_kick") { user.Player.Disconnect(); } } }