Raised This Month: $51 Target: $400
 12% 

[CSGO] Setup Workshop Mapcycle + SM Modul


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
C0nvert
New Member
Join Date: Dec 2019
Old 12-02-2019 , 07:56   [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #1

Hey Guys,
I just Setup my first CSGO Dedicated Server on Linux over LinuxGSM.
The Server is working, the only things wich wont work are changing the map over SM_Admin and start the Server with Workshop Maps. Server starts dust-2 per default.

Everytime i try to change the mapcycle cfg it won't change the SM Admin Settings.
They are always stock

Maplist.cfg
Code:
/**
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"mapcyclefile"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"file"			"addons/sourcemod/configs/adminmenu_maplist.ini"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"default"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
}
adminmenu_maplist.ini same as maplist.txt and mapcycle in csgo folder
Code:
"workshop/1173989333/de_inferno_custom"
"workshop/122443683/aim_map"
"workshop/122521875/fy_pool_day"
"workshop/1377592684/yprac_inferno"
"workshop/140789380/cod_shipment"
"workshop/1412996956/fy_ag_area_d"
"workshop/1490088884/holidayhouse"
"workshop/149093917/dm_rust"
"workshop/1537790775/holiday_house_final"
"workshop/1542625386/de_mirage_b_site_only"
"workshop/1552653134/cs_office_upsidedown"
"workshop/156054906/surf_utopia_v3"
"workshop/1617344650/aimfirefight"
"workshop/1790136176/awp_wartime"
"workshop/1830646042/aim_dust"
"workshop/1855652898/de_zenith"
"workshop/1872935347/geometric"
"workshop/1876992851/seek_bs_house"
"workshop/1898325524/aim_minecraft_2020"
"workshop/1911037308/aim_nevermore"
"workshop/273415773/cs_hijack"
"workshop/322546213/am_poolparty"
"workshop/487039571/awp_lego_2"
"workshop/523638720/fy_simpsons"
"workshop/644518351/de_overpass_training"
"workshop/702653154/ultimative_survive"
"workshop/899179201/hnshostel"
"workshop/916433154/minecraftriflemap"
"workshop/939587106/aim_allrifle"
Can you help me setting up the rotation and the sm admin change map menu?
C0nvert is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 12-02-2019 , 10:25   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #2

/* Admin menu, map menu */
"sm_map menu"
{
"target" "default"


Code:
/**
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"mapcyclefile"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
	"target"		"default"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
	"target"		"default"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"default"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"default"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"default"
	}
}
Try Remove "" in mapcycle.txt

workshop/1173989333/de_inferno_custom
workshop/122443683/aim_map
workshop/122521875/fy_pool_day
workshop/1377592684/yprac_inferno
workshop/140789380/cod_shipment
workshop/1412996956/fy_ag_area_d
workshop/1490088884/holidayhouse
workshop/149093917/dm_rust
workshop/1537790775/holiday_house_final
workshop/1542625386/de_mirage_b_site_only
workshop/1552653134/cs_office_upsidedown
workshop/156054906/surf_utopia_v3
workshop/1617344650/aimfirefight
workshop/1790136176/awp_wartime
workshop/1830646042/aim_dust
workshop/1855652898/de_zenith
workshop/1872935347/geometric
workshop/1876992851/seek_bs_house
workshop/1898325524/aim_minecraft_2020
workshop/1911037308/aim_nevermore
workshop/273415773/cs_hijack
workshop/322546213/am_poolparty
workshop/487039571/awp_lego_2
workshop/523638720/fy_simpsons
workshop/644518351/de_overpass_training
workshop/702653154/ultimative_survive
workshop/899179201/hnshostel
workshop/916433154/minecraftriflemap
workshop/939587106/aim_allrifle

I have this set and all works fine.

Last edited by asdfxD; 12-02-2019 at 10:27.
asdfxD is offline
C0nvert
New Member
Join Date: Dec 2019
Old 12-02-2019 , 13:00   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #3

Thank you wow, that worked

Now how do i set it up, so e.g fy_pool_day starts as default (1st Map) not Dust2.

This is my Server cfg so far

Code:
##################################
######## Common Settings #########
##################################
# PLACE GLOBAL SETTINGS HERE
## These settings will apply to all instances
##################################
######## Default Settings ########
##################################
# DO NOT EDIT WILL BE OVERWRITTEN!
# Copy settings from here and use them in either
# common.cfg - applies settings to every instance
# [instance].cfg - applies settings to a specific instance

#### Server Settings ####

## Server Start Settings | https://docs.linuxgsm.com/configuration/start-parameters
# https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers#Starting_the_Server
# [Game Modes]			gametype	gamemode	mapgroup (you can mix these across all Game Modes except Danger Zone, but use only one)
# Arms Race				1			0			mg_armsrace
# Classic Casual		0			0			mg_casualsigma, mg_casualdelta
# Classic Competitive	0			1			mg_active, mg_reserves, mg_hostage, mg_de_dust2
# Custom				3			0
# Deathmatch			1			2			mg_deathmatch
# Demolition			1			1			mg_demolition
# Wingman				0			2
# Danger Zone			6			0			mg_dz_blacksite (map: dz_blacksite), mg_dz_sirocco (map: dz_sirocco)
gametype="0"
gamemode="1"
mapgroup="mg_custom"
ip="0.0.0.0"
port="27015"
clientport="27005"
sourcetvport="27020"
defaultmap=""
maxplayers="16"
tickrate="128"

## Required: Game Server Login Token
# GSLT is required for running a public server.
# More info: https://linuxgsm.com/gslt
gslt=""

## Workshop Parameters | https://developer.valvesoftware.com/wiki/CSGO_Workshop_For_Server_Operators
# To get an API key visit - https://steamcommunity.com/dev/apikey
wsapikey=""
wscollectionid=""
wsstartmap="1898325524"

## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
fn_parms(){
parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
}

#### LinuxGSM Settings ####

## Notification Alerts
# (on|off)

# Display IP | https://docs.linuxgsm.com/alerts#display-ip
displayip=""

# More info | https://docs.linuxgsm.com/alerts#more-info
postalert="off"
postdays="7"
posttarget="https://hastebin.com"

# Discord Alerts | https://docs.linuxgsm.com/alerts/discord
discordalert="off"
discordwebhook="webhook"

# Email Alerts | https://docs.linuxgsm.com/alerts/email
emailalert="off"
email="[email protected]"
emailfrom=""

# IFTTT Alerts | https://docs.linuxgsm.com/alerts/ifttt
iftttalert="off"
ifttttoken="accesstoken"
iftttevent="linuxgsm_alert"

# Mailgun Email Alerts | https://docs.linuxgsm.com/alerts/mailgun
mailgunalert="off"
mailguntoken="accesstoken"
mailgundomain="example.com"
mailgunemailfrom="[email protected]"
mailgunemail="[email protected]"

# Pushbullet Alerts | https://docs.linuxgsm.com/alerts/pushbullet
pushbulletalert="off"
pushbullettoken="accesstoken"
channeltag=""

# Pushover Alerts | https://docs.linuxgsm.com/alerts/pushover
pushoveralert="off"
pushovertoken="accesstoken"

# Slack Alerts | https://docs.linuxgsm.com/alerts/slack
slackalert="off"
slackwebhook="webhook"

# Telegram Alerts | https://docs.linuxgsm.com/alerts/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://docs.linuxgsm.com/commands/update
updateonstart="off"

## Backup | https://docs.linuxgsm.com/commands/backup
maxbackups="4"
maxbackupdays="30"
stoponbackup="on"

## Logging | https://docs.linuxgsm.com/features/logging
consolelogging="on"
logdays="7"

## Monitor | https://docs.linuxgsm.com/commands/monitor
# Query delay time
querydelay="1"

#### LinuxGSM Advanced Settings ####

# ANSI Colors
ansi="on"

# Message Display Time
sleeptime="0.5"

## SteamCMD Settings
# Server appid
appid="740"
# SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch
branch=""
# Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server
steammaster="true"

# Stop Mode | https://docs.linuxgsm.com/steamcmd/stopmode
# 1: tmux kill
# 2: CTRL+c
# 3: quit
# 4: quit 120s
# 5: stop
# 6: q
# 7: exit
# 8: 7 Days to Die
# 9: Gold Source
# 10: Teamspeak 3
stopmode="3"

## LinuxGSM Server Details
# Do not edit
gamename="Counter-Strike: Global Offensive"
engine="source"
glibc="2.15"

#### Directories ####
# Edit with care

## Server Specific Directories
systemdir="${serverfiles}/csgo"
executabledir="${serverfiles}"
executable="./srcds_run"
servercfg="${servicename}.cfg"
servercfgdefault="server.cfg"
servercfgdir="${systemdir}/cfg"
servercfgfullpath="${servercfgdir}/${servercfg}"

## Backup Directory
backupdir="${lgsmdir}/backup"

## 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"
C0nvert is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 12-02-2019 , 23:38   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #4

wsstartmap="1898325524"

this is workshop start map i guess, change to map id you want.
asdfxD is offline
C0nvert
New Member
Join Date: Dec 2019
Old 12-03-2019 , 05:36   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #5

Quote:
Originally Posted by asdfxD View Post
wsstartmap="1898325524"

this is workshop start map i guess, change to map id you want.
unfortunately that don't work, tried this already.
He just ignores it and start dist2 per default
C0nvert is offline
hixoh55681
Junior Member
Join Date: Dec 2019
Old 12-03-2019 , 10:14   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #6

Quote:
Originally Posted by C0nvert View Post
unfortunately that don't work, tried this already.
He just ignores it and start dist2 per default
you should use it in launch parameters
hixoh55681 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-03-2019 , 15:17   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #7

If you are omitting your API key that's fine, but you need to specify you are by including that. However, if you don't have your API key, you need to specify it in wsapikey; otherwise, you will not be able to load workshop maps properly. As using the workshop map id as you are using currently will work, as it's how I specify it.

You can also use your defaultmap="workshop/122521875/fy_pool_day" or defaultmap="fy_pool_day" if you do not have one in your /maps/ folder.
Maxximou5 is offline
hixoh55681
Junior Member
Join Date: Dec 2019
Old 12-03-2019 , 16:29   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #8

Quote:
Originally Posted by Maxximou5 View Post
If you are omitting your API key that's fine, but you need to specify you are by including that. However, if you don't have your API key, you need to specify it in wsapikey; otherwise, you will not be able to load workshop maps properly. As using the workshop map id as you are using currently will work, as it's how I specify it.

You can also use your defaultmap="workshop/122521875/fy_pool_day" or defaultmap="fy_pool_day" if you do not have one in your /maps/ folder.
bro, why with your deathmatch plugin server never changes map? Its always : "this is last round!" forever??
hixoh55681 is offline
[email protected]
Junior Member
Join Date: Dec 2019
Old 12-06-2019 , 20:23   Re: [CSGO] Setup Workshop Mapcycle + SM Modul
Reply With Quote #9

Quote:
Originally Posted by C0nvert View Post

you must restart

srv

for new map cfg load.


Maplist.cfg
Code:
/**
"MapLists"
{
	/**
	 * Default requests go right to the mapcyclefile.
	 */
	"default"
	{
		"target"		"my_maplist.txt"
	}
	
	/* Admin menu, map menu */
	"sm_map menu"
	{
		"file"			"my_maplist.txt"
	}
	
	/* Admin menu, map voting menu */
	"sm_votemap menu"
	{
		"file"			"my_maplist.txt"
	}
	
	/* For the "randomcycle" plugin */
	"randomcycle"
	{
		"target"		"my_maplist.txt"
	}
	
	/* For the "mapchooser" plugin */
	"mapchooser"
	{
		"target"		"my_maplist.txt"
	}
	
	/* For the "nominations" plugin */
	"nominations"
	{
		"target"		"my_maplist.txt"
	}
}
my_maplist.txt in csgo folder

Code:
workshop/1173989333/de_inferno_custom
workshop/122443683/aim_map
workshop/122521875/fy_pool_day
workshop/1377592684/yprac_inferno
workshop/140789380/cod_shipment
workshop/1412996956/fy_ag_area_d
workshop/1490088884/holidayhouse
workshop/149093917/dm_rust
workshop/1537790775/holiday_house_final
workshop/1542625386/de_mirage_b_site_only
workshop/1552653134/cs_office_upsidedown
workshop/156054906/surf_utopia_v3
workshop/1617344650/aimfirefight
workshop/1790136176/awp_wartime
workshop/1830646042/aim_dust
workshop/1855652898/de_zenith
workshop/1872935347/geometric
workshop/1876992851/seek_bs_house
workshop/1898325524/aim_minecraft_2020
workshop/1911037308/aim_nevermore
workshop/273415773/cs_hijack
workshop/322546213/am_poolparty
workshop/487039571/awp_lego_2
workshop/523638720/fy_simpsons
workshop/644518351/de_overpass_training
workshop/702653154/ultimative_survive
workshop/899179201/hnshostel
workshop/916433154/minecraftriflemap
workshop/939587106/aim_allrifle
add somting like

this

maybe will be help.

https://forums.alliedmods.net/showthread.php?t=156974
Attached Files
File Type: txt my_maplist.txt (998 Bytes, 206 views)
File Type: txt csgo.txt (998 Bytes, 209 views)
__________________

Last edited by [email protected]; 12-10-2019 at 23:19.
vpscfglinux@gmail.com is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode