Results 1 to 2 of 2

Thread: example...

  1. #1
    Born
    Join Date
    Aug 2003
    Posts
    9
    Liked
    0 times
    Points: 5,782, Level: 32
    Points: 5,782, Level: 32
    Achievements:
    Veteran (6+ years registered)
    hey can someone post an example of their admin.cfg

    im have trouble setting this SET INFo thing up

    i never could get to the admin.cfg help section in my profile for some reason it would just freeze up...

    akso where do i place admin.cfg


    ta
    b0b

  2. #2
    Member
    Join Date
    May 2003
    Location
    in the matrix
    Posts
    374
    Liked
    0 times
    Points: 7,100, Level: 36
    Points: 7,100, Level: 36
    Achievements:
    Veteran (6+ years registered)
    this is what i did:

    put admin.cfg in ur cstrike folder

    and this is my code:

    setinfo pw-octa4 password
    setinfo _pw-gu password
    setinfo _pw password
    developer 1
    echo AdminMod password has been accepted
    developer 0

    // AMX configuration file
    // File location: $moddir/addons/amx
    // To use with admin.amx and admincmd.amx plugins

    // amx_admin < name|ip|wonid > < password > < access > < flags >
    // Flags:
    // a - disconnect player on invalid password
    // b - clan tag
    // c - this is authid/wonid
    // d - this is ip
    // e - password is not checked (only name/ip/wonid needed)

    // Access:
    // a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
    // b - reservation (can join on reserved slots)
    // c - amx_kick command
    // d - amx_ban and amx_unban commands
    // e - amx_slay and amx_slap commands
    // f - amx_map command
    // g - amx_cvar command (not all cvars will be available)
    // h - amx_cfg command
    // i - amx_chat and other chat commands
    // j - amx_vote and other vote commands
    // k - access to sv_password cvar (by amx_cvar command)
    // l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
    // m - custom level A (for additional plugins)
    // n - custom level B
    // o - custom level C
    // p - custom level D
    // q - custom level E
    // r - custom level F
    // s - custom level G
    // t - custom level H
    // u - menu access
    // z - user

    // Example of admin account configuration
    // amx_admin "Player" "my_password" "abcdefghijklmnopqrstu" "a"

    // Default access
    amx_default_access ""

    // Name of setinfo which should store the password on client
    // f.e. with current settings admin should have line in his config: setinfo _pw hello
    amx_password_field "_pw"

    // Mode of logging to the server
    // 2 - kick all players not on list
    // 1 - normal mode
    // 0 - disable logging, players won't be checked (and access won't be set)
    amx_mode 0

    // Show admins activity
    // 0 - disabled
    // 1 - show without admin nick
    // 2 - show with nick
    amx_show_activity 2

    // Some info displaying and frequency of scrolling message in sec.
    amx_scrollmsg "Welcome to %hostname% -- This server is using AMX -- Visit http://amxmod.net" 300

    // Frequency of information messages in sec.
    amx_freq_imessage 180

    // Plain information messages
    amx_imessage "Welcome to %hostname%" "255100000"
    amx_imessage "This server is using AMX\nVisit http://amxmod.net" "000100255"

    // Set chat-flood protection
    amx_flood_time 0.75

    // Kicking rules to keep reservered slots free
    // 0 - don't kick anyone and keep reserved slots only for players with reservation
    // 1 - kick by shortest playing time
    // 2 - kick by worst ping
    // 3 - don't kick anyone and put on remaining reserved slots only players with reservation
    amx_reservation 3

    // Amount for reserved slots
    amx_reserved_slots 0

    // Time remaining displaying
    // a - display text
    // b - use voice
    // c - don't add "remaining" (only in voice)
    // d - don't add "hours/minutes/seconds" (only in voice)
    // e - show/speak if current time is less than this set
    amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

    // Minimum delay in seconds between two voting sessions
    amx_vote_delay 30

    // How long voting session go on
    amx_vote_time 10

    // Display who votes for what
    amx_vote_answers 1

    // Some ratios for voting success
    amx_votekick_ratio 0.40
    amx_voteban_ratio 0.40
    amx_votemap_ratio 0.40
    amx_vote_ratio 0.02

    // Stats settings
    // For stats settings use amx_statscfg admin command

    // Announce "say thetime" and "say timeleft" with voice
    amx_time_voice 1

    // List of maps for nextmap chooser plugin (all maps are merged)
    amx_nextmapch de_dust de_dust2 de_vegas de_storm de_nuke de_aztec
    amx_nextmapch cs_militia de_prodigy cs_office de_piranesi
    amx_nextmapch cs_italy de_cbble de_torn de_survivor cs_747 cs_assault
    amx_nextmapch de_chateau cs_backalley cs_havana de_vertigo

    // Max. time to which map can be extended
    amx_extendmap_max 90

    // Step for each extending
    amx_extendmap_step 15


    mp_savexp 1
    mp_xpmultiplier 3.0
    sv_daysbeforedelete 400
    sv_dayslevelmodifier 1
    mp_allowchangerace 1
    mp_weaponmodifier 1
    mp_grenadeprotection 1



    all this crap is cause occasionaly my mates come over and i host a server with wc3 plugin on it.

Thread Information

Users Browsing this Thread

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