Advertisement
Guest User

dedicated_server_mods_setup

a guest
Nov 11th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. --There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.
  2.  
  3. --ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
  4. --The Workshop id can be found at the end of the url to the mod's Workshop page.
  5. --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
  6. --ServerModSetup("350811795")
  7.  
  8. --ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
  9. --The Workshop id can be found at the end of the url to the collection's Workshop page.
  10. --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
  11. --ServerModCollectionSetup("379114180")
  12. --Epic Healthbar
  13. ServerModSetup("1185229307")
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement