From 43e7a3183e435d1b91fcb2424c4d5c9491c1f399 Mon Sep 17 00:00:00 2001 From: Nereziel Date: Mon, 29 Jan 2024 19:36:30 +0100 Subject: [PATCH 1/2] Update README.md Before using website, make sure the plugin is correctly loaded in cs2 server! --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 320399c4..3488b988 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin ## Features - 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 - Added command **`!wp`** to refresh skins ***(with cooldown in seconds can be configured)*** - 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 ""`** - Translations support, submit a PR if you want to share your translation +**GlobalShare** - global website accessible at [weaponpaints.fun](https://weaponpaints.fun/) + ## CS2 Server - Have working CounterStrikeSharp (**with RUNTIME!**) - 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 Disregard if the config is **`GlobalShare = true`** - 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)*** - Get [Steam API Key](https://steamcommunity.com/dev/apikey) - Fill in database credentials and api key in `class/config.php` @@ -85,9 +88,10 @@ Disregard if the config is **`GlobalShare = true`** ## Known issues - 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 +
**Skins are not changing:** 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:** Set in config GiveKnifeAfterRemove to true +
### 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/) From 83084452df2821a1ed69986b392d1593c9b94763 Mon Sep 17 00:00:00 2001 From: Nereziel Date: Sat, 3 Feb 2024 16:51:13 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3488b988..3cf0e096 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,8 @@ Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin ## CS2 Server - Have working CounterStrikeSharp (**with RUNTIME!**) - Download from Release and copy plugin to plugins -- Setup `addons/counterstrikesharp/configs/`**`plugins/WeaponPaints/WeaponPaints.json`** set **`GlobalShare`** to **`true`** for global, or include database credentials +- Run server with plugin, **it will generate config if installed correctly!** +- Edit `addons/counterstrikesharp/configs/`**`plugins/WeaponPaints/WeaponPaints.json`** set **`GlobalShare`** to **`true`** for global, or include database credentials - In `addons/counterstrikesharp/configs/`**`core.json`** set **FollowCS2ServerGuidelines** to **`false`** ## Plugin Configuration