PLUGIN - cs2_WorkshopDefaultMap

Spatiul dedicat dezvoltatorilor. Aici gasesti resurse pentru CounterStrikeSharp, ajutor pentru cod si scripting avansat.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 4444
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

PLUGIN - cs2_WorkshopDefaultMap

Post by greenie »

cs2_WorkshopDefaultMap
A CSSharp plugin to set default map after server restart till valve fixes it.

Configuration:

Place the latest release in your plugins folder and (re)start the server. This is to generate config file in addons/counterstrikesharp/configs/WorkshopDefaultMap/WorkshopDefaultMap.json.
Open the above json file in your favourite text editor and add your workshop mapname or workshop mapid in Map or even some default valve map.
Restart the server.
Caution

β€’ If you added workshop mapname in the config file, make sure the map is in some workshop collection and you must have host_workshop_collection in your server startup line.

Caution

β€’ If you added workshop mapid in the config file, it isn't compulsory to add host_workshop_collection in your server startup line but server might change the map to that specific map twice in this case (This will be the case only till CSSharp exposes Server.WorkshopID variable)

https://github.com/Cruze03/cs2_Workshop ... s/main.zip
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œScripting CS2”