Raised This Month: $100 Target: $400
 25% 

HTML Command List Generator v0.3 ( Ludwig van )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management        Approver:   Johnny got his gun (102)
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-07-2004 , 11:29   HTML Command List Generator v0.3 ( Ludwig van )
Reply With Quote #1

********************************************* *******************************
*
* 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
Attached Files
File Type: sma Get Plugin or Get Source (amx_ejl_cmdlistgenerator.sma - 1747 views - 9.8 KB)
__________________

Last edited by jtp10181; 08-06-2006 at 11:13.
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 06-07-2004 , 11:31  
Reply With Quote #2

this has already been done. please search before porting.
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-07-2004 , 11:33  
Reply With Quote #3

I am the offical maintainer of Luds plugins..... I figured everyone knew that already so I did not bother putting it in my post.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 06-07-2004 , 11:34  
Reply With Quote #4

http://130.215.31.29/forums/viewtopi...dlistgenerator
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 06-07-2004 , 11:38  
Reply With Quote #5

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.
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 02-06-2005 , 18:06  
Reply With Quote #6

can someone make a exemple of it plz i don't know what to do
__________________
- Bye bye!
nightscreem is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 02-06-2005 , 19:48  
Reply With Quote #7

use this command in the console

Code:
amx_writeallhelp
pretty complicated
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
-}NK{[email protected]
Senior Member
Join Date: Dec 2004
Location: NC
Old 02-07-2005 , 10:13  
Reply With Quote #8

Quote:
Originally Posted by jtp10181
use this command in the console

Code:
amx_writeallhelp
pretty complicated
lol nice plugin thanks man!
-}NK{-Oj@eKiLLzZz is offline
Send a message via AIM to -}NK{-Oj@eKiLLzZz
robbob4
Senior Member
Join Date: Jan 2005
Old 02-07-2005 , 19:25  
Reply With Quote #9

swete!
robbob4 is offline
TiMbErLaNd
Senior Member
Join Date: Jan 2005
Location: Detroit, Michigan
Old 02-21-2005 , 16:40  
Reply With Quote #10

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
TiMbErLaNd is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:26.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode