Skip to content

Commit

Permalink
Add configuration details
Browse files Browse the repository at this point in the history
  • Loading branch information
Cruze03 authored May 11, 2024
1 parent f1cbf0e commit 12a65b8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
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)

0 comments on commit 12a65b8

Please sign in to comment.