Skip to content

Install

shanapu edited this page Jan 29, 2020 · 5 revisions

Installation guide

Installing MyStore should be as easy as installing any other sourcemod plugin with MySQL support. MyStore is preconfigured and shipped with latest version of Drixevels Chat-Processor, item models, materials & sounds. It can be added with almost no configuration changes for testing.

Prerequisites

Basic knowledge in Sourcemod and in handling a cs:go server, using a web browser, unpacking archives, uploading files and using a MySQL database are basic requirements.

  • cs:go server with sourcemod 1.9+
  • mysql database server (no SQLite)
  • FastDL webserver for resources

Optional requirements

Uploading/Installing

  1. Download the latest release and unzip somewhere
  2. Open gameserver folder and upload the folders addons/, materials/, models/, particles/ & sound/ to your gameservers root csgo/ directory
  3. Open fastDL folder and upload the folders materials/, models/, particles/ & sound/ in the fastDL/ directory* to your FastDownload server
  4. Open on your server the file ./addons/sourcemod/configs/database.cfg in an editor and add following part:
	"mystore"
	{
		"driver"			"mysql"
		"host"				"<IP to your MySQL server>"
		"database"			"<Your Database Name>"
		"user"				"<Your Database User>"
		"pass"				"<Your Database Password>"
	}
  1. Fill your MySQL server credentials into the and save the file
  2. Re/Start your server
  3. Have fun! Give feedback!

Check installation

Some steps you can check your installation for errors.

  • In your server console (not client console), type: sm plugins list
    • The output should look something like this:
[SM] Listing 86 plugins:
  01 "Admin File Reader" (1.x.x.xxxx) by AlliedModders LLC
  02 "Admin Help" (1.x.x.xxxx) by AlliedModders LLC
  03 "Admin Menu" (1.x.x.xxxx) by AlliedModders LLC
  04 "Anti-Flood" (1.x.x.xxxx) by AlliedModders LLC
  05 "Basic Ban Commands" (1.x.x.xxxx) by AlliedModders LLC
  06 "Basic Chat" (1.x.x.xxxx) by AlliedModders LLC
  07 "Basic Comm Control" (1.x.x.xxxx) by AlliedModders LLC
  08 "Basic Commands" (1.x.x.xxxx) by AlliedModders LLC
  09 "Basic Info Triggers" (1.x.x.xxxx) by AlliedModders LLC
  10 "Basic Votes" (1.x.x.xxxx) by AlliedModders LLC
  11 "Chat-Processor" (2.2.0) by Keith Warren (Drixevel)
  12 "Client Preferences" (1.x.x.xxxx) by AlliedModders LLC
  13 "Fun Commands" (1.x.x.xxxx) by AlliedModders LLC
  14 "Fun Votes" (1.x.x.xxxx) by AlliedModders LLC
  15 "MyStore - MyResurrection" (x.x.xx) by shanapu, Zephyrus
  16 "MyStore - Coinflip gamble module" (x.x.xx) by shanapu
  17 "MyStore - Crowns gamble module" (x.x.xx) by shanapu
  18 "MyStore - Dice gamble module" (x.x.xx) by shanapu
  19 "MyStore - Jackpot gamble module" (x.x.xx) by shanapu
  20 "MyStore - Roulette gamble module" (x.x.xx) by shanapu
  21 "MyStore - Teambet gamble module" (x.x.xx) by shanapu
  22 "MyStore - Admin item module" (x.x.xx) by shanapu
  23 "MyStore - Attachment item module" (x.x.xx) by shanapu
  24 "MyStore - Attribute item module" (x.x.xx) by shanapu
  25 "MyStore - Bulletsparks item module" (x.x.xx) by shanapu
  26 "MyStore - Bullet impact item module" (x.x.xx) by shanapu
  27 "MyStore - Bullet tracer item module" (x.x.xx) by shanapu
  28 "MyStore - Command item module" (x.x.xx) by shanapu
  29 "MyStore - Connect item module" (x.x.xx) by shanapu
  30 "MyStore - Chat Processor item module" (x.x.xx) by shanapu
  31 "MyStore - Deathsound item module" (x.x.xx) by shanapu
  32 "MyStore - Damage Text item module" (x.x.xx) by shanapu
  33 "MyStore - Emote item module" (x.x.xx) by shanapu
  34 "MyStore - Firstperson death item module" (x.x.xx) by shanapu
  35 "MyStore - Flashlight item module" (x.x.xx) by shanapu
  36 "MyStore - Godmode item module" (x.x.xx) by shanapu
  37 "MyStore - Gravity item module" (x.x.xx) by shanapu
  38 "MyStore - Grenade model item module" (x.x.xx) by shanapu
  39 "MyStore - Grenade trail item module" (x.x.xx) by shanapu
  40 "MyStore - Health item module" (x.x.xx) by shanapu
  41 "MyStore - Hitsound item module" (x.x.xx) by shanapu
  42 "MyStore - Infinity Ammo item module" (x.x.xx) by shanapu
  43 "MyStore - Info panel item module" (x.x.xx) by shanapu
  44 "MyStore - Instand plant/defuse bomb item module" (x.x.xx) by shanapu
  45 "MyStore - Jetpack item module" (x.x.xx) by shanapu
  46 "MyStore - Jihad item module" (x.x.xx) by shanapu
  47 "MyStore - Jumpstyles item module" (x.x.xx) by shanapu
  48 "MyStore - Laser pointer item module" (x.x.xx) by shanapu
  49 "MyStore - Laser sight item module" (x.x.xx) by shanapu
  50 "MyStore - Light item module" (x.x.xx) by shanapu
  51 "MyStore - Link item module" (x.x.xx) by shanapu
  52 "MyStore - MVP sound item module" (x.x.xx) by shanapu
  53 "MyStore - No fall damage item module" (x.x.xx) by shanapu
  54 "MyStore - No reload item module" (x.x.xx) by shanapu
  55 "MyStore - No self damage item module" (x.x.xx) by shanapu
  56 "MyStore - Painter item module" (x.x.xx) by shanapu
  57 "MyStore - Parachute item module" (x.x.xx) by shanapu
  58 "MyStore - Particle item module" (x.x.xx) by shanapu
  59 "MyStore - Perspective item module" (x.x.xx) by shanapu
  60 "MyStore - Pet item module" (x.x.xx) by shanapu
  61 "MyStore - Player model item module" (x.x.xx) by shanapu
  62 "MyStore - Radar item module" (x.x.xx) by shanapu
  63 "MyStore - Respawn item module" (x.x.xx) by shanapu
  64 "MyStore - Sound item module" (x.x.xx) by shanapu
  65 "MyStore - Spawn extra item" (x.x.xx) by shanapu
  66 "MyStore - Speed item module" (x.x.xx) by shanapu
  67 "MyStore - Spray item module" (x.x.xx) by shanapu
  68 "MyStore - Throw knife item module" (x.x.xx) by shanapu
  69 "MyStore - Trail item module" (x.x.xx) by shanapu
  70 "MyStore - Weapon item module" (x.x.xx) by shanapu
  71 "MyStore - Weapon model item module" (x.x.xx) by shanapu
  72 "MyStore - Default-item module" (x.x.xx) by shanapu
  73 "MyStore - Discount module" (x.x.xx) by shanapu
  74 "MyStore - Dosh money module" (x.x.xx) by shanapu
  75 "MyStore - Drop-item module" (x.x.xx) by shanapu
  76 "MyStore - Earnings module" (x.x.xx) by shanapu
  77 "MyStore - Gift module" (x.x.xx) by shanapu
  78 "MyStore - HUD module" (x.x.xx) by shanapu
  79 "MyStore - Lootbox module" (x.x.xx) by shanapu
  80 "MyStore - Sell module" (x.x.xx) by shanapu
  81 "MyStore - Toplists module" (x.x.xx) by shanapu
  82 "MyStore - Voucher module" (x.x.xx) by shanapu
  83 "Nextmap" (1.x.x.xxxx) by AlliedModders LLC
  84 "Player Commands" (1.x.x.xxxx) by AlliedModders LLC
  85 "Reserved Slots" (1.x.x.xxxx) by AlliedModders LLC
  86 "Sound Commands" (1.x.x.xxxx) by AlliedModders LLC

Troubleshooting

If the install failed, and some or all MyStore plugins shows <Error> check these steps:

  • Read the error message below the sm plugins list output
  • Check sourcemod error log file at .csgo/addons/sourcemod/logs/errors_XXXXXXX.log
  • Do what the error message tells you, if you don't know what to do:
    1. Search for the error in the FAQ
    2. Google the error with extra tag "sourcemod"
    3. Take a look to the bugtracker if your issue is already reported: If not: Report an Bug

Updating/Upgrading

  1. Backup all your existing config files at ./addons/sourcemod/configs/mystore
    • Backup your database tables - safty first!
  2. Download the latest release and unzip somewhere
  3. Open gameserver/addons/sourcemod folder, upload and overwrite the folder plugins/, scripting & translation/ to your root csgo/addons/sourcemod directory. Overwrite files if asked.
  4. Open gameserver folder and upload the folders materials/, models/, particles/ & sound/ to your root csgo/ directory. DON'T overwrite files if asked. Just add the new ones.
  5. Open fastDL folder and upload the folders materials/, models/, particles/ & sound/ in the fastDL/ directory* to your FastDownload server. DON'T overwrite files if asked. Just add the new ones.
  6. Re/Start your server

New ConVars are automatically added to the end of existing config files in ./cfg/sourcemod/MyStore

Should there ever be any fundamental changes in the database structure or config files, these will be mentioned in the relase notes and added here.

Clone this wiki locally