[CS] AdminMod toegang

Pagina: 1
Acties:

  • paulmadejong
  • Registratie: Maart 2001
  • Laatst online: 04-11 20:19
Om te beginnen dit is mijn users.ini
GiNoLa:mijn pass:2048
Shib:zijn pass:3

Dit is mijn server.cfg
// Use this file to configure your DEDICATED server.
// This config file is executed everytime the server changes levels.

// disable autoaim
sv_aim 0

// disable clients' ability to pause the server
pausable 0

// default server name. Change to "Bob's Server", etc.
hostname "GiNo's Server"

// maximum client movement speed
sv_maxspeed 320

// 20 minute timelimit
mp_timelimit 20

sv_cheats 0
rcon_password blub
///////////////////////////////////////////////////////////////
// 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 0

// This is the message displayed to everyone after connecting.
admin_connect_msg "Welcome to the Real World..."

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

// 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 0

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

// 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 0

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

// 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 300

// Message displayed to users who try to execute commands that
// they don't have the appropriate access rights for.
admin_reject_msg "You do not have access to this command."

// 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 600

// Message that is show to everyone on the server every
// ten minutes by the message plugin.
admin_repeat_msg "This server is using 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 0

// 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 0

// 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 0

// 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 0

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

// 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 1

// 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 0

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

// 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 60

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

// 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 0

// 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] That model is reserved on this server."

// The message shown to someone who gets kicked for
// trying to use a reserved nickname.
nicks_kick_msg "[ADMIN] That name is reserved on this server."

// 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 "There are no reserved slots available on the server."

// 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

Mijn probleem:
Als ik inlog terwijl shibby ook op de server zit, heb ik maar toegang to 14 commands (admin_help xx) terwijl ik mijzelf toegang heb gegeven tot alle commands (131071 toch?) Wat doe ik fout??
Ook krijg ik als ik admin_client_exec all *** intype de volgende melding: .... allow_client_exec not set to 1 terwijl jullie hierboven kunnen zien dat dit weldegelijk het geval is. :?

MacBook Pro 14" 2021


  • The Will
  • Registratie: Mei 2001
  • Laatst online: 19:04
Lijkt me niet echt slim om hier je pass te vermelden ivm lamers.

There is no magic.


  • paulmadejong
  • Registratie: Maart 2001
  • Laatst online: 04-11 20:19
Ok ben er al achter:
Dit stond fout --> GiNoLa:mijn pass:2048
dat moest zijn GiNoLa:mijn pass:131071
stom stom stom
Maar dan heb ik nog 1 probleem. De command admin_t of admin_ct werkt niet bij mij??? :? Iemand?

MacBook Pro 14" 2021


  • paulmadejong
  • Registratie: Maart 2001
  • Laatst online: 04-11 20:19
Op maandag 25 februari 2002 16:32 schreef The Will het volgende:
Lijkt me niet echt slim om hier je pass te vermelden ivm lamers.
Duh.. zijn geen echte passes!! :)

MacBook Pro 14" 2021


  • KeRsTmAnNeKe
  • Registratie: Februari 2001
  • Laatst online: 00:37
misschien ook die clantag welhalen en use_regex op 1 zetten...

dat admin_t admin_ct werkt bij ons ook niet echt goed :)

  • paulmadejong
  • Registratie: Maart 2001
  • Laatst online: 04-11 20:19
Wat doet dat user_regex dan??

MacBook Pro 14" 2021


  • KeRsTmAnNeKe
  • Registratie: Februari 2001
  • Laatst online: 00:37
dat zorgt ervoor dat je naam niet helemaal hetzelfde hoeft te zijn als de naam waarmee je speelt...

mijn cs nick is -GF- Roeltje! en ik kan me zo in users zetten, maar ook als roeltje en dan pakt ie em ook... heb -GF- er ook instaan zodat alle members ook (beperkte) rechten hebben

  • paulmadejong
  • Registratie: Maart 2001
  • Laatst online: 04-11 20:19
Ah.. bedankt voor de tip!

MacBook Pro 14" 2021


Verwijderd

sorry dat ik dit topic weer opengooi maar ik heb een vraagje over adminmod (= volgens mij beter dan nieuw topic)
hier mijn vraag:

ik heb op mijn server alles ingesteld enzovoort
alleen ik zit met een connectie probleem, in de user.ini staat het volgende: SeVeN:1337:65535
maar als ik nu mijn server connect met mijn eigen naam dan zegt tie dat die naam al in gebruik is...hoe kan ik nu goed mijn admin-acces aanpassen?

[EDIT] kzie dat het topic bijna hetzelfde is maar toch [/EDIT

Verwijderd

niemand die de bovenstaande vraag kan beantwoorden?

  • buzz
  • Registratie: November 2000
  • Laatst online: 02-11 15:37
Op zaterdag 06 april 2002 22:41 schreef SeVeN het volgende:
ik heb op mijn server alles ingesteld enzovoort
alleen ik zit met een connectie probleem, in de user.ini staat het volgende: SeVeN:1337:65535
maar als ik nu mijn server connect met mijn eigen naam dan zegt tie dat die naam al in gebruik is...hoe kan ik nu goed mijn admin-acces aanpassen?

[EDIT] kzie dat het topic bijna hetzelfde is maar toch [/EDIT
heb je niet iets van een foutmelding? geef ff wat HL print.

Verwijderd

Op zondag 07 april 2002 12:41 schreef SeVeN het volgende:
niemand die de bovenstaande vraag kan beantwoorden?
Vul i.p.v je nickname je WON-ID in, dan kun je elke naam gebruiken die je wilt, zolang je maar met de juiste PC de server start/ingaat

  • Fakir
  • Registratie: November 2000
  • Laatst online: 03-03 10:57
Maak een cfg file aan met daarin je gegevens. Iets in de vorm van setinfo pw-home password.
Die moet je meestarten bij het opstarten van CS. Je kan gewoon +exec naam.cfg in je snelkoppeling toevoegen. Makkelijker is om in gamespy bij die server specifiek aan te geven een custom cfg file op te starten. Succes.

Verwijderd

kheb nu mijn won-id ingevult en nu kan ik de server goed connecten, maar nu wil ik een command uitvoeren bijv: admin_tsay hallo allemaal dan zegt hij dus dat ik er geen toegang tot heb

ik heb wel gewoon bij connecten van mijn server
het volgende gedaan: admin_password 1111 toen zei hij admin password retrieved maar dan kan ik nog steeds geen commands uitvoeren..

Verwijderd

?

  • RaDKiLL
  • Registratie: Mei 2001
  • Laatst online: 26-03-2023

RaDKiLL

Revived

Probeer een bind te maken waarin je je adminpw aktiveerd...

"Ik huiver de fluister, daarom schreeuw ik!"


Verwijderd

heeft hier toevallig niet iemand een nederlandse beschrijving van adminmod?

Verwijderd

Heb je een autoexec.cfg met daarin jou password?

zoiets als:

setinfo "Blaatdomainofzo" "Vagecodemetpaarcijfers"


Heel goed die manual doorlezen die erbij staat,
Admin-Mod is iets dat tijd nodig heeft
Werkt niet zo maar 1 2 3 4 :P

[Copy past roelt uit Admin Mod help :P ]

The Basics of Client Configuration



Maybe you already have some sort of idea how this all works, and you are just trying to figure out exactly what to configure and where without the explanation?



To summarize this section, here's the basics of what you can do to get your clients up and going.



Step 1. In the server.cfg file on your server, make sure you have this line:



password_field "pw-home"



Step 2. In the users.ini file on your server, make sure you have this line:



UserName:PassWord:#####



Note that in the above example, "UserName" must be replaced with the player's name, "PassWord" must be replaced with the desired password, and "#####" must be replaced with the numeric access level to be granted to that user. More information about access levels can be found in "Setting up your users.ini file."



Step 3. And in your adminpass.cfg file on your CLIENT machine, make sure you have this line:



setinfo "pw-home" "password"



Note that "pw-home" in the above line must match the value assigned to the password_field cvar in your server.cfg file from step 1 above.

[edit] Nog stukje

For example, if your users.ini file looked like this:
PlayerX:testpass:65535

and the (listen)server.cfg file had:
password_field "pw-home"

the setinfo line for PlayerX would be(in autoexec.cfg dus):

setinfo "pw-home" "testpass"



[Copy past roelt uit Admin Mod help :P ]

Verwijderd

ik zie heel die autoexe.cfg niet hoor :? op beide machines niet

Verwijderd

dan maak je die :)

kan dat?? jah dat kan....

Verwijderd

met notepad ofzo?

Verwijderd

Op dinsdag 09 april 2002 21:03 schreef SeVeN het volgende:
met notepad ofzo?
Jep

Gewoon met notepad

gewoon die regel inzetten met de juiste dingen

setinfo "blaat" "passwrod"

en dan opslaan als "autoexec.cfg"
wel checken dat windows er niet .txt achter zet

Verwijderd

Op dinsdag 09 april 2002 21:03 schreef SeVeN het volgende:
met notepad ofzo?
Zie je überhaupt bij het connecten wel iets van correcte toegang? Ik weet niet meer wat er exact staat, maar bij mij staat er iets van password correct

Verwijderd

ik zie niks als ik connect, alleen wat je normaal ook ziet..
Pagina: 1