From ac671cd92ebcba82a706690439855ac58b05bb4a Mon Sep 17 00:00:00 2001 From: Nereziel Date: Tue, 14 Nov 2023 13:42:44 +0100 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4c785f78..fd47e59c 100644 --- a/README.md +++ b/README.md @@ -1,26 +1,29 @@ # cs2-WeaponPaints -# 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/) +[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/E1E2G0P2O) or [Donate on Steam](https://steamcommunity.com/tradeoffer/new/?partner=41515647&token=gW2W-nXE) + +### 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/) ### Description Unfinished, unoptimized and not fully functional ugly demo weapon paints plugin for [CSSharp](https://docs.cssharp.dev/). ### Features - changes only paint, seed, wear on weapons -- mysql base -- data sync on player connect or player can type !wp to refresh skins (cooldown in second can be configured) -- Added command !ws to show website +- mysql based +- data sync on player connect or playe +- Added command `!wp` to refresh skins (with cooldown in second can be configured) +- Added command `!ws` to show website ### CS2 server: -- Compile and copy plugin to plugins. Info here [https://docs.cssharp.dev/guides/hello-world-plugin/](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 +- compile and copy plugin to plugins. Info here [https://docs.cssharp.dev/guides/hello-world-plugin/](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: - copy website to web server -- import database.sql to mysql +- import `database.sql` to mysql - get steam api key [https://steamcommunity.com/dev/apikey](https://steamcommunity.com/dev/apikey) -- setup class/config.php +- fill in database credentials and api key in `class/config.php` - visit website and login via steam ### Preview