[b]Shop Menu by stonedegg (h!gh voltage) updated 20.02.2013[/b]
This addons lets players earning credits by for example killing an enemy. If he got enough credits, he can buy weapons and/or a lot of features. [b]Everything can be easily configurated![/b]
[b]List of Features that can be bought:[/b]
1. Buy every weapon / equipment
2. Spawn with AK47
3. Spawn with M4A1
4. Spawn with AWP
5. Low Gravity
6. Speed
7. 16000 $ Startmoney
8. Buy HP
9. Spawn with +10 HP
10. Spawn with +20 HP
11. Spawn with +30 HP
12. Spawn with +40 HP
13. Spawn with +50 HP
14. Half Invisibility
15. Full Invisibility
16. Get HP Bonus for every kill
17. Get HP Bonus for every kill and headshot
18. Respawn after death
19. Unlimited Ammo
20. Unlimited Nades
21. Random Tracers
22. Red Tracers
23. Green Tracers
24. Blue Tracers
25. No Falldamage
26. Hitmarker
27. Skins
28. Trails
Note: Every feature can be enabled or disabled! (They are all enabled by default)
[b]Additional Features:[/b]
1. Admin Menu ( Admins can send 1000 Credits to themselves or other players )
2. Every player can send 5 - 1000 Credits to another player
3. Every feature can be sold
Note: Those Features can be enabled or disabled, too! (They are also all enabled by default)
[b]Chat Commands:[/b]
[b]!shop[/b] - Open the shop menu
[b]!credits[/b] - View players credits
[b]Update:[/b]
v1.2: Added extra config file
v2.0: Added two new features, improved database, fixed minor stuffs
Skins: Superman, Spiderman, Ironman, Bunny (Max), Banana Joe
Trails: Random, red, green, blue colored
If you want to update to the newer version, you should follow these instructions:
1. Unload the addon (es_unload shop)
2. Remove the addon from your server
3. Restart you server
4. Upload the new version
5. Change map, restart server or es_load shop in console, then rejoin your server.
[b]eventscripts/shop/shop.cfg:[/b]
Edit the config to your wishes, after you loaded the addon.
[code]
// *****************************************
// Shop Menu v1.2 Public
// Configuration File
// *****************************************
// *****************************************
// Enable/Disable Features
// *****************************************
// All Features are enabled by default
// *****************************************
// 1 = Enabled / 0 = Disabled
// This enables / disables the weapon buy menu
weapon_buy_menu_enabled "1"
// This enables / disables the weapon spawn feature
spawn_menu_enabled "1"
// This enables / disables the fun features
fun_features_menu_enabled "1"
// This enables / disables the health buy menu
health_menu_enabled "1"
// This enables / disables the kill bonus feature
kill_bonus_menu_enabled "1"
// This enables / disables the respawn feature
respawn_menu_enabled "1"
// This enables / disables the unlimited ammo feature
unlimited_ammo_menu_enabled "1"
// This enables / disables the invisibility feature
invis_menu_enabled "1"
// This enables / disables the tracers feature
tracers_menu_enabled "1"
// This enables / disables the no falldamage feature
no_falldamage_menu_enabled "1"
// This enables / disables the hitmarker feature
hitmarker_menu_enabled "1"
// This enables / disables the send credits feature
send_credits_menu_enabled "1"
// This enables / disables the sell features menu
sell_menu_enabled "1"
// This enables / disables the admin menu
admin_menu_enabled "1"
// *****************************************
// Credit Earnings
// *****************************************
// The amount of credits a player earns for a kill
kill_amount "2"
// The amount of credits a player earns for a headshot
headshot_amount "3"
// The amount of credits a player looses for a teamkill
tk_amount "2"
// The amount of credits a player earns for planting the bomb
bomb_planted_amount "3"
// The amount of credits a player earns for bomb explode
bomb_exploded_amount "5"
// The amount of credits a player earns for defusing the bomb
bomb_defused_amount "5"
// The amount of credits a player earns for rescueing a hostage (counts for every hostage)
hostage_rescued_amount "2"
// The amount of credits a player looses for killing a hostage
hostage_killed_amount "2"
// *****************************************
// Weapon Prices
// *****************************************
// *****************************************
// Pistols
// *****************************************
// The amount of credits a player must pay for a glock
buy_glock "2"
// The amount of credits a player must pay for a usp
buy_usp "3"
// The amount of credits a player must pay for a p228
buy_p228 "3"
// The amount of credits a player must pay for a deagle
buy_deagle "5"
// The amount of credits a player must pay for a fiveseven
buy_fiveseven "5"
// The amount of credits a player must pay for elite
buy_elite "5"
// *****************************************
// Shotguns
// *****************************************
// The amount of credits a player must pay for a m3
buy_m3 "6"
// The amount of credits a player must pay for a autoshotgun
buy_autoshotgun "6"
// *****************************************
// SMGs
// *****************************************
// The amount of credits a player must pay for a tmp
buy_tmp "5"
// The amount of credits a player must pay for a mp5
buy_mp5 "6"
// The amount of credits a player must pay for a ump45
buy_ump45 "6"
// The amount of credits a player must pay for a p90
buy_p90 "7"
// *****************************************
// Rifles
// *****************************************
// The amount of credits a player must pay for a famas
buy_famas "8"
// The amount of credits a player must pay for a galil
buy_galil "8"
// The amount of credits a player must pay for a scout
buy_scout "8"
// The amount of credits a player must pay for a bullpup
buy_bullpup "10"
// The amount of credits a player must pay for a krieg
buy_krieg "9"
// The amount of credits a player must pay for a AK47
buy_ak "8"
// The amount of credits a player must pay for a M4A1
buy_m4 "9"
// The amount of credits a player must pay for a AWP
buy_awp "11"
// The amount of credits a player must pay for a Auto Sniper (CT)
buy_autosniperct "10"
// The amount of credits a player must pay for a Auto Sniper (T)
buy_autosnipert "10"
// *****************************************
// Machine Gun
// *****************************************
// The amount of credits a player must pay for a M249
buy_m249 "12"
// *****************************************
// Equipment
// *****************************************
// The amount of credits a player must pay for primary ammo
buy_primammo "2"
// The amount of credits a player must pay for secondary ammo
buy_secammo "2"
// The amount of credits a player must pay for kevlar
buy_vest "4"
// The amount of credits a player must pay for kevlar + helmet
buy_vesthelm "6"
// The amount of credits a player must pay for a flashbang
buy_flashbang "3"
// The amount of credits a player must pay for a HE grenade
buy_hegrenade "3"
// The amount of credits a player must pay for a smoke grenade
buy_smoke "3"
// The amount of credits a player must pay for a defuser
buy_defuser "3"
// *****************************************
// Features Prices
// *****************************************
// *****************************************
// Weapon Spawn Prices
// *****************************************
// The amount of credits a player must pay for the AK47 spawn feature
buy_akspawn "40"
// The amount of credits a player must pay for the M4A1 spawn feature
buy_m4spawn "40"
// The amount of credits a player must pay for the AWP spawn feature
buy_awpspawn "50"
// *****************************************
// Extra Health Prices
// *****************************************
// The amount of credits a player must pay for 10 extra HP
buy_health10 "10"
// The amount of credits a player must pay for 20 extra HP
buy_health20 "20"
// The amount of credits a player must pay for 30 extra HP
buy_health30 "30"
// The amount of credits a player must pay for 40 extra HP
buy_health40 "40"
// The amount of credits a player must pay for 50 extra HP
buy_health50 "50"
// *****************************************
// Extra Spawn Health Prices
// *****************************************
// The amount of credits a player must pay for 10 extra HP on every spawn
buy_roundstarthealth10 "50"
// The amount of credits a player must pay for 20 extra HP on every spawn
buy_roundstarthealth20 "100"
// The amount of credits a player must pay for 30 extra HP on every spawn
buy_roundstarthealth30 "150"
// The amount of credits a player must pay for 40 extra HP on every spawn
buy_roundstarthealth40 "200"
// The amount of credits a player must pay for 50 extra HP on every spawn
buy_roundstarthealth50 "250"
// *****************************************
// Kill Bonus Prices
// *****************************************
// The amount of credits a player must pay for kill HP bonus feature
buy_killbonus "30"
// The amount of HP a player get for killing an enemy if the kill bonus feature is activated
killhealthbonus "10"
// The amount of credits a player must pay for headshot HP bonus. This feature includes the killbonus feature.
buy_headshotbonus "40"
// The amount of HP a player gets for killing an enemy with headshot.
headshothealthbonus "20"
// *****************************************
// Fun Features Prices
// *****************************************
// The amount of credits a player must pay for the low gravity feature
buy_lowgrav "100"
// The amount of credits a player must pay for the speed feature
buy_speed "150"
// The amount of credits a player must pay for the 16000$ Startmoney feature
buy_startmoney "50"
// The amount of credits a player must pay for the half invisibility feature
buy_halfinvis "50"
// The amount of credits a player must pay for the full invisibility feature
buy_fullinvis "150"
// The amount of credits a player must pay for the random coloured tracers feature
buy_randomtracer "50"
// The amount of credits a player must pay for the red coloured tracers feature
buy_redtracer "40"
// The amount of credits a player must pay for the green coloured tracers feature
buy_greentracer "40"
// The amount of credits a player must pay for the blue coloured tracers feature
buy_bluetracer "40"
// *****************************************
// Respawn Price
// *****************************************
// The amount of credits a player must pay for the respawn feature. The player will be able to choose to respawn after death.
buy_respawn "100"
// *****************************************
// Unlimited Ammo Prices
// *****************************************
// The amount of credits a player must pay for the unlimited ammo feature
buy_unlimitedammo "50"
// The amount of credits a player must pay for the unlimited nads feature
buy_unlimitednades "40"
// *****************************************
// No Falldamage Price
// *****************************************
// The amount of credits a player must pay for the no falldamage feature
buy_nofalldamage "20"
// *****************************************
// Hitmarker Price
// *****************************************
// The amount of credits a player must pay for the hitmarker feature. The player will see a hitmarker in the middle of the screen when he hurts/blinds an enemy.
buy_hitmarker "30"
// *****************************************
// Configuration finished
// *****************************************
[/code]
Installation
Extract all folders into cstrike folder.
Go to forum page of this addon on download the attached file for your fast download server.
Extract all folders from [i]fast-download files [/i] into the cstrike folder from your fastdownload server, if you have one. (You really should have)
Add [b]es_load shop[/b] to your [b]server.cfg[/b] or [b]autoexec.cfg[/b]
Change map, restart server or es_load shop in console, then rejoin your server.
[b]Edit Admins:[/b]
Open shop.py and edit following line in the beginning of the script:
[i]admins = ['STEAM_X:X:XXXXXX', 'STEAM_X:X:XXXXXX', 'STEAM_X:X:XXXXXX'][/i]
Version Notes For 2.1
Updated on: 2013-02-20 12:23:40 EST by stonedegg (View Zip Contents)
2.1: Fixed some bugs.