AdminMod.de
https://www.adminmod.de/

tk_punish geht nich aus; default recht 0 ?!?!
https://www.adminmod.de/viewtopic.php?t=4290
Seite 1 von 1

Autor:  D@T@ [ 25.10.2002, 16:30 ]
Betreff des Beitrags:  tk_punish geht nich aus; default recht 0 ?!?!

Moin Leutz !

Ich hab 2 Probs:
tk_punish lässt sich nicht ausschalten !!!
Und ich muss es aber ausbekommen wegen der Punish Funktion von StatsMe.
Und dann will ich den Default_Usern das Recht 0 (nicht 1) geben ...
das nimmt der server irgendwie auch nich an ?! :o

AM: 2.50.26
MM: v1.13.1
SM: 2.6.4 final
LogD: 1.00.4
CS: 1.5 Listenserver

server.cfg
Code:
sv_aim 0
sv_cheats 0
pausable 0
hostname "Hudels Schlachthaus"
sv_maxspeed 320

mp_roundtime 5
mp_timelimit 30
mp_c4timer 45
mp_buytime 9
mp_friendlyfire 1
allow_spectators 0
mp_fiendly_grenade_damage 1
mp_autokick 1
mp_tkpunish 0
mp_autoteambalance 1
mp_flashlight 1
mp_footsteps 1
mp_forcechasecam 2
mp_freezetime 1
mp_limitteams 2
mp_hostagepenalty 5
mp_fadetoblack 0
mp_logmessages 3
mp_ghostfrequency 0.1
mp_mapvoteratio 0.6
mp_chattime 2
sv_gravity 800
sv_allowdownload 1
sv_contact mchudel@web.de

waiting
decalfrequency "8"
waiting
sv_maxspeed "320"	
waiting
sv_restartround	"0"
waiting
sv_hidefrags "0"
waiting
sv_aim "0" 
waiting
sv_timeout "60"
waiting
sv_allowdownload "1"
sv_allowupload "1"
waiting
cl_hidefrags "0"
waiting
sv_cheats "0"
waiting
sv_pausable "0"
waiting


//--CS-Configuration--//

mp_startmoney "800"
waiting
mp_forcechasecam "2"
waiting
mp_footsteps "1"
waiting 
mp_flashlight "1"
waiting 
mp_lowlag "1"
waiting
mp_autocrosshair "0"
waiting 
mp_limitteams "3"
waiting 
mp_autoteambalance "0"
waiting 
mp_allowspectators "1"
waiting
mp_falldamage "1"
waiting

//--Ping--//
mp_ghostfrequency 0.3

//  Fire
mp_friendlyfire "1"
waiting
mp_friendly_grenade_damage "1"
waiting 

//  Punish
mp_tkpunish "0"
waiting
mp_autokick "0"
waiting 
mp_hostagepenalty "0"
waiting 

//  Zeit
mp_buytime "9"
waiting 
mp_freezetime "1"
waiting 
mp_c4timer "45"
waiting 
mp_roundtime "4"
waiting
mp_timelimit "30"



//--RCON-Configuration--//

rcon_password "*******"
waiting
rcon sv_airmove "0"
waiting 
rcon sv_airaccelerate "3" 
waiting 
rcon sv_maxrate "9999"




//--Voice-Configuration--//

sv_voiceenable "1"
voice_modenable "1"
voice_enable "1"

//--Log on --//

log "on"
mp_logfile "1"
mp_logmessages "1"
mp_logdetail "3"





///////////////////////////////////////////////////////////////
//         Admin Mod Server Configuration Variables          //
///////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////////
// This file allows you to set Server Configuration Variables             //
// (CVARs for short) related to Admin Mod functionality.                  //
//                                                                        //
// (Note: For CVARS that are set to either "on" or "off," 0=off and 1=on) // 
////////////////////////////////////////////////////////////////////////////


// Used by the TFC plugin only. If enabled, an attempt to switch
// teams will be rejected if it would unbalance the teams
// (0=disabled, 1=enabled)
admin_balance_teams 0

// If you are using bots with admin mod you can set this to 1
// It will protect bots from receiving client commands which
// would crash your server.
// (0=disabled, 1=enabled)
admin_bot_protection 1

// This is the message displayed to everyone after connecting.
admin_connect_msg "Willkommen in Hudels Schlachthaus !!!"

// This controls the availability of weapon restriction in CS.
// (0=disabled, 1=enabled)
admin_cs_restrict 1

// This will produce debugging messages in your logs which can
// be used to troubleshoot problems. Not recommended for general use.
// (0=disabled, 1=enabled)
admin_debug 0

// Determines whether or not the fun commands are allowed by default.
// If not on by default, the admin can still turn it on when wanted.
// (0=disabled, 1=enabled)
admin_fun_mode 1

// Enable to get special effects with certain commands
// like teleport or slap.
// (0=disabled, 1=enabled)
admin_fx 1

// If enabled, people who are gagged (not allowed to "say") will be 
// unable to change their name while gagged
// (0=disabled, 1=enabled)
admin_gag_name 1

// If enabled, people who are gagged will not be able to use 
// the say_team command.
// (0=disabled, 1=enabled)
admin_gag_sayteam 1

// Makes the admin with the highest access level the only admin in power.
// Example: if multiple admins are present, only the one with the highest
// access level will have admin access.
// (0=disabled, 1=enabled)
admin_highlander 0

// If admin_ignore_immunity is enabled, ACCESS_IMMUNITY is 
// ignored and does nothing.
// (0=disabled, 1=enabled)
admin_ignore_immunity 0

// This file specifies which script plugins get loaded.  
// It should be relative from the <mod> directory
admin_plugin_file "plugin.ini"

// The time (in seconds) during which an admin can reconnect after 
// disconnecting without resetting his password in the setinfo line.
admin_reconnect_timeout 600

// Message displayed to users who try to execute commands that 
// they don't have the appropriate access rights for.
admin_reject_msg  "Finger weg, du Lausbub !"

// How often, in seconds, the repeat_message should be shown on
// the screen during the game. Minimum value is 15 seconds.
// So, a value of 600 = 10 minutes between messages.
admin_repeat_freq 400

// Message that is show to everyone on the server every 
// ten minutes by the message plugin.
admin_repeat_msg  "*** Admin-Mod ***"

// The old verbosity.  Defines how commands are announced to the players
// clients in the form: "[ADMIN] <user> used command <command>"
// 0=all commands announced in chat with the admin name
// 1=all commands announced in chat, but without the admin name
// 2=most commands not announced at all (except "cheat" commands)
admin_quiet 2

// This file is used to store configuration data across maps
// and even across server restarts.
admin_vault_file  "vault.ini"

// If enabled, a hlds_ld-style map vote will automatically 
// start five minutes before the end of a map.
// (0=disabled, 1=enabled)
admin_vote_autostart 1

// If set to on status (1), when a vote is in progress all
// players will see the votes of other players as they vote.
// (0=disable, 1=enabled)
admin_vote_echo 1

// Number of seconds that must elapse after start of the map, 
// or the end of another vote, before another hlds_ld-style 
// map vote can be called.
admin_vote_freq 600

// Controls how many times the current map can be 
// extended for thirty minutes
admin_vote_maxextend 1

// Percent of players who have to vote for a map to get it 
// to win a hlds_ld-style map vote.
admin_vote_ratio 70

// Ability to make clients execute commands
// (0=disabled, 1=enabled)
allow_client_exec 1

// Default access rights for players not in the users.ini file.
// (See documentation for access levels and information)
default_access 0

// encrypt_password, for LINUX ONLY, whether to use 
// encrypted passwords or not
// (0=disabled, 1=enabled)
encrypt_password 0

// If enabled, the scripting file functions have read
// access to files
// (0=disabled, 1=enabled)
file_access_read 1

// If enabled, the scripting file functions have write
// access to files
// (0=disabled, 1=enabled)
file_access_write 1

// This is only used with the old script system and is not
// needed with the new plugin system
help_file "admin_help.cfg"

// Declares priority IPs that are allowed to take a 
// reserved spot (if any are set up) without a password.
ips_file 0

// Ratio of players who must vote 'yes' to a kick for 
// it to be successful.
kick_ratio 70

// Ratio of players who must vote 'yes' to a map change 
// for it to be successful.
map_ratio 70

// List of maps people are allowed to vote for. 0 to disable.
// Disable to enable all maps and use list from mapcycle.txt.
maps_file mapcycle.txt

// The file (relative to the <mod> dir) that 
// reserved models are loaded from. 0 to disable.
models_file 0

// The message shown to someone who gets kicked for
// trying to use a reserved model.
models_kick_msg "[ADMIN] Dieses Model ist reserviert."

// The message shown to someone who gets kicked for
// trying to use a reserved nickname.
nicks_kick_msg "[ADMIN] Dieser Name ist reserviert."

// Password_field...first password of the setinfo line
// If password_field is "pw-AdminMod", the setinfo will be
// setinfo "pw-AdminMod" "password-in-users.ini"
password_field _pw_home

// If pretty_say is enabled, centersay() fades in
// and out and does some other tricks.
// (0=disabled, 1=enabled)
pretty_say 1

// Controls how many (number) of the server's slots are reserved.  
// This is useful only if reserve_type, below, is either 0 or 2.
reserve_slots 0

// Custom message given to clients trying to connect who do not have
// a reserved slots, when no public slots are free
reserve_slots_msg "Sorry. Keine Public-Slots mehr frei."

// This controls how reserve slots work on the server. See documentation.
reserve_type 0

// NOTE: If you have "admin_plugin_file" set above, this CVAR is ignored.
// Define the path to the script file here, if you don't want
// to use the plugin system.
script_file "cstrike/dlls/admin.amx"

// If enabled, names are compared to those who have privileges
// with regular expressions.
// (0=disabled, 1=enabled)
use_regex 0

// The file in which you define your admins, their passwords
// and the access levels that they are assigned to.
users_file "users.ini"

// The minimum number of seconds allowed between votes
// called with the vote() (admin_vote functions) scripting function.
// If 0 or disabled, the vote() scripting function is disabled.
vote_freq 180

// Location of word filter file. 0 to disable, or something 
// like "wordlist.txt" if enabled
words_file 0



//--StatsMe Configs by D@T@--//

sm_cfgfile "statsme/statsme.cfg"
exec statsme/sm_forgivetk.cfg
exec statsme/sm_greet.cfg
exec statsme/sm_kills.cfg
exec statsme/sm_hp.cfg
exec statsme/sm_motd.cfg
mp_tkpunish 0
mp_autokick 0
Im Voraus THX for Help
D@T@

Autor:  [WING] Black Knight [ 28.10.2002, 15:14 ]
Betreff des Beitrags: 

1. Schmeiß erstmal den "waiting"-Kram raus.
2. voice_modenable "1" und voice_enable "1" sind meines Wissens Clientbefehle

Leider kann ich nicht ganz nachvollziehen, warum Du diese Probleme hast. Gib doch mal während des Spiels in HLSW o.ä. mp_tkpunish oder default_access ohne Zahlenangabe ein. Daraufhin sollte der aktuelle Wert zurückgegeben werden.

Seite 1 von 1 Alle Zeiten sind UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/