mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-18 18:49:23 +00:00
1.4.0a
- Ability to set the plugin mode (MultiServerMode) - When its `true`, then plugin respects penalties from all servers, when its `false` then plugin respects penalties only from this server - Renamed command `css_reladmin` to `css_reloadadmins` (It reload admins and groups) - Groups
This commit is contained in:
@@ -35,15 +35,13 @@ namespace CS2_SimpleAdmin.Menus
|
||||
return;
|
||||
}
|
||||
|
||||
//bool xpRights = AdminManager.PlayerHasPermissions(admin, "@wcs/xp");
|
||||
|
||||
BaseMenu menu = AdminMenu.CreateMenu("Simple Admin");
|
||||
List<ChatMenuOptionData> options = new()
|
||||
{
|
||||
BaseMenu menu = CreateMenu("Simple Admin");
|
||||
List<ChatMenuOptionData> options =
|
||||
[
|
||||
new ChatMenuOptionData("Manage Players", () => ManagePlayersMenu.OpenMenu(admin)),
|
||||
new ChatMenuOptionData("Manage Server", () => ManageServerMenu.OpenMenu(admin)),
|
||||
new ChatMenuOptionData("Fun actions", () => FunActionsMenu.OpenMenu(admin)),
|
||||
};
|
||||
];
|
||||
|
||||
List<CustomServerCommandData> customCommands = CS2_SimpleAdmin.Instance.Config.CustomServerCommands;
|
||||
if (customCommands.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user