CS2-玩家皮肤模型选择器(网页版) 游戏性拓展 服务器管理

xiewangzhenyan 一级用户组 1天前 54

需要的前置插件有:

1 MetaModSource 2.0 CS2 https://www.metamodsource.net/downloads.php/?branch=maste

2 反恐精英锐 https://github.com/roflmuffin/CounterStrikeSharp/releases

3 CS2-SimpleAdmin https://github.com/daffyyyy/CS2-SimpleAdmin

4 CS2Rcon https://github.com/LordFetznschaedl/CS2Rcon

6 CS2-PlayerModelChanger https://github.com/astral3693/CS2-PlayerModelChanger

7 MultiAddonManager https://github.com/Source2ZE/MultiAddonManager

8 配置 php painel

 

skinplayersweb 依赖项
1 mariadb mariadb-11.3.2-winx64.msi https://mariadb.org/download/

2 PhP php-7.4.8-Win32-vc15-x64.zip https://php.watch/versions/7.4/releases/7.4.8

 edit or creat C:\php-7.4
复制全部用于 PHP 7.4 https://github.com/astral3693/skinplayersweb/blob/main/php-7.4/php.ini

3 Apache httpd-2.4.59-240404-win64-VS17.zip https://www.apachelounge.com/download/

 edit or creat C:\Apache24\conf\httpd.conf
复制全部 PHP 7.4 https://github.com/astral3693/skinplayersweb/blob/main/Apache24/conf/httpd.conf

C:\Apache24\bin\httpd.exe -k 安装

httpd.exe -k start
httpd.exe -k stop
ApacheMonitor.exe
WEB FILES http://localhost C:\Apache24\htdocs
PhpmyAdmin phpMyAdmin-5.2.1-all-languages.zip https://www.phpmyadmin.net/

WEB FILES http://localhost/PhpmyAdmin C:\Apache24\htdocs\PhpmyAdmin\
edit or creat C:\Apache24\htdocs\phpMyAdmin\config.inc.php
creat  http://localhost/PhpmyAdmin/setup donwload config.inc.php
Add C:\Apache24\htdocs\phpMyAdmin\config.inc.php
皮肤播放器网页版

SkinsPlayerWeb 编辑文件 v2.4
1 编辑config.php数据库

         $servername = "localhost";
         $username = "ogpuser";
         $password = "0073007";
         $dbname = "playermodelchanger";
1-1 编辑CS2-SimpleAdmin.json游戏\csgo\addons\counterstrikesharp\configs\plugins\CS2-SimpleAdmin\CS2-SimpleAdmin.json

        {
          "ConfigVersion": 14,
          "DatabaseHost": "localhost",
          "DatabasePort": 3306,
          "DatabaseUser": "ogpuser",
          "DatabasePassword": "0073007",
          "DatabaseName": "playermodelchanger",
1-2 编辑PlayerModelChanger.json游戏\csgo\addons\Counterstrikesharp\ configs\plugins\PlayerModelChanger\PlayerModelChanger.json

          "StorageType": "mysql", // sqlite or mysql
          "MySQL_IP": "localhost",
          "MySQL_Port": "3306",
          "MySQL_User": "ogpuser",
          "MySQL_Password": "0073007",
          "MySQL_Database": "playermodelchanger",
          "MySQL_Table": "playermodelchanger",
2 编辑Skin_Players.xml(已经附带示例,现在无需配置)

         <item>
         <title>leao</title>// NAME
         <side>CT</side> // CT OR T OR ALL
         </item>
3 编辑Server.xml(已经附带示例了,现在不需要配置)

         <item>
         <title>[CS2]ASTRAL SERVER SKINS | KNIFE | WS | VIPNIGHT | RANKED</title>
         <playes>1/30</playes>
         <ip>26.67.120.79</ip>
         <port>27015</port>
         <map>de_dust2</map>
         </item>
4 编辑skins.js自定义 img javascript(已经附带示例,现在无需配置)

          if (value == "leao"){
                 image.src = "/img/657ca211c7f7d.jpg";
             }else if (value == "rei") {
                 image.src = "/img/657ca4c525a9a.jpg";
             }else if (value == "gata") {
                 image.src = "/img/6557a5921a38c.jpg";
             }
目录 /img/xxx.jpg 或 png 或 gif

5 编辑插件服务器 https://github.com/astral3693/skinplayersweb/tree/main/Plugin

 

ps:具体内容请看此处


CSGO插件分享-申明 1、本网站名称:CSGO插件分享-中文站  网址:https://bbs.csgocn.net
2、本站的宗旨在于为CSGO玩家提供一个插件分享的中文资源平台,多数插件来源于SourceMod论坛,并配以中文介绍和安装教程。
3、欢迎有能力的朋友共享有趣的CSGO插件资源。
4、本站资源大多为百度网盘,如发现链接失效,可以点: 这里进行反馈,我们会第一时间更新。
最新回复 (3)
返回