/cs2-WeaponPaints

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

cs2-WeaponPaints

ko-fi or Donate on Steam

Use this plugin at your own risk! Using this may lead to GSLT ban or something else Valve come with. Valve Server guidelines

Description

Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin for CSSharp.

Features

  • changes only paint, seed and wear on weapons and knives
  • mysql based
  • data sync on player connect
  • Added command !wp to refresh skins (with cooldown in second can be configured)
  • Added command !ws to show website
  • Added command !knife to show menu with knives
  • Knife change is now limited to have these cvars empty mp_t_default_melee "" and mp_ct_default_melee ""

CS2 server:

  • compile and copy plugin to plugins. Info here https://docs.cssharp.dev/guides/hello-world-plugin/
  • setup addons/counterstrikesharp/configs/plugins/WeaponPaints/WeaponPaints.json with database credentials
  • in addons/counterstrikesharp/configs/core.json set FollowCS2ServerGuidelines to false

Web install:

  • requires PHP (tested on php ver 8.2.3 and nginx webserver)
  • copy website to web server
  • import database.sql to mysql
  • get steam api key https://steamcommunity.com/dev/apikey
  • fill in database credentials and api key in class/config.php
  • visit website and login via steam

Preview

preview