Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Admin Trustee Script to work along w/amxbans


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 14.12.2016 22:00

<div>/* Admin Trustee Tool 2.1b<br />*<br />* This plugin is a in-game / console tool that manages users, bans, logging, messaging, password protection for IP users and<br />* other miscellaneous features.<br />*<br />* Intended to run along side of amxbans, this plugin can be used to allow each server manager the ability to choose their own<br />* set of trusted admins with certain restrictions and or as a trial admin run before making them permanent in amxbans.<br />*<br />* With the ability to restrict certain commands based upon a users access, it will give options to allow/deny access to<br />* commands, see access levels below.<br />*<br />* For instance, if you want to add someone only to have access to use amx_chat and see admin chat but not allow to use kick, ban, slap/slay or etc.<br />*<br />* Admin hierarchy:<br />*<br />* rconadmin - Required flag ADMIN_RCON and rconadmin, gives full access to this plugin.<br />* useradmin - By giving useradmin account, this will allow certain users to have access to add, remove and edit user accounts.<br />* basic trustee - As stated a basic trustee account with access restrictions.<br />*<br />* Plugin features:<br />*<br />* 1) Mainly a console tool, a menu has been added for ease of use, however most behind the scenes commands will be run in<br />* console.<br />*<br />* 2) Restricts most but a few commands, see access levels below. Use command trustee_cmdblock &lt;command&gt; in amxx.cfg to<br />* add more.<br />*<br />* 3) Bans made by basic trustees are set to expire, rconadmin/useradmin can toggle any ban to perm via console &quot;amx_trustee<br />* toggle &lt;steamid/ip&gt; banstate&quot;<br />*<br />* 4) All users who do not have steam and IP only are required to set a password, they can use the admin_trustee_pw tool to<br />* set passwords/login.<br />*<br />* 5) Accounts can be auto set to expire for inactivity by use of command &quot;admin_trustee toggle &lt;steam/ip&gt; expires&quot;, 4<br />* different toggle states as seen below.<br />*<br />* 6) View the userslist, bans and notices through the trustee menu or console tool amx_trustee userslist, amx_trustee banlist<br />* and amx_trustee msglist.<br />*<br />* 7) Under Ban Control/Bans on the trustee menu, automated reasons are setup for any given ban such as &quot;Aimbot&quot;,<br />* &quot;Aimbot+Wallhack&quot; and etc.<br />*<br />* 8) Allows you to add DemoURLs to any given ban via &quot;amx_trustee toggle &lt;banned steam or ip&gt; bandemo &lt;[url="""]http://URL&gt;&quot;<br[/url]/>* 9) Through the menu, you can easily use the chat feature to send message to all admins.<br />* 10) Keeps tracks of last logins and clients who are banned that join.<br />* 11) Auto maintains and keeps organized the userslist, bans and logging files.<br />* 12) Allows you to make useradmin which in terms means an account manager besides rconadmin level.<br />* 13) Anyone with useradmin/rconadmin can add, remove and toggle certain accesses, however changes done by rconadmin<br />* cannot be overridden.<br />*<br />* 14) Clean menus and organized menu listings.<br />* 15) Anti console flood protection, when doing a list a time is set in increments to display bans, notices and messages. using<br />* &quot;amx_trustee stoplist&quot; will remove any listings from a console otherwise use trustee_menu for faster access.<br />*<br />* 16) Anti userslist corruption, changes being done to an account locks out anyone from using certain commands until the file<br />* changes have completed.<br />*<br />* 17) The ability to weed out logging levels so that only the people with access can see. See Logging Levels below.<br />* 18) WooHoo a random password generator for admin_trustee_pw<br />* 19) A cool banning feature, type amx_trustee iwantbandemo to see what it does.<br />* 20) And hopefully a nice help system so that even the simple minded can understand.<br />*<br />* Console commands:<br />*<br />* trustee_reload - Used to reload users, bans and notices. *rconadmin required.*<br />* admin_trustee - Console tool to add/remove users, change access levels and other misc commands, type admin_trustee in<br />* console for more usage.<br /><br />* amx_trustee - Console tool to add/remove bans, messages, notices and other misc, type amx_trustee in console for more<br />* usage.<br />* admin_trustee_pw - Console tool to add/remove passwords, type admin_trustee_pw in console for more info.<br />* trustee_cmdblock - By default, most but a few commands are blocked starting with amx*, use this command via amxx.cfg to<br />* block other commands not starting with amx*<br /><br />* trustee_menu - Opens up the trustee menu for ease of use, most commands are required you do them from console, the<br />* menu is limited in what can be done.<br />*<br />* CVAR settings for amxx.cfg:<br />*<br />* sv_admintrustee (Default: 1 | 0 = off) - Enables/Disabled plugin.<br />* trustee_amxbans_purge (Default: 1 | 0 = off) - Enable this if you want permanent bans made in this plugin to purge over to<br />* amxbans after a timeout period<br /><br />* trustee_banpurge_time (Default: 2419200 = 1month) - The amount of time to hold a permanent ban before purging it<br />* over to amxbans.<br />* trustee_forcepassword (Default: 0) - Enable this if you want to force all users to use a password to login via<br />* admin_trustee_pw<br />* trustee_banexpire (Default: 432000 = 5days) - If ban is made by basic trustee, it will expire in this amount of time if not<br />* approved by rconadmin/useradmin.<br /><br />* trustee_unbanlock (Default: 600 = 10minutes) - For basic trustee users, setting this option will restrict them from unbanning<br />* a user after a timeout period.<br /><br />* trustee_notices (Default: 1 | 0 = off) - This is the logging, notice and messaging system.<br />* trustee_noticeexpire (Default: 2419200 = 1month) - This is the expiration time of a given message or log before it is<br />* removed.<br />* trustee_maxnotices (Default: 999 | 1 to 999) - Maximum amount of logs, messages and notices before they expire and are<br />* automatically removed.<br />*<br />* Access Levels:<br />*<br />* rconadmin - Allow/Deny full root control admin access. *rconadmin access required!*<br />* useradmin - Allow/Deny access to admin_trustee, make account manager. *rconadmin access required!*<br />* enabled - Enable/Disable trustee access. *useradmin/rconadmin req!*<br />* expires - Account expiration toggle (0-5): (0/Perm) (1-4/Weeks) (5/Auto disable if inactive for 2 weeks!)<br />* allaccess - Allow/Deny access to all commands available for ^&quot;cei^&quot; flags. rconadmin required!*<br />* chataccess - Allow/Deny access to amx_chat and view admin conversations.&quot;)<br />* slayaccess - Allow/Deny user to use amx_slay command!&quot;)<br />* muteaccess - Allow/Deny user to use amx_mute/amx_gag commands!&quot;)<br />* blindaccess - Allow/Deny user to use amx_blind access!&quot;)<br />* nickaccess - Allow/Deny user to use amx_nick command!&quot;)<br />* slapaccess - Allow/Deny user to use amx_slap command!&quot;)<br />* kickaccess - Allow/Deny user to use amx_kick command!&quot;)<br />* transferacc - Allow/Deny user to use amx_transfer command!&quot;)<br />* banaccess - Allow/Deny a trustee to ban a user from game play!&quot; )<br />* editlock - Allow/Deny other user admin managers to edit this account. *rconadmin* over rides this!*<br />* newuser - Toggle whether or not to send new user information. *On by default when adding new trustees.*<br />*<br />* Logging Levels:<br />*<br />* Level 1: General notice to all default admin trustee level.<br />* Level 2: Message to useradmin and rconadmins only.<br />* Level 3: Message to rconadmin only.<br />* Level 4: Message level top priority notice above all, no delete, permanent!<br />*<br />* Setup:<br />*<br />* 1) Put admin_trustee.amxx in plugins.ini, some where near the top.<br />* 2) Edit amxx.cfg, add the CVAR settings as seen above some where in there or use the defaults.<br />* 3) Edit custommenuitems.cfg and add &quot;amx_addmenuitem &quot;Admin Trustee Menu&quot; &quot;trustee_menu&quot; &quot;hu&quot; &quot;admin_trustee.amxx&quot;&quot;<br />* 4) After plugin is loaded, you will require ADMIN_RCON, go to the server and type in console &quot;admin_trustee_pw rconpass&quot;<br />* 5) This saves the master rcon password to file, this password is used to override other rconadmin settings.<br />* 6) As well, you should save the password for later use.<br />* 7) Next type in admin_trustee, amx_trustee, trustee_menu, amx_trustee msgsend and admin_trustee_pw for more usage<br />* help.<br />*<br />* 8) Anyone with ADMIN_RCON flag and knows the master password can authorize to have access and add themselves.<br />* 9) Add users using admin_trustee and toggle their access flags, look at any giving account by use of admin_trustee<br />* userslist/amx_trustee userslist.<br />*<br />* 10) Edit a file and name it &quot;admin_trustee_newuser.ini&quot;. In this file you can set rules or new user information for newly added<br />* users.<br />*<br />*/</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...26"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1481750849">GetSource</a> (admin_trustee.sma - 270.4 KB)

</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych