Raised This Month: $ Target: $400
 0% 

csgo2 tiny server plugin system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
huoji
New Member
Join Date: Oct 2020
Old 10-09-2023 , 01:57   csgo2 tiny server plugin system
Reply With Quote #1

about this project
name: "cs2 server plugin system"
author: "huoji"
description: "a server plugin system for cs2 server,power by lua"
github: https://github.com/huoji120/csgo2_ti..._plugin_system

feature list
1. lua plugin system
2. metamod compatible
3. vscript patch, support vscript plugin and vscript compatible
4. http/https request method

credit
https://github.com/alliedmodders/hl2sdk/
https://github.com/Source2ZE/CS2Fixes/
https://github.com/bruhmoment21/cs2-sdk/
https://github.com/neverlosecc/source2sdk

Usage
use vs2019 compile csgo2.dll and loader.exe
create a config.json in loader.exe directory:
Quote:
{
"servers": [
{
"dll": "your path in csgo2.dll in vs2019 complie",
"path": "path for cs2.exe",
"command": "cs2.exe server run command"
}
]
}
example:
Quote:
{
"servers": [
{
"dll": "C:\\Users\\Administrator\\Desktop\\loader\\c sgo2.dll",
"path": "C:\\Program Files (x86)\\steam\\steamapps\\common\\Counter-Strike Global Offensive\\game\\bin\\win64\\cs2.exe",
"command": "-ip 0.0.0.0 -dedicated -game csgo -console -usercon +game_type 0 +game_mode 0 +mp_maxrounds 30 -maxplayers_override 64 +exec server.cfg +exec gamemode_retakecasual.cfg +map de_dust2 +mp_endmatch_votenextleveltime 20 +mp_endmatch_votenextmap 1 +hostname xxxxxx"
}
]
}
run loader.exe as administrator, cs2 server will start
create huoji_scripts in cs2.exe dirctory
create plugin dirctory name ,like funny_trash is my plugin name
put your own plugin script in you plugin dircory name
Test Plugin
api,plugin example: https://github.com/huoji120/cs2_funny_trash_plugin

This is only experimental, with the aim of filling in the gap before the release of source2mod. Please do not treat it as a long-term plugin, and I will not provide support

Last edited by huoji; 10-19-2023 at 16:29.
huoji is offline
247140593
Junior Member
Join Date: Jun 2009
Location: China
Old 10-09-2023 , 22:33   Re: csgo2 tiny server plugin system
Reply With Quote #2

good job. are you Chinese ?
247140593 is offline
AngeloCRay
New Member
Join Date: Apr 2021
Old 10-19-2023 , 05:29   Re: csgo2 tiny server plugin system
Reply With Quote #3

Thanks for sharing, I appreciate you.
AngeloCRay is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:24.


Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Theme made by Freecode