-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# cs2_WorkshopDefaultMap | ||
A CSSharp plugin to set default map after server restart till valve fixes it. | ||
|
||
Configuration: | ||
1) 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`. | ||
2) Open the above json file in your favourite text editor and add your workshop mapname or workshop mapid in `Map`. | ||
3) 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) |