• This forum has a zero tolerance policy regarding spam. If you register here to publish advertising, your user account will be deleted without further questions.

[HOW-TO] Sourcemod + Metamod auf Linux Server installieren

Jointer

New Member
SourceMOD und MetaMOD auf einem Linux Server installieren

Hier möchte ich euch erneut erklären, wie ihr SourceMOD und MetaMOD richtig auf einem LINUX Server installiert. In diesem Fall einem "Counter Strike Source" Server.

Es gab schon einmal einen ähnlichen Beitrag, den ich somit auch auffrischen möchte.


Dieses Tutorial handelt nur über ONLINE geschaltete Server. Keine Dedicated Server!


Sourcemod:

Installation

1. Sourcemod herunterladen (http://www.sourcemod.net/downloads.php)
2. Die soeben heruntergeladene Sourcemod Version entpacken
3. Die Datein per FTP auf euren Server hochladen. Diese nach diesem Pfad: "../server/css/cstrike"
4. Den cfg sowohl den addons Ordner einfach in den cstrike Ordner hochladen.


Adminrechte zuweißen

Damit ihr auf euren Server auch die notwendigen Adminrechte bekommt, müsst ihr euch davor als Admin eintragen lassen.
Dies macht ihr wie folgt:

1. Folgt folgendem Pfad im FTP: "../server/cstrike/addons/sourcemod/configs
2. Öffnet die Datei admins_simple.ini

Code:
[COLOR="DarkGreen"]//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
//  "identity"		"permissions"		"password"
//
// For the Identity, you can use a SteamID or Name.  To use an IP address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional password.
//
// PERMISSIONS:
//  Flag definitions are in "admin_levels.cfg"
//  You can combine flags into a string like this:
//  "abcdefgh"
//
//  If you want to specify a group instead of a flag, use an @ symbol.  Example:
//  "@Full Admins"
//
//	You can also specify immunity values.  Two examples:
//	"83:abcdefgh"			//Immunity is 83, flags are abcdefgh
//	"6:@Full Admins"		//Immunity is 6, group is "Full Admins"
//
//	Immunity values can be any number.  An admin cannot target an admin with 
//	a higher access value (see sm_immunity_mode to tweak the rules).  Default 
//  immunity value is 0 (no immunity).
//
// PASSWORDS:
//  Passwords are generally not needed unless you have name-based authentication.
//  In this case, admins must type this in their console:
//
//   setinfo "KEY" "PASSWORD"
//
//  Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
//  is their password.  With name based authentication, this must be done before
//  changing names or connecting.  Otherwise, SourceMod will automatically detect
//  the password being set.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 'comment')
//
//   "STEAM_0:1:16"		"bce"				//generic, kick, unban for this steam ID, no immunity
//   "!127.0.0.1"		"99:z"				//all permissions for this ip, immunity value is 99
//   "BAILOPAN"			"abc"	"Gab3n"		//name BAILOPAN, password "Gab3n": gets reservation, generic, kick
//
////////////////////////////////
 [/COLOR]

Fügt den ROT markierten Text an die gleiche Stelle ein wie beschrieben:

Code:
[COLOR="DarkGreen"]//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
//  "identity"		"permissions"		"password"
//
// For the Identity, you can use a SteamID or Name.  To use an IP address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional password.
//
// PERMISSIONS:
//  Flag definitions are in "admin_levels.cfg"
//  You can combine flags into a string like this:
//  "abcdefgh"
//
//  If you want to specify a group instead of a flag, use an @ symbol.  Example:
//  "@Full Admins"
//
//	You can also specify immunity values.  Two examples:
//	"83:abcdefgh"			//Immunity is 83, flags are abcdefgh
//	"6:@Full Admins"		//Immunity is 6, group is "Full Admins"
//
//	Immunity values can be any number.  An admin cannot target an admin with 
//	a higher access value (see sm_immunity_mode to tweak the rules).  Default 
//  immunity value is 0 (no immunity).
//
// PASSWORDS:
//  Passwords are generally not needed unless you have name-based authentication.
//  In this case, admins must type this in their console:
//
//   setinfo "KEY" "PASSWORD"
//
//  Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
//  is their password.  With name based authentication, this must be done before
//  changing names or connecting.  Otherwise, SourceMod will automatically detect
//  the password being set.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 'comment')
//
//   "STEAM_0:1:16"		"bce"				//generic, kick, unban for this steam ID, no immunity
//   "!127.0.0.1"		"99:z"				//all permissions for this ip, immunity value is 99
//   "BAILOPAN"			"abc"	"Gab3n"		//name BAILOPAN, password "Gab3n": gets reservation, generic, kick
//
////////////////////////////////

[COLOR="Red"]"DEINE STEAM ID"             "ADMIN FLAGS"[/COLOR]
 [/COLOR]

ADMIN Flags sind die Rechte, die man setzen kann. Es gibt folgende Rechteliste:

a - Reservierter Platz Nutzung
b - generelle Admin Rechte (nötig!)
c - Kick Rechte
d - Bann Rechte
e - Banns entfernen
f - Töten anderer Spieler
g - Map wechsel Rechte
h - Cvars ändern
i - Configs ändern
j - spezielle Chat Rechte
k - Voting Rechte
l - Serverpasswort ändern
m - Rcon Rechte
n - sv_cheats u.a. wichtige Cvars ändern
z - root Rechte (Zugang zu allem!)

99:z - Volle IMMUNITY RECHTE! Bedeutet soviel wie: Höchstmöglicher Admin

Metamod:

1. Metamod herunterladen (http://www.sourcemm.net)
2. Die soeben heruntergeladene Metamod Version entpacken
3. Die Datein per FTP auf euren Server hochladen. Diese nach diesem Pfad: "../server/css/cstrike"
5. Geht im FTP in den Ordner cstrike und sucht nacht der Datei gameinfo.txt!

Diese öffnet ihr:

Code:
[COLOR="DarkGreen"]"GameInfo"
{
	game	"Counter-Strike Source"
	title	"COUNTER-STRIKE'"
	title2	"source"
	type multiplayer_only
	nomodels 1
	nohimodel 1
	nocrosshair 0
	advcrosshair 3
	bots 1
	hidden_maps
	{
		"test_speakers"		1
		"test_hardware"		1
	}
	nodegraph 0


	FileSystem
	{
		SteamAppId				240		// This will mount all the GCFs we need (240=CS:S, 220=HL2).
		ToolsAppId				211		// Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
		
		//
		// The code that loads this file automatically does a few things here:
		//
		// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
		// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
		//    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
		// 3. For the first "Game" search path, it adds a search path called "MOD".
		// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
		//

		//
		// Search paths are relative to the base directory, which is where hl2.exe is found.
		//
		// |gameinfo_path| points at the directory where gameinfo.txt is.
		// We always want to mount that directory relative to gameinfo.txt, so
		// people can mount stuff in c:\mymod, and the main game resources are in
		// someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
		//
		SearchPaths
		{
			Game				|gameinfo_path|.
			Game				cstrike
			Game				|all_source_engine_paths|hl2
		}
	}
}[/COLOR]

Nun sucht ihr nach der Zeile "|gameinfo_path|."
Fügt nun den ROT markierten Text in die Datei mit ein:

Code:
[COLOR="DarkGreen"]"GameInfo"
{
	game	"Counter-Strike Source"
	title	"COUNTER-STRIKE'"
	title2	"source"
	type multiplayer_only
	nomodels 1
	nohimodel 1
	nocrosshair 0
	advcrosshair 3
	bots 1
	hidden_maps
	{
		"test_speakers"		1
		"test_hardware"		1
	}
	nodegraph 0


	FileSystem
	{
		SteamAppId				240		// This will mount all the GCFs we need (240=CS:S, 220=HL2).
		ToolsAppId				211		// Tools will load this (ie: source SDK caches) to get things like materials\debug, materials\editor, etc.
		
		//
		// The code that loads this file automatically does a few things here:
		//
		// 1. For each "Game" search path, it adds a "GameBin" path, in <dir>\bin
		// 2. For each "Game" search path, it adds another "Game" path in front of it with _<langage> at the end.
		//    For example: c:\hl2\cstrike on a french machine would get a c:\hl2\cstrike_french path added to it.
		// 3. For the first "Game" search path, it adds a search path called "MOD".
		// 4. For the first "Game" search path, it adds a search path called "DEFAULT_WRITE_PATH".
		//

		//
		// Search paths are relative to the base directory, which is where hl2.exe is found.
		//
		// |gameinfo_path| points at the directory where gameinfo.txt is.
		// We always want to mount that directory relative to gameinfo.txt, so
		// people can mount stuff in c:\mymod, and the main game resources are in
		// someplace like c:\program files\valve\steam\steamapps\<username>\half-life 2.
		//
		SearchPaths
		{
                        [COLOR="Red"]GameBin                         |gameinfo_path|addons/metamod/bin[/COLOR]
			Game				|gameinfo_path|.
			Game				cstrike
			Game				|all_source_engine_paths|hl2
		}
	}
}[/COLOR]

6. Schließt die Datei und speichert diese ab.
7. Startet euren Server neu und fertig!


Sollte etwas fehlen oder nicht stimmen, bitte ich euch, dies mir mitzuteilen.
Ich hoffe ich kann damit einigen helfen, da doch viele Sourcemod und Metamod nicht anbekommen.



Mit freundlichen Grüßen
Euer Jointer
 
Die Rechtschreibfehler ignoriere ich einfach mal.

5. Geht im FTP in den Ordner cstrike und sucht nacht der Datei gameinfo.txt!

Ist veraltet und verwirrt die Leute nur unnötig. Einfach eine vdf für MetaMod: Source erstellen.

Hier ist die Installation von MM:S beschrieben.
 
hallo
ich habe mir jetz ein gamserver unter linux aufgesetzt (ubuntu 13.04) habe counter strike source alles installiert läuft auch alles aber bei mir funktioniert das nicht mit denn metamod under windows habe ick das hinbekommen aber unter linux nicht habe auch schon versucht die metamod.vdf anzu passen aber funktioniert alles nicht
hat irgend jemand ein tip wie ich das zum laufen kriegen kann
 
Ich glaube, dass es sinnvoll wäre, wenn Du ein eigenes Thema eröffnest. Die Anleitung hier ist jetzt auch schon gut 1,5 Jahre alt und Ubuntu 13.04 gab es da noch nicht.
 
Back
Top