[ChatCommand("closebase")] private void CloseMyDoorsCommand(BasePlayer player, string command, string[] args) { if (usePerms && !permission.UserHasPermission(player.UserIDString, perm)) { SendReply(player, lang.GetMessage("noperm", this, player.UserIDString)); return; } ClosePlayerDoors(player); SendReply(player, lang.GetMessage("doorsclosed", this, player.UserIDString)); }

if someone is interested I just add this piece of code to allow players close all the doors with a command