AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   HTML Command List Generator v0.3 ( Ludwig van ) (https://forums.alliedmods.net/showthread.php?t=2516)

jtp10181 06-07-2004 10:29

HTML Command List Generator v0.3 ( Ludwig van )
 
2 Attachment(s)
********************************************* *******************************
*
* Version 0.3 - Date: 11/07/2005
*
* Original by Eric Lidman aka "Ludwig van" <[email protected]>
* Homepage: http://lidmanmusic.com/cs/plugins.html
*
* Upgraded to STEAM and ported to AMXx by: jtp10181 <[email protected]>
* Homepage: http://www.jtpage.net
*
********************************************* *******************************

This is basically amx_help with a twist. Use amx_help in game,
but use this plugin to create command lists for your admins in an
html page format. I wrote this plugin because my admins are always
asking me to send them a command list by email. But since my server
constantly changes as I write and add/subtract stuff, its hard to
keep a list up to date. Now I can with ease and I can taylor the
list to the admin's access level. An html file is created in your
amx folder when you execute this command with all the commands that
are currently on your server.

Admin Commands:

amx_writehelp <flags>

- Writes a list of all the commands that an admin with the flags you enter has access. If no flags are given, all flags are used.

amx_writeallhelp

- Writes a list of all the commands that are accesible for full admins or form the server console. Also writes a file for each level of admin found in the users.ini

Changelog:

v0.3 - JTP10181 - 11/07/05
  • Added alternating colored rows for easier reading
  • Fixed issues with very long info lines and the replace code
v0.2.1 - JTP10181 - 06/08/04
  • Removed all \ line breaks, not supported anymore.
v0.2 - JTP10181
  • Changed all [AMX] tags to [AMXX]
  • Added feature to show help in a MOTD popup (not working yet)
  • Reworked all the HTML output, no hardcoded style stuff except for the main table. That makes it easy to copy/paste the code into your own site.
  • Made the HTML output its own function so the MOTD popup could also call it.
  • Removed the progress printouts because it was useless
  • Made it so it outputs CLIENT commands even if run form server console
  • Added a command to output ALL the commands to a file (server and client)
  • Made the replace code replace it with the HTML code instead of other characters
  • Removed access flags output from writehelp. Only in writeallhelp now.
  • Added feature to parse the users.ini and write output for each admin type it finds. Activated with amx_writeallhelp. Thanks to EKS for most of the code and the idea.
Below v0.2 was maintained by Eric Lidman

kingpin 06-07-2004 10:31

this has already been done. please search before porting.

jtp10181 06-07-2004 10:33

I am the offical maintainer of Luds plugins..... I figured everyone knew that already so I did not bother putting it in my post.

kingpin 06-07-2004 10:34

http://130.215.31.29/forums/viewtopi...dlistgenerator

jtp10181 06-07-2004 10:38

Quote:

Originally Posted by jtp10181
I am the offical maintainer of Luds plugins..... I figured everyone knew that already so I did not bother putting it in my post.

ok... consider me the original author of this plugin and I am requesting it be handed over to me.... Lud handed his work over to me to maintain. Trust me. This is what BAILOPAN told me to do, start a new post then PM him and he would take care of the old one.

nightscreem 02-06-2005 17:06

can someone make a exemple of it plz i don't know what to do

jtp10181 02-06-2005 18:48

use this command in the console

Code:

amx_writeallhelp
pretty complicated :roll:

-}NK{-Oj@eKiLLzZz 02-07-2005 09:13

Quote:

Originally Posted by jtp10181
use this command in the console

Code:

amx_writeallhelp
pretty complicated :roll:

lol nice plugin thanks man!

robbob4 02-07-2005 18:25

swete! 8)

TiMbErLaNd 02-21-2005 15:40

ok it says it makes a file...but where exactly does it go, did a search cant find it, you said it goes in yer amxx folder....is this correct,why would you have that folder if you are just playing you are not hosting. would like to know all about this plugin can be very useful when people purchase admin from yer server, its takes most of the question "what commands can i use" out of the equation. and did we plan to make this work with motd so that during gameplay this could be observed. would be glad if someone could get that going. thanks


All times are GMT -4. The time now is 10:05.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.