Install cfssl
# This requires an existing Go environment with GOPATH set
go get -u github.com/cloudflare/cfssl/cmd/...
#!/bin/bash
modoverridesfile=$1
dedicated_server_mods_setupfile=$2
res=$(cat $1|grep -E 'workshop-[0-9]{7,12}' -o|grep -E '[0-9]{7,12}' -o)
for i in ${res[@]};do
echo "ServerModSetup($i)" >> $2
done