• workshop.lua doesn't force people to download workshop addons
    0 replies, posted
Workshop.lua isn't working and we can not figure out why. it is located/home/gmodserver/serverfiles/garrysmod/lua/autorun/server I will also post the gmodserver.cfg as well as the workshop.lua. ################################## ######## Instance Settings ######## ################################## # PLACE INSTANCE SETTINGS HERE ## These settings will apply to a specific instance ## Server Start Settings | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters ip="0.0.0.0" port="27015" clientport="27005" sourcetvport="27020" defaultmap="ttt_community_bowling_v5a" maxplayers="32" tickrate="66" gamemode="terrortown" ## Workshop Parameters | https://wiki.garrysmod.com/page/Workshop_for_Dedicated_Servers # To get an API key visit - https://steamcommunity.com/dev/apikey wsapikey="057A032F649425B060DFF5208F25C0E4" wscollectionid="1568047440" ## Custom Start Parameters # Default -disableluarefresh, disables lua autorefresh reducing server lag. Auto refresh only useful for developers. customparms="-disableluarefresh" ## Optional: Game Server Login Token # GSLT can be used for running a public server. # More info: https://linuxgsm.com/gslt gslt="43C49B80891A83B5779D8233D846D074" ## Server Start Command | https://github.com/GameServerManagers/LinuxGSM/wiki/Start-Parameters#additional-parameters fn_parms(){ parms="-game garrysmod -strictportbind -ip ${ip} -port ${port} -tickrate ${tickrate} +host_workshop_collection 1568047440 -authkey 057A032F649425B060DFF5208F25C0E4 +clientport ${clientport} +tv_port ${sourcetvport} +gamemode ${gamemode} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers} ${customparms}" } #### LinuxGSM Settings #### ## Notification Alerts # (on|off) # More info | https://github.com/GameServerManagers/LinuxGSM/wiki/Alerts#more-info postalert="off" postdays="7" posttarget="https://hastebin.com" # Discord Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Discord discordalert="off" discordwebhook="webhook" # Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Email emailalert="off" email="email@example.com" emailfrom="" # IFTTT Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/IFTTT iftttalert="off" ifttttoken="accesstoken" iftttevent="linuxgsm_alert" # Mailgun Email Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/mailgun mailgunalert="off" mailguntoken="accesstoken" mailgundomain="example.com" mailgunemailfrom="alert@example.com" mailgunemail="email@myemail.com" # Pushbullet Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushbullet pushbulletalert="off" pushbullettoken="accesstoken" channeltag="" # Pushover Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Pushover pushoveralert="off" pushovertoken="accesstoken" # Telegram Alerts | https://github.com/GameServerManagers/LinuxGSM/wiki/Telegram # You can add a custom cURL string eg proxy (useful in Russia) or else in "curlcustomstring". # like a "--socks5 ipaddr:port" for socks5 proxy see more in "curl --help", if you not need # any custom string in curl - simple ignore this parameter. telegramalert="off" telegramtoken="accesstoken" telegramchatid="" curlcustomstring="" ## Updating | https://github.com/GameServerManagers/LinuxGSM/wiki/Update updateonstart="off" ## Backup | https://github.com/GameServerManagers/LinuxGSM/wiki/Backup maxbackups="4" maxbackupdays="30" stoponbackup="on" ## Logging | https://github.com/GameServerManagers/LinuxGSM/wiki/Logging consolelogging="on" logdays="7" #### LinuxGSM Advanced Settings #### # ANSI Colors ansi="on" ## SteamCMD Settings # Server appid appid="4020" # Steam App Branch Select # Allows to opt into the various Steam app branches. Default branch is "". # Example: "-beta latest_experimental" branch="" ## LinuxGSM Server Details # Do not edit gamename="Garry's Mod" engine="source" #### Directories #### # Edit with care ## Server Specific Directories systemdir="${serverfiles}/garrysmod" addonsdir="${systemdir}/addons" executabledir="${serverfiles}" executable="./srcds_run" servercfg="${servicename}.cfg" servercfgdefault="server.cfg" servercfgdir="${systemdir}/cfg" servercfgfullpath="${servercfgdir}/${servercfg}" ## Backup Directory backupdir="${rootdir}/backups" ## Logging Directories logdir="${rootdir}/log" gamelogdir="${systemdir}/logs" lgsmlogdir="${logdir}/script" consolelogdir="${logdir}/console" lgsmlog="${lgsmlogdir}/${servicename}-script.log" consolelog="${consolelogdir}/${servicename}-console.log" alertlog="${lgsmlogdir}/${servicename}-alert.log" postdetailslog="${lgsmlogdir}/${servicename}-postdetails.log" ## Logs Naming lgsmlogdate="${lgsmlogdir}/${servicename}-script-$(date '+%Y-%m-%d-%H:%M:%S').log" consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%Y-%m-%d-%H:%M:%S').log" --WORKSHOP.LUA bellow -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- resource.AddWorkshop("128089118") -- M9K Assault Rifles resource.AddWorkshop("128093075") -- M9K Small Arms pack resource.AddWorkshop("128091208") -- M9K Heavy Weapons resource.AddWorkshop("827320827") -- M1A0 Cat Gun resource.AddWorkshop("290961117") -- Destructible Doors for Gmod! resource.AddWorkshop("151583504") -- MapVote - Fretta-like Map Voting resource.AddWorkshop("230215823") -- Grand Theft Auto V Death Screen (Wasted) resource.AddWorkshop("145316417") -- ttt_fastfood_a6 resource.AddWorkshop("167547072") -- TTT Killer Notifier resource.AddWorkshop("1120572784") -- Fallout 3 Chinese Soldier [PM/NPC] resource.AddWorkshop("867635838") -- ttt_grovestreet resource.AddWorkshop("295897079") -- ttt_lego resource.AddWorkshop("534491717") -- ttt_rooftops_2016 resource.AddWorkshop("131667838") -- ttt_community_bowling resource.AddWorkshop("294564108") -- Explosive Melon Launcher TTT Edition resource.AddWorkshop("639762141") -- [TTT/Sandbox] Dragon Elites resource.AddWorkshop("169342118") -- ttt_casino_b2 resource.AddWorkshop("1293781407") -- TTT_Waterworld_Remastered resource.AddWorkshop("807428039") -- Holy Hand Greande + TTT resource.AddWorkshop("273623128") -- Zombies Perk Bottles (TTT/Sandbox) resource.AddWorkshop("228041314") -- ttt_glacier resource.AddWorkshop("253297309") -- ttt_airbus_b3 resource.AddWorkshop("1159197088") -- TTT Gang Beast resource.AddWorkshop("198428426") -- Pinkie TTT Score Logo resource.AddWorkshop("105292871") -- Zero Punctuation | Player Model resource.AddWorkshop("723731057") -- Illuminati player model resource.AddWorkshop("1564047073") -- Robot Playermodels (OLD) resource.AddWorkshop("1092641065") -- Jenssons TTT Snuggle Struggle (T Weapon) resource.AddWorkshop("391383735") -- Left Shark playermodel resource.AddWorkshop("1092556189") -- Town Of Terror - More roles for TTT (The Original Custom Roles mod for TTT) resource.AddWorkshop("456189236") -- [Gamemode: TTT] Traitor Harpoon resource.AddWorkshop("966377279") -- Star Wars Kylo Ren Playermodel (With Face & Helmet)! resource.AddWorkshop("648957314") -- TTT Homerun Bat resource.AddWorkshop("629513732") -- Rosalina Playermodel resource.AddWorkshop("933056549") -- TTT Sprint resource.AddWorkshop("474824081") -- HW: Zelda Queen P.M and Ragdoll resource.AddWorkshop("557962238") -- ULib resource.AddWorkshop("557962280") -- ULX resource.AddWorkshop("1240572856") -- TTT Traitor Weapon Evolve resource.AddWorkshop("310403737") -- TTT - Prop Disguiser resource.AddWorkshop("1459558198") -- Mr Blobby Playermodel resource.AddWorkshop("892997238") -- Thomas The Dank Engine resource.AddWorkshop("1377883019") -- TTT Controllable Manhack resource.AddWorkshop("1403395766") -- [TTT] Demonic Possession resource.AddWorkshop("127865722") -- Trouble in Terrorist Town ULX Commands resource.AddWorkshop("874736541") -- TTT Medkit resource.AddWorkshop("1398629839") -- TTT Randomat resource.AddWorkshop("402359489") -- Pingu - Player Model resource.AddWorkshop("216858856") -- Tomb Raider 2: Lara & Weapon Models resource.AddWorkshop("308133794") -- Elsa & Anna Playermodel & NPC resource.AddWorkshop("1222743946") -- R6S: Enhanced Ela P.M. and Ragdoll resource.AddWorkshop("731680581") -- Princess Peach Playermodel - Super Mario 64 resource.AddWorkshop("1565348690") -- Paladins: Maeve Raeve Playermodel resource.AddWorkshop("257473503") -- Futurama Zoidberg resource.AddWorkshop("230245291") -- Futurama Bender Rodriguez resource.AddWorkshop("150404359") -- GMod Tower: Player Model Pack resource.AddWorkshop("411906008") -- Hotline Miami's Jacket resource.AddWorkshop("156923584") -- Indiana Jones Playermodel resource.AddWorkshop("158326196") -- Iron Man [Playermodel/NPC] resource.AddWorkshop("279330893") -- Philip J. Fry resource.AddWorkshop("389142596") -- Cyanide & Happiness Playermodel resource.AddWorkshop("433585044") -- Playermodel - Kermit the Frog resource.AddWorkshop("439926066") -- Oogie Boogie Playermodel resource.AddWorkshop("484489224") -- Olaf Playermodel resource.AddWorkshop("232539187") -- DewRitos Playermodels resource.AddWorkshop("431026426") -- Playermodel - Vibri resource.AddWorkshop("550768935") -- Mr. Meeseeks playermodel & NPC resource.AddWorkshop("132932189") -- Zangief resource.AddWorkshop("634290441") -- Superhot Playermodel resource.AddWorkshop("557711922") -- Rick playermodel, NPCs, and ragdoll resource.AddWorkshop("636861795") -- BB-8 Playermodel resource.AddWorkshop("726069482") -- OW- Reaper Playermodel resource.AddWorkshop("726644424") -- OW- Mercy Playermodel resource.AddWorkshop("562524462") -- OW: Tracer P.M. and Ragdoll resource.AddWorkshop("725320580") -- [The Ship] Donald Trump [Ragdoll/PM] resource.AddWorkshop("730264413") -- Bob Ross PlayerModel & NPC! resource.AddWorkshop("714618089") -- Escape-Man_PM resource.AddWorkshop("183549197") -- Star Wars Weapons resource.AddWorkshop("731572743") -- Jiggly Crowbar resource.AddWorkshop("448581592") -- STAR WARS Han Solo and Chewbacca Playermodels resource.AddWorkshop("450353431") -- STAR WARS Luke Skywalker Playermodel resource.AddWorkshop("284538302") -- Double Jump! resource.AddWorkshop("233967112") -- ttt_ManhackSpawner resource.AddWorkshop("821963023") -- TTT Defibrillator Detective/Traitor resource.AddWorkshop("654570222") -- TTT Banana Bomb resource.AddWorkshop("218496304") -- Minigun TTT resource.AddWorkshop("628655839") -- TTT Detective Ball resource.AddWorkshop("504118357") -- Crisis - TTT resource.AddWorkshop("310428958") -- Existential - TTT resource.AddWorkshop("508252294") -- Fallout: Fatman - TTT resource.AddWorkshop("270698403") -- Night Trap - TTT, Murder resource.AddWorkshop("656958301") -- MC TTT - Parking resource.AddWorkshop("550005969") -- Remote Sticky Bomb [TTT] resource.AddWorkshop("751265957") -- Tower Unite - Milk Carton Playermodel resource.AddWorkshop("345337612") -- TTT Concrete resource.AddWorkshop("635658981") -- PuggaMaximus Playermodel resource.AddWorkshop("1527075355") -- ttt_Cryptic_Keep resource.AddWorkshop("1560667185") -- ttt_firelinkshrine resource.AddWorkshop("1528231628") -- TTT_Hazard resource.AddWorkshop("1524447060") -- ttt_spotted resource.AddWorkshop("1475589106") -- ttt_bikinibottom resource.AddWorkshop("281454209") -- ttt_Clue_se resource.AddWorkshop("278185787") -- Death Note resource.AddWorkshop("194965598") -- TTT Weapon Collection resource.AddWorkshop("719634946") -- UNDERTALE - MTT Resort resource.AddWorkshop("183797802") -- TTT_island_2013 resource.AddWorkshop("141103402") -- ttt_bb_teenroom_b2 resource.AddWorkshop("1353826096") -- ttt_mc_teenroom resource.AddWorkshop("285085277") -- TTT Huge Map Pack #1 resource.AddWorkshop("164260680") -- TTT-FUN Playermodels resource.AddWorkshop("164278878") -- TTT-FUN Extras resource.AddWorkshop("1408300930") -- TTT Orbital Strike resource.AddWorkshop("204717627") -- TTT-FUN Weapons resource.AddWorkshop("204714538") -- TTT-FUN Weapons resource.AddWorkshop("164277811") -- TTT-FUN Icons resource.AddWorkshop("716631815") -- TTT M9K Weapons resource.AddWorkshop("439856500") -- Pointshop 2 Content resource.AddWorkshop("369842321") -- Pointshop 2 Assets resource.AddWorkshop("272591265") -- Chat Tags (ULX Only) resource.AddWorkshop("110871780") -- Hit Numbers resource.AddWorkshop("519235439") -- Noob's ULX Commands resource.AddWorkshop("1131903966") -- Round Alert resource.AddWorkshop("264112711") -- Spray Tracker Addon w/ Spray Manager resource.AddWorkshop("888871242") -- TTT ESP for Traitors resource.AddWorkshop("404599106") -- TTT Spectator Deathmatch [WORKING] resource.AddWorkshop("657474627") -- UTime resource.AddWorkshop("226312488") -- [Offical] Autopromote (APromote) for ULX resource.AddWorkshop("1567760820") -- PaperBag Playermodel resource.AddWorkshop("377218106") -- TTT - Hitmarkers
Sorry, you need to Log In to post a reply to this thread.