Jump to content

Arma 3 Zargabad Life

Welcome back to Zargabad. Go back in time and relive the glory days of the fast-paced environment of Zargabad. With minimal rules you chose how you play.

Connect today using CUP mods (except CWA) - play as a civilian or as a UN peacekeeper.

Arma 3 DayZ Exile

It is the year 2018; the world has just experienced a devastating zombie apocalypse. It is the result of an intense American invasion of the Russian territory of Napf.

Two years earlier, you were exiled to the island after committing crimes against the Russian Government. Because of this, you were freed by the Americans from state prison after the invasion. The fallout from the war has mutated and irradiated most people beyond recognition... You must attempt to rebuild and restore old world values. Good luck survivor.

  • ZKB1325
    ZKB1325
    Sign in to follow this  

    Admin Config

    Zargabad Life framework offers a basic admin menu but with a lot of functionality. All the configuration can be done in AdminCommandConfig.hpp found in "Configs\AdminCommandConfig.hpp".

     

    To add a player to the list of admins you can do so here.

    class Admins
    {
    class playerUID {adminLevel = level;};
    class 7656123456789 {adminLevel = 5;};
    };

     

    Zargabad Life framework offers a few commands for admins with more to come. You can add more commands as you want but note it can be tricky if it requires a UI.

    class AdminAbility //Unique command class
    	{
    	//Name in the list/command name
    	displayName = "Name in list";
    	
    	//Description that is displayed as a tooltip
    	description = "";
    	
    	//required admin level to see in list. Acts as minimum level so level 4 can see if required level is 2. All players are at least 0
    	reqAdminLevel = 5;
    	
    	//Function to run when option is selected. function is called. Passes selected player object (_this select 0) List control (_this select 1) and command index from the list menu (_this select 2).
    	function = "";
    	
    	//IDC's of menu. This is important so it can hide and show the correct menu's. -1, 50001, and 50002 are reserved.
    	menuIDC[] = {};
    	
    	//Additional condition on top of needing reqAdminLevel
    	condition = "";
    	};

     

    All default commands

    Spoiler
    
    class AdminCommands
    {
    class Nothing
    	{
    	displayName = "$STR_Admin_Nothing";
    	description = "$STR_Admin_NothingDesc";
    	reqAdminLevel = 0;
    	function = "";
    	menuIDC[] = {};
    	condition = "";
    	};
    	
    class GodMode
    	{
    	displayName = "$STR_Admin_GodMode";
    	description = "$STR_Admin_GodModeDesc";
    	reqAdminLevel = 5;
    	function = "ZKB_fnc_AdminGodMode";
    	menuIDC[] = {};
    	condition = "";
    	};
    	
    class HealPlayer
    	{
    	displayName = "$STR_Admin_HealPlayer";
    	description = "$STR_Admin_HealPlayerDesc";
    	reqAdminLevel = 1;
    	function = "ZKB_fnc_AdminHealPlayer";
    	menuIDC[] = {};
    	condition = "";
    	};
    	
    class Teleport
    	{
    	displayName = "$STR_Admin_Teleport";
    	description = "$STR_Admin_TeleportDesc";
    	reqAdminLevel = 2;
    	function = "";
    	menuIDC[] = {50010,50011,50012,50013,50014,50015,50016};
    	condition = "";
    	};	
    	
    class Comp
    	{
    	displayName = "$STR_Admin_Comp";
    	description = "$STR_Admin_CompDesc";
    	reqAdminLevel = 2;
    	function = "ZKB_fnc_AdminCompMenu";
    	menuIDC[] = {50020,50021,50022,50023,50024,50025,50026,50027,50028,50029,50030,50031,50032,50033,50034,50035,50036,50037,50038};
    	condition = "";
    	};
    	
    class Spectate
    	{
    	displayName = "$STR_Admin_Spectate";
    	description = "$STR_Admin_SpectateDesc";
    	reqAdminLevel = 2;
    	function = "ZKB_fnc_AdminSpectatePlayer";
    	menuIDC[] = {};
    	condition = "";
    	};
    	
    class AdminLogs
    	{
    	displayName = "$STR_Admin_AdminLogs";
    	description = "$STR_Admin_AdminLogsDesc";
    	reqAdminLevel = 2;
    	function = "ZKB_fnc_AdminViewAdminLogs";
    	menuIDC[] = {50040,50041,50042,50043};
    	condition = "";
    	};	
    	
    class PlayerLogs
    	{
    	displayName = "$STR_Admin_PlayerLogs";
    	description = "$STR_Admin_PlayerLogsDesc";
    	reqAdminLevel = 1;
    	function = "ZKB_fnc_AdminViewPlayerLogs";
    	menuIDC[] = {50050,50051,50052,50053};
    	condition = "";
    	};
    	
    class PlayerInfo
    	{
    	displayName = "$STR_Admin_PlayerInfo";
    	description = "$STR_Admin_PlayerInfoDesc";
    	reqAdminLevel = 1;
    	function = "ZKB_fnc_AdminViewPlayerInfo";
    	menuIDC[] = {50060,50061,50062,50063,50064,50065,50066,50067};
    	condition = "";
    	};
    };

     

     


    Sign in to follow this  


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    You are commenting as a guest. If you have an account, please sign in.
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


Our Logo

Welcome to the International Gamers Federation! We are a growing community of gamers coming together from all over the globe. Founded in 2018, IGF Gaming prides itself on openness, transparency, providing an unparalleled experience, and most importantly, putting our players first.

×