mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-03-11 00:44:27 +00:00
Update README.md
Before using website, make sure the plugin is correctly loaded in cs2 server!
This commit is contained in:
@@ -10,7 +10,7 @@ Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
- Changes only paint, seed and wear on weapons and knives
|
- Changes only paint, seed and wear on weapons and knives
|
||||||
- MySQL based or global website at [weaponpaints.fun](https://weaponpaints.fun/), so you dont need MySQL/Website
|
- MySQL based or global website, so you dont need MySQL/Website
|
||||||
- Data syncs on player connect
|
- Data syncs on player connect
|
||||||
- Added command **`!wp`** to refresh skins ***(with cooldown in seconds can be configured)***
|
- Added command **`!wp`** to refresh skins ***(with cooldown in seconds can be configured)***
|
||||||
- Added command **`!ws`** to show website
|
- Added command **`!ws`** to show website
|
||||||
@@ -18,6 +18,8 @@ Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin
|
|||||||
- Knife change is now limited to have these cvars empty **`mp_t_default_melee ""`** and **`mp_ct_default_melee ""`**
|
- Knife change is now limited to have these cvars empty **`mp_t_default_melee ""`** and **`mp_ct_default_melee ""`**
|
||||||
- Translations support, submit a PR if you want to share your translation
|
- Translations support, submit a PR if you want to share your translation
|
||||||
|
|
||||||
|
**GlobalShare** - global website accessible at [weaponpaints.fun](https://weaponpaints.fun/)
|
||||||
|
|
||||||
## CS2 Server
|
## CS2 Server
|
||||||
- Have working CounterStrikeSharp (**with RUNTIME!**)
|
- Have working CounterStrikeSharp (**with RUNTIME!**)
|
||||||
- Download from Release and copy plugin to plugins
|
- Download from Release and copy plugin to plugins
|
||||||
@@ -73,6 +75,7 @@ Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin
|
|||||||
## Web install
|
## Web install
|
||||||
Disregard if the config is **`GlobalShare = true`**
|
Disregard if the config is **`GlobalShare = true`**
|
||||||
- Requires PHP >= 7.4 ***(Tested on php ver **`8.2.3`** and nginx webserver)***
|
- Requires PHP >= 7.4 ***(Tested on php ver **`8.2.3`** and nginx webserver)***
|
||||||
|
- **Before using website, make sure the plugin is correctly loaded in cs2 server!** Mysql tables are created by plugin not by website.
|
||||||
- Copy website to web server ***(Folder `img` not needed)***
|
- Copy website to web server ***(Folder `img` not needed)***
|
||||||
- Get [Steam API Key](https://steamcommunity.com/dev/apikey)
|
- Get [Steam API Key](https://steamcommunity.com/dev/apikey)
|
||||||
- Fill in database credentials and api key in `class/config.php`
|
- Fill in database credentials and api key in `class/config.php`
|
||||||
@@ -85,9 +88,10 @@ Disregard if the config is **`GlobalShare = true`**
|
|||||||
|
|
||||||
## Known issues
|
## Known issues
|
||||||
- Issue on Windows servers, no knives are given.
|
- Issue on Windows servers, no knives are given.
|
||||||
- Can cause incompatibility with plugins which changes, removes
|
- Can cause incompatibility with plugins/maps which manipulates weapons and knives
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
<details>
|
||||||
**Skins are not changing:**
|
**Skins are not changing:**
|
||||||
Set FollowCSGOGuidelines to false in cssharp’s core.jcon config
|
Set FollowCSGOGuidelines to false in cssharp’s core.jcon config
|
||||||
|
|
||||||
@@ -96,6 +100,7 @@ Plugin is not loaded or configured with mysql credentials. Tables are auto-creat
|
|||||||
|
|
||||||
**Knives are disappearing:**
|
**Knives are disappearing:**
|
||||||
Set in config GiveKnifeAfterRemove to true
|
Set in config GiveKnifeAfterRemove to true
|
||||||
|
</details>
|
||||||
|
|
||||||
### Use this plugin at your own risk! Using this may lead to GSLT ban or something else Valve come with. [Valve Server guidelines](https://blog.counter-strike.net/index.php/server_guidelines/)
|
### Use this plugin at your own risk! Using this may lead to GSLT ban or something else Valve come with. [Valve Server guidelines](https://blog.counter-strike.net/index.php/server_guidelines/)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user