Skip to content

Example Service Template

Corey D edited this page Oct 14, 2022 · 1 revision
        ////////////////////////////////
        // VIP
        ////////////////////////////////

        "VIP"                                               // Service name
        {
            "Main Configuration"
            {
                "service_enabled"       "1"                 // Is service enabled. (0 = Disabled | 1 = Enabled)
                "priority"              "20"                // If a player has access to more than one service, they will get the one with highest priority.

                "flag"                  "o"                 // Admin Flag that grants access to service (Empty = disabled).
                "override"              "sm_vip_override"   // Override that grants access to service (Empty = disabled).

                "chat_tag"              "{orange}[VIP]{default}"     // Chat message prefix (colors supported; Empty = disabled).
                "chat_name_color"       "{teamcolor}"       // Chat name colour (Also supports {teamcolor}. Empty = disabled)
                "chat_message_color"    "{default}"         // Chat text colour (Empty = disabled)

                "scoreboard_tag"        "[VIP]"             // Scoreboard tag (Empty = disabled)

                "allow_during_warmup"   "0"                 // Allow bonuses during warmup. (0 = Disabled | 1 = Enabled)

                // Manually assign this service to SteamIDs
                // Specify player names and a SteamID (ID2 or ID3) such as: "Walter White"  "STEAM_0:1:2134135"
                // The name can be anything, the plugin ignores it.
                "SteamID Access"
                {
                    "Walter White"  "STEAM_0:1:2134135"
                }
            }

            "Player Spawn Bonuses"
            {
                "player_hp"                 "102"   // Player HP on spawn.
                "player_hp_round"           "1"     // The first round that player_hp starts to apply.
                "player_max_hp"             "110"   // Max amount of HP a player can have.

                "player_vest"               "1"     // Give players armor (0 = Disabled | 1 = Enabled).
                "player_vest_value"         "100"   // Amount of armor player should get (0 - 100).
                "player_vest_round"         "2"     // The first round that player_vest starts to apply.

                "player_helmet"             "1"     // Give players a helmet (0 = Disabled | 1 = Enabled).
                "player_helmet_round"       "2"     // The first round that player_helmet starts to apply.

                "player_defuser"            "1"     // Give CTs a defuse kit (0 = Disabled | 1 = Enabled).
                "player_defuser_round"      "1"     // The first round that player_defuser starts to apply.
            }

            "Grenades On Spawn"
            {
                // Set the grenades given to players on spawn.
                // They will only be given up to the amount specified--extra grenades will not be given (and will not drop on the ground).
                //
                // If you want Ultra-VIP to automatically increase the ConVars for you to allow
                // all players to hold enough grenades (including those without any service!),
                // set "fix_grenade_limits" to "1" in the Global Configuration.
                //
                // If you want to manually set the limits, you need to set the following ConVars:
                //
                //        ammo_grenade_limit_total      --  Total number of grenades that can be carried
                //                                          (excluding snowballs, breach charge, bump mine and healthshot).
                //
                //        ammo_grenade_limit_default    --  Limit of each *type* of standard grenade (except flashbang):
                //                                          HE, Smoke, Molotov/Incendiary, Decoy, TAGrenade
                //                                          If the cvar is 1, you can have 1 of each type (but no more than ammo_grenade_limit_total)
                //
                //        ammo_grenade_limit_flashbang  --  Max number of flashbangs (no more than ammo_grenade_limit_total).
                //
                //        ammo_grenade_limit_snowballs  --  Max number of snowballs.
                //        ammo_item_limit_healthshot    --  Max number of healthshots.
                //
                // Bump mines and Breach charges are limited to 32.
                //
                // To disable giving any grenade, set the amount to "0".

                "strip_grenades"        "0" // Should grenades be stripped before giving more each round. (0 = Don't strip | 1 = Strip)

                "he_amount"             "1" // HE Grenades.
                "he_round"              "1" // The first round that HE Grenades are given out.

                "flash_amount"          "1" // Flashbangs.
                "flash_round"           "1" // The first round that Flashbangs are given out.

                "smoke_amount"          "1" // Smoke Grenades.
                "smoke_round"           "1" // The first round that Smoke Grenades are given out.

                "decoy_amount"          "0" // Decoys.
                "decoy_round"           "1" // The first round that Decoys are given out.

                "molotov_amount"        "0" // Molotovs/Incendiarys.
                "molotov_round"         "1" // The first round that Molotovs/Incendiarys are given out.

                "healthshot_amount"     "0" // Healthshots.
                "healthshot_round"      "1" // The first round that Healthshots are given out.

                "tag_amount"            "0" // Tactical Awareness Grenades.
                "tag_round"             "1" // The first round that TA Grenades are given out.

                "snowball_amount"       "0" // Snowballs.
                "snowball_round"        "1" // The first round that Snowballs are given out.

                "breachcharge_amount"   "0" // Breach Charges.
                "breachcharge_round"    "1" // The first round that Breach Charges are given out.

                "bumpmine_amount"       "0" // Bump Mines.
                "bumpmine_round"        "1" // The first round that Bump Mines are given out.
            }

            "Special Bonuses"
            {
                "player_extra_jumps"                "1"     // How many extra jumps should player have (0 = Disabled | 1 = Double jump | 2 = Triple jump).
                "player_extra_jump_height"          "250.0"
                "player_extra_jumps_round"          "1"     // The first round that player_extra_jumps starts to apply.
                "player_extra_jumps_falldamage"     "1"     // Should you take fall damage after doing an extra jump (1 = Damage enabled | 0 = Damage disabled).

                "player_shield"                     "0"     // Give Tactical Shield to a player.
                "player_shield_round"               "1"     // The first round that Tactical Shield is given out.

                "player_gravity"                    "1.0"   // Player gravity multiplier (Default is 1.0).
                "player_gravity_round"              "1"     // The first round that player_gravity takes effect.

                "player_speed"                      "1.0"   // Player speed multiplier (Default is: 1.0).
                "player_speed_round"                "1"     // The first round that player_speed takes effect.

                "player_visibility"                 "255"   // Player visibility/opacity (Default is: 255).
                "player_visibility_round"           "1"     // The first round that player_visibility takes effect.

                "player_respawn_percent"            "0"     // Chance of respawning after dying, as a percent (0 - 100).
                "player_respawn_round"              "1"     // The first round that player_respawn_percent takes effect.
                "player_respawn_notify"             "0"     // Should players be notified in chat when respawning (0 = Disabled | 1 = Enabled).

                "player_fall_damage_percent"        "100"   // Amount of fall damage players take, as a percent (Default is 100)
                "player_fall_damage_round"          "1"     // The first round that player_fall_damage_percent takes effect.

                "player_attack_damage"              "100"   // Damage dealt by player, as a percent (150 = +50% damage | Default is 100).
                "player_attack_damage_round"        "1"     // The first round that player_attack_damage takes effect.

                "player_damage_resist"              "0"     // Damage ignored by the player, as a percent (0 = None | 100 = All the Damage).
                "player_damage_resist_round"        "1"     // The first round that player_damage_resist takes effect.

                "player_unlimited_ammo"             "0"     // Give player unlimited ammo (0 = Disabled | 1 = Enabled).
                "player_unlimited_ammo_round"       "1"     // The first round that player_unlimited_ammo takes effect.

                "player_no_recoil"                  "0"     // No recoil on weapons.
                "player_no_recoil_round"            "1"     // The first round that player_no_recoil takes effect.
            }

            "Events Bonuses"
            {
                "Money"
                {
                    // Money given out for certain in game events.
                    // If the value is 0, the bonus will be disabled.
                    //
                    // They all follow the following structure:
                    //
                    //      "bonus"         "0"     // Amount of money given.
                    //      "bonus_round"   "1"     // The first round that the bonus takes effect.
                    //      "bonus_chat"    "0"     // Notify the player when the bonus is awarded (0 = Disabled | 1 = Enabled).
                    //

                    "spawn_bonus"               "0" // Amount of extra money on spawn.
                    "spawn_bonus_round"         "1"
                    "spawn_bonus_chat"          "0"

                    "kill_bonus"                "0" // Amount of extra money for a kill.
                    "kill_bonus_round"          "1"
                    "kill_bonus_chat"           "0"

                    "assist_bonus"              "0" // Amount of extra money for an assist.
                    "assist_bonus_round"        "1"
                    "assist_bonus_chat"         "0"

                    "headshot_bonus"            "0" // Amount of extra money for a headshot kill.
                    "headshot_bonus_round"      "1"
                    "headshot_bonus_chat"       "0"

                    "knife_bonus"               "0" // Amount of extra money for a knife kill.
                    "knife_bonus_round"         "1"
                    "knife_bonus_chat"          "0"

                    "zeus_bonus"                "0" // Amount of extra money for killing with a zeus (taser).
                    "zeus_bonus_round"          "1"
                    "zeus_bonus_chat"           "0"

                    "grenade_bonus"             "0" // Amount of extra money for killing with grenades.
                    "grenade_bonus_round"       "1"
                    "grenade_bonus_chat"        "0"

                    "mvp_bonus"                 "0" // Amount of extra money for getting MVP.
                    "mvp_bonus_round"           "1"
                    "mvp_bonus_chat"            "0"

                    "noscope_bonus"             "0" // Amount of extra money for a no-scope kill.
                    "noscope_bonus_round"       "1"
                    "noscope_bonus_chat"        "0"

                    "hostage_bonus"             "0" // Amount of extra money for rescuing a hostage.
                    "hostage_bonus_round"       "1"
                    "hostage_bonus_chat"        "0"

                    "bomb_planted_bonus"        "0" // Amount of extra money for planting the bomb.
                    "bomb_planted_bonus_round"  "1"
                    "bomb_planted_bonus_chat"   "0"

                    "bomb_defused_bonus"        "0" // Amount of extra money for defusing the bomb.
                    "bomb_defused_bonus_round"  "1"
                    "bomb_defused_bonus_chat"   "0"
                }

                "Bonus Health"
                {
                    // HP given out for certain in game events.
                    // If the value is 0, the bonus will be disabled.
                    //
                    // Player HP cannot go over the maximum HP set in "Player Spawn Bonuses".
                    //
                    // They all follow the following structure:
                    //
                    //      "hp_bonus"         "0"  // Amount of HP given.
                    //      "hp_bonus_round"   "1"  // The first round that the bonus takes effect.
                    //      "hp_bonus_chat"    "0"  // Notify the player when the bonus is awarded (0 = Disabled | 1 = Enabled).
                    //

                    "kill_hp_bonus"             "0" // Amount of extra HP on kill.
                    "kill_hp_bonus_round"       "1"
                    "kill_hp_bonus_chat"        "0"

                    "assist_hp_bonus"           "0" // Amount of extra HP on assist.
                    "assist_hp_bonus_round"     "1"
                    "assist_hp_bonus_chat"      "0"

                    "headshot_hp_bonus"         "0" // Amount of extra HP on headshot kill.
                    "headshot_hp_bonus_round"   "1"
                    "headshot_hp_bonus_chat"    "0"

                    "knife_hp_bonus"            "0" // Amount of extra HP for a knife kill.
                    "knife_hp_bonus_round"      "1"
                    "knife_hp_bonus_chat"       "0"

                    "zeus_hp_bonus"             "0" // Amount of extra HP on killing with a zeus (taser).
                    "zeus_hp_bonus_round"       "1"
                    "zeus_hp_bonus_chat"        "0"

                    "grenade_hp_bonus"          "0" // Amount of extra HP for killing with grenades.
                    "grenade_hp_bonus_round"    "1"
                    "grenade_hp_bonus_chat"     "0"

                    "noscope_hp_bonus"          "0" // Amount of extra HP for a no-scope kill.
                    "noscope_hp_bonus_round"    "1"
                    "noscope_hp_bonus_chat"     "0"
                }
            }

            "Welcome and Leave Messages"
            {
                // For all of the message text in this section you can use these special placeholder values
                // to automatically insert text:
                //
                //      "{SERVICE}"     --      Displays the name of the service.
                //      "{NAME}"        --      Displays the name of the player.
                //

                "Chat"
                {
                    // Optional chat message printed when a player with this service joins (colors supported).
                    "chat_join_msg_enable"  "1"
                    "chat_join_msg"         "{SERVICE} - {orange}{NAME} {default}just joined the server"

                    // Optional chat message printed when a player with this service disconnects (colors supported).
                    "chat_leave_msg_enable" "1"
                    "chat_leave_msg"        "{SERVICE} - {orange}{NAME} {default} just left the server"
                }
                "Hud"
                {
                    // Optional HUD message displayed when a player with this service joins.
                    "hud_join_msg_enable"   "1"
                    "hud_join_msg"          "{SERVICE} {NAME} just joined the server"

                    // Optional HUD message displayed when a player with this service disconnects.
                    "hud_leave_msg_enable"  "1"
                    "hud_leave_msg"         "{SERVICE} {NAME} just left the server"

                    "hud_position_x"        "-1.0"  // X position of the HUD message
                    "hud_position_y"        "-0.7"  // Y position of the HUD message
                    "hud_color_red"         "243"   // RED color (0 - 255)
                    "hud_color_green"       "200"   // GREEN color (0 - 255)
                    "hud_color_blue"        "36"    // BLUE color (0 - 255)
                }
            }

            "Advanced Weapons Menu"
            {
                // The weapons that will be displayed to the player in a menu when they spawn.
                // The weapons can have any price, which will be subtracted from the player's money.
                //
                // You can add any weapons you want to the menus.
                // Add a new weapon to either the Rifles or Pistols sections like this:
                //
                //      "➣ AK-47"                              // Weapon name displayed in the menu.
                //      {
                //          "weapon_entity"      "weapon_ak47"  // Weapon entity classname (weapons used with the "give" console command)
                //          "team"               "T"            // Team that can select the weapon ("" = Both, "T", or "CT").
                //          "price"              "0"            // Weapon price (0 = Free).
                //      }

                "menu_display_time"           "30"  // For how long weapon menu should be displayed for player (0 = forever).
                "menu_block_outside_buyzone"  "1"   // If they player is outsize buy zone should it block getting a weapons ( 1 = yes | 0 = no ).      

                "Rifles"
                {
                    "rifles_menu_enabled"       "1" // Enable the "Rifles" menu.
                    "rifles_menu_round"         "3" // The first round that the "Rifles" menu displays.

                    "➣ AK-47"
                    {
                        "weapon_entity"     "weapon_ak47"
                        "team"              "T"
                        "price"             "0"
                    }
                    "➣ M4A1-S"
                    {
                        "weapon_entity"     "weapon_m4a1_silencer"
                        "team"              "CT"
                        "price"             "0"
                    }
                    "➣ M4A1"
                    {
                        "weapon_entity"     "weapon_m4a1"
                        "team"              "CT"
                        "price"             "0"
                    }
                    "➣ AWP"
                    {
                        "weapon_entity"     "weapon_awp"
                        "team"              ""
                        "price"             "0"
                    }
                    "➣ AUG"
                    {
                        "weapon_entity"     "weapon_aug"
                        "team"              ""
                        "price"             "0"
                    }
                    "➣ FAMAS"
                    {
                        "weapon_entity"     "weapon_famas"
                        "team"              ""
                        "price"             "0"
                    }
                }

                "Pistols"
                {
                    "pistols_menu_enabled"      "1" // Enable the "Pistols" menu.
                    "pistols_menu_round"        "1" // The first round that the "Pistols" menu displays.

                    "➣ DEAGLE"
                    {
                        "weapon_entity"     "weapon_deagle"
                        "team"              ""
                        "price"             "0"
                    }
                    "➣ P250"
                    {
                        "weapon_entity"     "weapon_p250"
                        "team"              ""
                        "price"             "0"
                    }
                    "➣ FIVESEVEN"
                    {
                        "weapon_entity"     "weapon_fiveseven"
                        "team"              ""
                        "price"             "0"
                    }
                    "➣ ELITE"
                    {
                        "weapon_entity"     "weapon_elite"
                        "team"              ""
                        "price"             "0"
                    }
                    "➣ TEC-9"
                    {
                        "weapon_entity"     "weapon_tec9"
                        "team"              "T"
                        "price"             "0"
                    }
                }
            }
        }

        ////////////////////////////////
        // END OF VIP SETTINGS
        ////////////////////////////////

Clone this wiki locally