QUESTIONS

Post Reply
Gonzo700
A semi-regular
A semi-regular
Posts: 16
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Mon Oct 15, 2012 5:59 pm

QUESTIONS

Post by Gonzo700 »

Okay i have the server setup and i also have a couple plugins. But i have some questions that need some answers please i do have a FTP i use for this.

1. How to disable bots?

2. How to restrict certain weapons.

3. How to enable HLxStats (shows on the website but !rank does not work)

4. How to make maps De_dust2 and Office only maps in map rotation or playable maps.

5. How to make mic open for both teams (Alive only ct + t) (Dead only ct + t)

6. How to add mini messages to chat box such as advertisements.

Thats all i have any more info i can give to help me finish this would be great.
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: QUESTIONS

Post by Edge100x »

Gonzo700 wrote:1. How to disable bots?
Set "bot_quota 0" in either server.cfg or the gamemode_xxx_server.cfg for the mode that you are looking to run.
2. How to restrict certain weapons.
You would need to do this with a Sourcemod plugin like this one: https://forums.alliedmods.net/showthrea ... ost1781332
3. How to enable HLxStats (shows on the website but !rank does not work)
HLStatsX should have worked out of the box, as we install Sourcemod and the plugin for you, and fix up your autoexec.cfg for you. If you wiped and reinstalled, though, you will need to configure some things. I recommend that you first try reinstalling the HLStatsX plugin through the "Autoinstallers" page first, as that autoinstaller also corrects the HLStatsX rcon password for you (if it's not correct) and restarts the HLStatsX stats daemon for you. If it still doesn't work after that, double-check that the correct log_address line is in your autoexec.cfg file.
4. How to make maps De_dust2 and Office only maps in map rotation or playable maps.
To do this, you will need to create a custom map cycle containing only those maps, for the game type/mode that you run: http://www.nfoservers.com/forums/viewto ... =84&t=7831
5. How to make mic open for both teams (Alive only ct + t) (Dead only ct + t)
Setting "sv_alltalk 1" and "sv_deadtalk 1" in your server.cfg is supposed to do this, but I remember Valve messed with this feature at some point, and I'm not sure if it still works.
6. How to add mini messages to chat box such as advertisements.
You might consider using an advertisements plugin for Sourcemod such as this one: https://forums.alliedmods.net/showthread.php?p=592536
FlyingMongoose
This is my homepage
This is my homepage
Posts: 353
Joined: Fri Sep 17, 2004 7:50 pm
Contact:

Re: QUESTIONS

Post by FlyingMongoose »

There are 2 more voice chat based cvars for CS GO... I think, they were added in patches. But I never use them because I prefer default vanilla configs so I can't remember what they are.
Image
Gonzo700
A semi-regular
A semi-regular
Posts: 16
Joined: Mon Oct 15, 2012 5:59 pm

Re: QUESTIONS

Post by Gonzo700 »

I really think i messed up the server now maybe not idk. It's listed still but i can't even connect the game just crashes. My guess is my map rotation script. I probably did it wrong.

Code: Select all

// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
  "gameTypes"
  {
    "classic"
    {"cs_office"
     "de_dust2_se"
      "gameModes"
      {
        "casual"
        {"cs_office"
         "de_dust2_se"

          "mapgroupsMP"            // List of mapgroups valid for this game mode
          {
            "mg_custom"    ""
          }

        }
      }  
    }
  }

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the 
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then adjust the startup mapgroup in your autoexec.cfg file.
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////

  "mapgroups"
  {
    "mg_custom"                  // mapgroup definition
    {
      "name"      "mg_custom"
      "maps"
      {
        "de_dust2_se"    ""
        "cs_office"     ""
      }
    }
  }
}
Game mode and type: Classic Casual
Map group: mg_custom
Starting map: de_dust2
FlyingMongoose
This is my homepage
This is my homepage
Posts: 353
Joined: Fri Sep 17, 2004 7:50 pm
Contact:

Re: QUESTIONS

Post by FlyingMongoose »

Here's mine, remember, I configure VANILLA

Code: Select all

// To use this file, rename it to GameModes_Server.txt
//
// Values here override the default gamemodes.txt 

"GameModes_Server.txt"
{
	"gameTypes"
	{
		"classic"
		{
			"gameModes"
			{
				"competitive"
				{
					"maxplayers"		"21"
					"convars"
					{
						"hostname"								"Tuned Chaos: Competitive"
						
						"sv_allowvotes"							"0"
						"sv_allow_votes"						"0"

						// bot-related commands
						"bot_difficulty"						"2"
						"bot_chatter"							"off"
						"bot_join_after_player"					"0"
						"bot_quota"								"10"
						"bot_quota_mode"						"fill"
						
						// Public text chat
						"sv_allchat"							"1"
						
						//Votes
						// Can people hold votes to change levels?
						"sv_vote_issue_changelevel_allowed"		"0"
						// Can people hold votes to kick players from the server?
						"sv_vote_issue_kick_allowed"			"0"
						// Allow players to extend the current map?
						"sv_vote_issue_nextlevel_allowextend"	"0"
						// Can people hold votes to restart the game?
						"sv_vote_issue_restart_game_allowed"	"0"
						// Can people hold votes to scramble the teams?
						"sv_vote_issue_scramble_teams_allowed"	"0"
						// Can people hold votes to surrender?
						"sv_vote_issue_surrrender_allowed"		"0"
						// Can people hold votes to swap the teams?
						"sv_vote_issue_swap_teams_allowed"		"0"
						// How long should a kick vote ban someone from the server? (in minutes)
						"sv_vote_kick_ban_duration"				"5"
						
						// Steamgroup
						// SteamGroup ID (EBA)
						"sv_steamgroup"							"6498"
						// Stemgroup exclusive (probably not going to enable ever)
						"sv_steamgroup_exclusive"				"0"
					}

					"mapgroupsMP"						// List of mapgroups valid for this game mode
					{
						"mg_fullcycle"		""
					}
				}
				
				"casual"
				{
					"maxplayers"		"21"
					"convars"
					{
						"hostname"								"Tuned Chaos: Casual"
						"mp_maxmoney"							"16000"
						
						"mp_halftime"							"1"
						
						"mp_friendlyfire"						"0"
						"mp_solid_teammates"					"0"
						
						// Allow free look
						"mp_forcecamera"						"0"
						
						"sv_allowvotes"							"0"
						"sv_allow_votes"						"0"

						// bot-related commands
						"bot_difficulty"						"2"
						"bot_chatter"							"off"
						"bot_join_after_player"					"0"
						"bot_quota"								"10"
						"bot_quota_mode"						"fill"
						
						// Public text chat
						"sv_allchat"							"1"
						
						// Public all talk
						"sv_alltalk"							"0"
						
						//Votes
						// Can people hold votes to change levels?
						"sv_vote_issue_changelevel_allowed"		"0"
						// Can people hold votes to kick players from the server?
						"sv_vote_issue_kick_allowed"			"0"
						// Allow players to extend the current map?
						"sv_vote_issue_nextlevel_allowextend"	"0"
						// Can people hold votes to restart the game?
						"sv_vote_issue_restart_game_allowed"	"0"
						// Can people hold votes to scramble the teams?
						"sv_vote_issue_scramble_teams_allowed"	"0"
						// Can people hold votes to surrender?
						"sv_vote_issue_surrrender_allowed"		"0"
						// Can people hold votes to swap the teams?
						"sv_vote_issue_swap_teams_allowed"		"0"
						// How long should a kick vote ban someone from the server? (in minutes)
						"sv_vote_kick_ban_duration"				"5"
						
						// Steamgroup
						// SteamGroup ID (EBA)
						"sv_steamgroup"							"6498"
						// Stemgroup exclusive (probably not going to enable ever)
						"sv_steamgroup_exclusive"				"0"
					}

					"mapgroupsMP"						// List of mapgroups valid for this game mode
					{
						"mg_fullcycle"		""
					}
				}
			}	
		}
		
		"gungame"
		{
			"gameModes"
			{
				"gungameprogressive"
				{
					"maxplayers"		"21"
					"convars"
					{
						"hostname"								"Tuned Chaos: Arms Race"

						"sv_allowvotes"							"0"
						"sv_allow_votes"						"0"
						
						// Allow free look
						"mp_forcecamera"						"0"

						// bot-related commands
						"bot_difficulty"						"2"
						"bot_chatter"							"off"
						"bot_join_after_player"					"0"
						"bot_quota"								"10"
						"bot_quota_mode"						"fill"
						
						// Public text chat
						"sv_allchat"							"1"
						
						//Votes
						// Can people hold votes to change levels?
						"sv_vote_issue_changelevel_allowed"		"0"
						// Can people hold votes to kick players from the server?
						"sv_vote_issue_kick_allowed"			"0"
						// Allow players to extend the current map?
						"sv_vote_issue_nextlevel_allowextend"	"0"
						// Can people hold votes to restart the game?
						"sv_vote_issue_restart_game_allowed"	"0"
						// Can people hold votes to scramble the teams?
						"sv_vote_issue_scramble_teams_allowed"	"0"
						// Can people hold votes to surrender?
						"sv_vote_issue_surrrender_allowed"		"0"
						// Can people hold votes to swap the teams?
						"sv_vote_issue_swap_teams_allowed"		"0"
						// How long should a kick vote ban someone from the server? (in minutes)
						"sv_vote_kick_ban_duration"				"5"
						
						// Steamgroup
						// SteamGroup ID (EBA)
						"sv_steamgroup"							"6498"
						// Stemgroup exclusive (probably not going to enable ever)
						"sv_steamgroup_exclusive"				"0"
					}
				}
				
				"gungametrbomb"
				{
					"maxplayers"		"20"
					"convars"
					{
						"hostname"								"Tuned Chaos: Demolition"

						"sv_allowvotes"							"0"
						"sv_allow_votes"						"0"
						
						// Allow free look
						"mp_forcecamera"						"0"
						
						// bot-related commands
						"bot_difficulty"						"2"
						"bot_chatter"							"off"
						"bot_join_after_player"					"0"
						"bot_quota"								"10"
						"bot_quota_mode"						"fill"
						
						// Public text chat
						"sv_allchat"							"1"
						
						//Votes
						// Can people hold votes to change levels?
						"sv_vote_issue_changelevel_allowed"		"0"
						// Can people hold votes to kick players from the server?
						"sv_vote_issue_kick_allowed"			"0"
						// Allow players to extend the current map?
						"sv_vote_issue_nextlevel_allowextend"	"0"
						// Can people hold votes to restart the game?
						"sv_vote_issue_restart_game_allowed"	"0"
						// Can people hold votes to scramble the teams?
						"sv_vote_issue_scramble_teams_allowed"	"0"
						// Can people hold votes to surrender?
						"sv_vote_issue_surrrender_allowed"		"0"
						// Can people hold votes to swap the teams?
						"sv_vote_issue_swap_teams_allowed"		"0"
						// How long should a kick vote ban someone from the server? (in minutes)
						"sv_vote_kick_ban_duration"				"5"
						
						// Rounds
						"mp_maxrounds"							"20"
						
						// Steamgroup
						// SteamGroup ID (EBA)
						"sv_steamgroup"							"6498"
						// Stemgroup exclusive (probably not going to enable ever)
						"sv_steamgroup_exclusive"				"0"
					}
				}
			}
		}
	}

//////////////////////////////////////////////////////////////////////////////////////////////
// Map groups
//
// To use a mapgroup, it needs to be defined in a keyvalues
// block such as the example below, as well as listed in the 
// 'mapgroupsMP' block within the game mode that will run it,
// such as the example above.
//
// Then launch the server with '+mapgroup MAPGROUPNAME'
//
// Example:
//
// srcds -game csgo +game_mode 1 +mapgroup mg_bomb_se +map de_nuke_se
//
//
// Check the developer wiki for updated community info
// https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers
//////////////////////////////////////////////////////////////////////////////////////////////


	"mapgroups"
	{
		"mg_fullcycle"									// mapgroup definition
		{
			"name"			"mg_fullcycle"
			"maps"
			{
				"de_nuke"			""
				"cs_office"			""
				"de_dust"			""
				"de_train"			""
				"de_inferno"		""
				"cs_italy"			""
				"de_aztec"			""
				"de_dust2"			""
			}
		}
	}
}
Image
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: QUESTIONS

Post by Edge100x »

You definitely have an invalid format for the file. I recommend simply copying our example at http://www.nfoservers.com/forums/viewto ... =84&t=7831 and changing the map names at the bottom.
Gonzo700
A semi-regular
A semi-regular
Posts: 16
Joined: Mon Oct 15, 2012 5:59 pm

Re: QUESTIONS

Post by Gonzo700 »

Ok so initially i thought that was the problem but i really messed up now, i took that script out completely restarted the server and now i cant connect, I did a couple things that you gave me but just installed such as the advertisements, weapon restrictions which i dont know how to modify also I couldn't find sv_alltalk in the server.cfg, aha having nothing but a bad day lately.
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: QUESTIONS

Post by Edge100x »

I would recommend that you start from scratch and only make one change at a time, making sure that it works before you proceed with the next.

The cvars that I gave you will not be in the configuration files as they come. You will need to add these.
Gonzo700
A semi-regular
A semi-regular
Posts: 16
Joined: Mon Oct 15, 2012 5:59 pm

Re: QUESTIONS

Post by Gonzo700 »

I'm just not to sure on how to find certain things or what to put in where it's supposed to be. Maybe i'm not server owner material because this stuff is pretty confusing. And yeah i'll probably end up doing that starting now all night tonight so i can get it running.
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: QUESTIONS

Post by Edge100x »

It certainly can be complicated to get a server exactly the way you want it, especially with CS:GO.
Gonzo700
A semi-regular
A semi-regular
Posts: 16
Joined: Mon Oct 15, 2012 5:59 pm

Re: QUESTIONS

Post by Gonzo700 »

I wouldn't doubt it, but it says that somebody had to do the restart if i want it earlier? What would you like me to do about that ? I live in a different time zone so 1:30 am is about 4:30 am here
User avatar
Edge100x
Founder
Founder
Posts: 12948
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: QUESTIONS

Post by Edge100x »

You can request an earlier wipe through the "Help!" page and we might be able to do it for you, depending on current usage levels for your machine. But, you could also simulate a wipe by shutting down the server and erasing anything in the "addons" folder and any customized .cfg files.
Gonzo700
A semi-regular
A semi-regular
Posts: 16
Joined: Mon Oct 15, 2012 5:59 pm

Re: QUESTIONS

Post by Gonzo700 »

Ok well i got a server now and the only problem i'm having is hl stats . I type rank in-game and it doesnt even show up you type it and it goes away so i feel something is there. Advertisements doesn't work. I did pay the 3.50 or something for it so i dont know if it should be working or not. Those are the only problems i have. I'm not sure how to install advertisements either and edit their text. Please help you guys. I followed your steps edge no work.
User avatar
Siren
Former staff
Former staff
Posts: 358
Joined: Fri Aug 04, 2006 2:53 pm

Re: QUESTIONS

Post by Siren »

Please contact us using the Help! tab in your control panel. This will allow us to access your server and help you better with this.
<Spray> Please try locking your modem in a closet, or facing it towards the wall in the corner, so it knows its misbehaved
Post Reply