Caution
Config Located In ..\addons\counterstrikesharp\plugins\Spawn-Loadout-GoldKingZ\config\config.json
{
//---------------------------[ ↓ Spawn Loadout Configs ↓ ]--------------------------------
//Flags Who Can Reload Weapons_Settings.json (Making Empty "" Means Everyone Has Access)
"SL_Reload_Weapons_Settings_Flags": "@css/root,@css/admin",
// Command Ingame To Reload Weapons_Settings.json
"SL_Reload_Weapons_Settings_CommandsInGame": "!loadouts,!relaodloadouts,!restartloadouts,!loadout,!relaodloadout,!restartloadout",
//----------------------------[ ↓ Debug ↓ ]----------------------------------------------
//Enable Debug Will Print Server Console If You Face Any Issue
"EnableDebug": false,
}
Caution
Weapon Config Located In ..\addons\counterstrikesharp\plugins\Spawn-Loadout-GoldKingZ\config\Weapons_Settings.json
Warning
"ANY" Will Override All Maps, if you make it "awp_" it will give to loadout to any map start with awp_
Maps Override Path Example //"ANY" > "awp_" > "awp_lego_" > "awp_lego_2"
{
"ANY"://<Map Name>
{
//==========================
// Map Options
//==========================
// "Force_Strip_Players": "true" //Force To Strip Players (If false Or Not Been Used This Will Return To false)
// "Remove_BuyMenu": "true" //Remove Buy Menu (If false Or Not Been Used This Will Return To false)
// "Remove_Knife": "true" //Remove Players Knifes (If false Or Not Been Used This Will Return To false)
// "Remove_Custom_Point_Server_Command": "true" //Remove point_servercommand Custom ConVars (If false Or Not Been Used This Will Return To false)
// "Remove_Custom_Point_Client_Command": "true" //Remove point_clientcommand Custom ConVars (If false Or Not Been Used This Will Return To false)
// "Remove_Ground_Weapons": "0" // (1) = Remove Ground Weapons Only In Warmup || (2) = Remove Ground Weapons Any Cases || (If 0 Or Not Been Used This Will Return To 0)
// "Delay_InXSecs_Give_LoadOuts": "0.0" //Delay On Give LoadOuts (If 0.0 Or Not Been Used This Will Return To 0.0)
//==========================
"LOADOUT_1"://LoadOut 1 <LOADOUT_X>
{
//Important Note: If Player Get Loadout 1 Example AK47 and in Loadout 2 You Give AWP LoadOut 1 Will Override LoadOut 2 Because Slot Where Rifle At, is Gived
//Make Sure Vips/Flags Always LOADOUT_1 To Override LOADOUT_2
//==========================
// LOADOUT Options
//==========================
// "Flags": "@css/root,@css/admin,@css/vip,#css/admin,#css/vip" //Give This LoadOut For These Flags Only (If Empty Or Not Been Used This Will Return To Give Anyone)
// "CT": "weapon_hkp2000,weapon_knife,weapon_smokegrenade" //CT Loadout
// "T": "weapon_glock,weapon_knife,weapon_smokegrenade" //T Loadout
// "CT_Refill_Nades": "weapon_decoy" //Give Auto Refill (ex: decoy) CT Side
// "CT_Refill_Time_InSec": 30 //Every 30 Secs Give CT_Refill_Nades
// "T_Refill_Nades": "weapon_decoy" //Give Auto Refill (ex: decoy) T Side
// "T_Refill_Time_InSec": 30 //Every 30 Secs Give T_Refill_Nades
// "Give_This_LoadOut_PerRound_Only": "0" // (1) = Give LoadOut Unlimited In Warmup But In Round Start Make It One Time || (2) = Give LoadOut In Warmup One Time And In Round Start One Time || (If 0 Or Not Been Used This Will Return To 0)
// "Delay_InXSecs_Give_LoadOuts": "0.0" //Delay On Give LoadOuts (If 0.0 Or Not Been Used This Will Return To 0.0)
//==========================
},
"LOADOUT_2"://LoadOut 2
{
"CT": "weapon_hkp2000,weapon_knife,weapon_smokegrenade",
"T": "weapon_hkp2000,weapon_knife,weapon_smokegrenade"
}
//You Can Add More LOADOUT_X As You Like
}
}
{
//==========================
// Colors
//==========================
//{Yellow} {Gold} {Silver} {Blue} {DarkBlue} {BlueGrey} {Magenta} {LightRed}
//{LightBlue} {Olive} {Lime} {Red} {Purple} {Grey}
//{Default} {White} {Darkred} {Green} {LightYellow}
//==========================
// Other
//==========================
//{nextline} = Print On Next Line
//==========================
"PrintChatToPlayer.Not.Allowed.ToReload": "{green}Gold KingZ {grey}| {darkred}You Dont Have Access To This Command.",
"PrintChatToPlayer.Plugin.Reloaded": "{green}Gold KingZ {grey}| {lime}LoadOut Plugin Reloaded!",
"PrintChatToPlayer.Got.Loadout": "{green}Gold KingZ {grey}| You Already Got Loadout, You Will Not Be Given This Round."
}
Tip
You Can Find Weapons List In https://developer.valvesoftware.com/wiki/Counter-Strike_2/Weapons
Primary
===============
weapon_ak47
weapon_aug
weapon_awp
weapon_famas
weapon_g3sg1
weapon_galilar
weapon_m249
weapon_m4a1
weapon_m4a1_silencer
weapon_mag7
weapon_mp5sd
weapon_mp7
weapon_mp9
weapon_negev
weapon_nova
weapon_p90
weapon_sawedoff
weapon_scar20
weapon_sg556
weapon_ssg08
weapon_mac10
weapon_ump45
weapon_xm1014
weapon_bizon
weapon_knife
weapon_knife_t
--------------------------
Secondary
===============
weapon_cz75a
weapon_deagle
weapon_elite
weapon_fiveseven
weapon_glock
weapon_hkp2000
weapon_p250
weapon_revolver
weapon_tec9
weapon_usp_silencer
--------------------------
Grenade
===============
weapon_decoy
weapon_flashbang
weapon_hegrenade
weapon_incgrenade
weapon_molotov
weapon_smokegrenade
--------------------------
Equipment
===============
item_kevlar //Kevlar Vest
item_assaultsuit //Kevlar + Helmet
weapon_taser
item_cutters //Rescue Kit
item_defuser //Defuse Kit
--------------------------
Miscellaneous
===============
weapon_c4
weapon_healthshot
weapon_shield
item_heavyassaultsuit
--------------------------
(1.0.6)
-Rework Method On Giving And Removing Weapons
-Fix Some Bugs
-Fix Crashs On Giving Loadouts
-Fix Force_Strip_Players
-Fix Delay Give Loadouts
-Added Remove_BuyMenu
-Added Remove_Knife
-Added Remove_Custom_Point_Server_Command
-Added Remove_Custom_Point_Client_Command
-Added Give_This_LoadOut_PerRound_Only
-Added Delay_InXSecs_Give_LoadOuts
-Added Custom Gamedata In The Plugin it Self
(1.0.5)
-Fix ForceStripPlayers For Windows And Lunix
(1.0.4)
-Fix ForceStripPlayers
(1.0.3)
-Fix ForceStripPlayers
(1.0.2)
-Rework Loadout Method
-Deleted config.json
-Removed GiveOneTimeLoadOutPerRound
-Removed GiveOneTimeRefillNadesPerRound
-Removed Vips_GiveOneTimeLoadOutPerRound
-Removed Vips_GiveOneTimeRefillNadesPerRound
-Removed Vips
-Added ForceStripPlayers
-Added DeleteGroundWeapons
-Added LOADOUT_X Many Loadout as You Like
-Added FLAGS
-Added GiveThisLoadOutPerRoundOnly
(1.0.1)
-Upgrade Net.7 To Net.8
-Fix Some Bugs
-Fixed GiveOneTimePerRound
-Added GiveOneTimeLoadOutPerRound
-Added GiveOneTimeRefillNadesPerRound
-Added Vips_GiveOneTimeLoadOutPerRound
-Added Vips_GiveOneTimeRefillNadesPerRound
-Added Refill_Nades
-Added Refill_Time_InSec
(1.0.0)
-Initial Release
If this project help you reduce time to develop, you can give me a cup of coffee :)