Author Topic: Kako napraviti Admina za CSS-HL2 u SourceMod-u?  (Read 3075 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Kako napraviti Admina za CSS-HL2 u SourceMod-u?
« on: January 16, 2011, 09:15:26 PM »
Zna li možda neko kako napraviti admina u CSS-HL2 (nonsteam) preko SourceModa?


Offline
*****
Re: Kako napraviti Admina za CSS-HL2 u SourceMod-u?
« Reply #1 on: January 16, 2011, 09:45:35 PM »
udes u ftp te zatim odes:/cstrike/addons/sourcemod/configs/ ako ti je stari engine, a ako je novi /orangebox/cstrike/addons/sourcemod/configs/

te zatim otvoris:admins_simple.ini i trebao ovako izgledati

Code: [Select]
//
// 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
//
////////////////////////////////

"STEAM_0:1:19255254" "99:z" //fatality
 


nakon sto zavrse "/////" odes dolje, te zatim kao sto vidis otvoris navodnike i upises steam id, pa razmak, otvoris navodnike i upises dopustenja i zatvoris navodnike, te zatim da znas lakse kome si dao opet razmak stavis "//" pa ime ;)

evo ti primjer:"STEAM_0:1:19255254"   "99:z"   //fatality

Code: [Select]
this are access lvl for admins, always put yourself like "z"

"reservation" "a" //Reserved slots
"generic" "b" //Generic admin, required for admins
"kick" "c" //Kick other players
"ban" "d" //Banning other players
"unban" "e" //Removing bans
"slay" "f" //Slaying other players
"changemap" "g" //Changing the map
"cvars" "h" //Changing cvars
"config" "i" //Changing configs
"chat" "j" //Special chat privileges
"vote" "k" //Voting
"password" "l" //Password the server
"rcon" "m" //Remote console
"cheats" "n" //Change sv_cheats and related commands

/**
* Custom flags can be used by plugins, but they can also be used to
* for you to expand on the previous groups, using Overrides.
*/

"custom1" "o"
"custom2" "p"
"custom3" "q"
"custom4" "r"
"custom5" "s"
"custom6" "t"

/**
* Root is a magic access flag that grants all permissions.
* This should only be given to trusted administrators. 
* Root users can target anyone regardless of immunity,
* however, they themselves are not automatically immune.
*/
"root" "z"
}
}
da si doznas koji je tvoj steam id, odes na neki server, otvoris konzolu i upises "status" i nades steam id pod tvojim imenom
« Last Edit: January 16, 2011, 09:56:52 PM by matacro »


I was born intelligent, education ruined me.


Offline
**
Re: Kako napraviti Admina za CSS-HL2 u SourceMod-u?
« Reply #2 on: January 17, 2011, 07:42:36 AM »
Nemam orginal steam, dali mi se  mjenja onda steamid pa moram stalno editirati tu datoteku?

Offline
*****
Re: Kako napraviti Admina za CSS-HL2 u SourceMod-u?
« Reply #3 on: January 17, 2011, 06:44:58 PM »
nemjenja ti se stalno steamid, ali ipak postoji neka mala sansa da se nekako promijeni, ako imas od digital zone ili tako nesto, tamo ti se mjenja svaki put a na drugim verzijama rijetko kad.

a takoder mozes ti stavit da ti prepoznaje po imenu ali onda stavis sifru

"Ime:npr Fatality" "99:z" "sifra"  //fatality

te zatim opet odes u /cstrike/addons/sourcemod/configs/ otvoris core.cfg i nades "PassInfoVar"         "_password" i na ovome drugome upises sifru, moze biti razlicita od admina, te svaki put prije nego se spojis na server, upises u konzolu
Code: [Select]
setinfo _PASSWORD sifra i onda mozes bez problema uci na server, takoder ako nezelis to svaki put pisati mozes otici di je insliran counter: cstrike/cfg. napravi novi text document
Code: [Select]
autoexec.cfg a u njemu stavi
Code: [Select]
setinfo _PASSWORD sifra spremi i gotov si
« Last Edit: January 17, 2011, 06:50:48 PM by matacro »


I was born intelligent, education ruined me.