================================================================================
QUICK INSTALLATION GUIDE
================================================================================

AUTHENTICATION & SKINS SYSTEM - Installation Steps

================================================================================
1. DATABASE SETUP
================================================================================

• Create MySQL database
• Import database_schema.sql
• Update credentials in: PE HOST/config.php
  (DB_HOST, DB_USER, DB_PASS, DB_NAME)

================================================================================
2. CS SERVER FILES
================================================================================

• Copy .amxx files to: cstrike/addons/amxmodx/plugins/
  - cs_user_auth_motd.amxx
  - cs_shop_skins.amxx

• Copy config to: cstrike/addons/amxmodx/configs/
  - vip_skin_shop.cfg (configure your skins)

• Copy models to: cstrike/models/vip/custom/
  - v_*.mdl, p_*.mdl, w_*.mdl files

• Add to plugins.ini:
  cs_user_auth_motd.amxx
  cs_shop_skins.amxx

================================================================================
3. WEB SERVER FILES
================================================================================

• Upload all PHP files to web server (PE HOST/ folder)
• Update config.php with database credentials
• Set file permissions: PHP files (644), directories (755)

================================================================================
4. PLUGIN CONFIGURATION
================================================================================

• Edit cs_user_auth_motd.sma:
  - Update gHost, gPath, gPort (match your web server)

• Edit cs_shop_skins.sma:
  - Update gHost, gPath, gPort (same as auth plugin)

• Configure vip_skin_shop.cfg:
  Format: weapon_key | skin_key | Display Name | v_model | p_model | w_model

================================================================================
5. TESTING
================================================================================

✓ Connect to server → Register account
✓ Purchase skin via /shop
✓ View skins via /skins
✓ Apply skin and verify it works
✓ Test admin panel: admin_add_skin.php

================================================================================
TROUBLESHOOTING
================================================================================

• Skins not showing? → Check vip_skin_shop.cfg format
• HTTP errors? → Verify gHost/gPath in plugin match web server
• Models not loading? → Check file paths and permissions
• Database errors? → Verify config.php credentials

================================================================================
IN-GAME COMMANDS
================================================================================

/shop          - Open skins shop
/skins         - View your skins
/refreshskins  - Refresh from database
/reloadskins   - Reload and open menu

================================================================================

