[SourceMod] Kako dodati admina preko (Web)FTP-a
Results 1 to 2 of 2
  1. #1
    Support Site Admin Array
    Join Date
    Feb 2009
    Location
    /root
    Age
    25
    Karma
    23

    Default Kako dodati admina preko (Web)FTP-a

    admins.cfg
    Direktorijumi za igre:
    Igra Direktorijum
    Counter Strike Global Offensive /csgo/cstrike/addons/sourcemod/configs/admins.cfg
    Counter Strike Source Orangebox /css/cstrike/addons/sourcemod/configs/admins.cfg
    Team Fortress 2 /orangebox/tf/addons/sourcemod/configs/admins.cfg
    Left4Dead 2 /left4dead2/left4dead2/addons/sourcemod/configs/admins.cfg
    CSProMod /orangebox/cspromod/addons/sourcemod/configs/admins.cfg

    Nadjite:
    Code:
    Admins
    {
    
    
    }
    Izmedju viticastih zagrada dodajte sledece:
    Code:
    	"ime admina" 
    	{
    		"auth"			"steam"
    		"identity"		"STEAM_0:0:17347493"
    		"flags"			"abcdefghijklnopqrst"
    	}
    Objasnjenje:
    ime admina - Ovde upisujete ime admina. Moze pisati djoka, pera, zika, mika.
    auth - Ovde se napominje na sta je dodat admin nalog. Moze biti: steam id, nick, ip.
    identity - Ako ste u predhodnom koraku kod auth stavili steam u ovo polje treba da stavite steam id ili ako ste stavili nick onda treba da upisete nick od igraca, ip...
    flags - Dozvole koje ce admin imati (kick, ban, slay, slap, itd...) Listu svih dozvola i komande koje su na njima mozete videti na sledecem linku: Klik

    Na kraju admins.cfg treba da izgleda:
    Code:
    Admins
    {
    	"KGB Admin - Steam ID" 
    	{
    		"auth"			"steam"
    		"identity"		"STEAM_0:0:17347494"
    		"flags"			"abcdefghijklnopqrst"
    	}
    	
    	"KGB Admin - Nick" 
    	{
    		"auth"			"name"
    		"identity"		"KGB Admin"
    		"flags"			"abcdefghijklnopqrst"
    	}
    
    	"KGB Admin - IP" 
    	{
    		"auth"			"ip"
    		"identity"		"192.168.1.1"
    		"flags"			"abcdefghijklnopqrst"
    	}
    }
    Posle izmene admins.cfg-a morate sacekati da se refresuje admin lista.

    Admin Lista se moze refresovati na tri nacina:
    1. Kucanjem u konzolu sm_reloadadmins
    2. Promenom mape
    3. Restartovanjem servera

  2. #2
    Support Site Admin Array
    Join Date
    Feb 2009
    Location
    /root
    Age
    25
    Karma
    23

    Default Lista Admin Flagova

    .: Lista Svih Flagova :.


    Flag (slovo) Opis
    a Rezervacija na slot (ako je server pun igrac moze da udje)
    b Ovaj flag(slovo) naznacava samo da se radi o adminu (u slucaju ako dajete samo slot).
    c Kick (sm_kick).
    d Ban (sm_ban).
    e Unban (sm_unban).
    f Slay (sm_slay).
    g Mapa (sm_map).
    h Mapa (sm_cvar).
    i Moze pozvati bilo koji fajl (sm_execcfg).
    j Admin chat (sm_chat).
    k Glasanje (sm_vote).
    l Promena lozinke na serveru (sm_cvar sv_password "").
    m Rcon. SAMO HEAD ADMINIMA.
    z Svi flagovi (root, head admin).
    o Custom flag 1 (ako ima dodatna komanda).
    p Custom flag 2 (ako ima dodatna komanda).
    q Custom flag 3 (ako ima dodatna komanda).
    r Custom flag 4 (ako ima dodatna komanda).
    s Custom flag 5 (ako ima dodatna komanda).
    t Custom flag 6 (ako ima dodatna komanda).

    Ako zelite da admin ima sve flagove (ukljucujuci i rcon) onda mu samo dodelite flag "z".

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •