{"id":1376,"date":"2025-07-29T14:25:00","date_gmt":"2025-07-29T12:25:00","guid":{"rendered":"http:\/\/shabazz.fr\/?page_id=1376"},"modified":"2025-07-30T16:48:20","modified_gmt":"2025-07-30T14:48:20","slug":"donner-des-droits-dadmin","status":"publish","type":"page","link":"http:\/\/shabazz.fr\/?page_id=1376","title":{"rendered":"Donner des droits d&#8217;admin"},"content":{"rendered":"\n<p><strong>Configuration: Admins<\/strong><br><br>The following instructions are for admins stored in addons\\amxmodx\\configs\\users.ini. <br>If you are using SQL, please refer to the SQL section.<br><br>Open users.ini with your favorite text editor. There are four parameters when adding a user:<br>Authentication Style, Password, Access Rights, Connection Flags<br>Generally, a users.ini entry will look like this:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&quot;STEAMID&quot; &quot;&quot; &quot;abcdefghijklmnopqrstu&quot; &quot;ce&quot;<\/code><\/pre><\/div>\n\n\n\n<p>Or for a more concrete example:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&quot;STEAM_0:0:123456&quot; &quot;&quot; &quot;abcdefghijklmnopqrstu&quot; &quot;ce&quot;<\/code><\/pre><\/div>\n\n\n\n<p>This means:<br><br>Authentication: STEAM_0:0:123456<br>Password: None (auth by SteamID)<br>Access Rights: a through u<br>Connection Flags: SteamID + No Password<br><br>In general you should follow this example. Rarely should you ever need to authenticate by password + name, but it is possible. Here is what the entry would look like:<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&quot;BAILOPAN&quot; &quot;mypass&quot; &quot;abcdefghijklmnopqrstu&quot; &quot;a&quot;<\/code><\/pre><\/div>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-size:16px\"><code>Then to authenticate yourself, edit \"autoexec.cfg\" (or create it) in your client mod folder and add:<\/code><\/pre>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>setinfo &quot;_pw&quot; &quot;mypass&quot;<\/code><\/pre><\/div>\n\n\n\n<p>Where &#8220;_pw&#8221; is the setting for amx_password_field in amxx.cfg.<br>The available access and connection flags are below.<br>Important: Do not use &#8220;z&#8221; for admins.<br><br><strong>Access Flag Purpose<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>a immunity (can&#8217;t be kicked\/baned\/slayed\/slaped and affected by other commmands)<\/li>\n\n\n\n<li>b reservation (can join on reserved slots)<\/li>\n\n\n\n<li>c amx_kick command<\/li>\n\n\n\n<li>d amx_ban and amx_unban commands<\/li>\n\n\n\n<li>e amx_slay and amx_slap commands<\/li>\n\n\n\n<li>f amx_map command<\/li>\n\n\n\n<li>g amx_cvar command (not all cvars will be available)<\/li>\n\n\n\n<li>h amx_cfg command<\/li>\n\n\n\n<li>i amx_chat and other chat commands<\/li>\n\n\n\n<li>j amx_vote and other vote commands<\/li>\n\n\n\n<li>k access to sv_password cvar (by amx_cvar command)<\/li>\n\n\n\n<li>l access to amx_rcon command and rcon_password cvar (by amx_cvar command)<\/li>\n\n\n\n<li>m custom level A (for additional plugins)<\/li>\n\n\n\n<li>n custom level B<\/li>\n\n\n\n<li>o custom level C<\/li>\n\n\n\n<li>p custom level D<\/li>\n\n\n\n<li>q custom level E<\/li>\n\n\n\n<li>r custom level F<\/li>\n\n\n\n<li>s custom level G<\/li>\n\n\n\n<li>t custom level H<\/li>\n\n\n\n<li>u menu access<\/li>\n\n\n\n<li>z user (no admin)<\/li>\n\n\n\n<li><\/li>\n\n\n\n<li><\/li>\n\n\n\n<li>Connection Flag Purpose<\/li>\n\n\n\n<li>a disconnect player on invalid password<\/li>\n\n\n\n<li>b clan tag<\/li>\n\n\n\n<li>c this is steamid\/wonid<\/li>\n\n\n\n<li>d this is ip<\/li>\n\n\n\n<li>e password is not checked (only name\/ip\/steamid needed)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Configuration: Admins The following instructions are for admins stored in addons\\amxmodx\\configs\\users.ini. If you are using SQL, please refer to the SQL section. Open users.ini with your favorite text editor. There are four parameters when adding a user:Authentication Style, Password, Access Rights, Connection FlagsGenerally, a users.ini entry will look like this: \u2026 <a class=\"continue-reading-link\" href=\"http:\/\/shabazz.fr\/?page_id=1376\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1376","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/1376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shabazz.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1376"}],"version-history":[{"count":4,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/1376\/revisions"}],"predecessor-version":[{"id":1428,"href":"http:\/\/shabazz.fr\/index.php?rest_route=\/wp\/v2\/pages\/1376\/revisions\/1428"}],"wp:attachment":[{"href":"http:\/\/shabazz.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}