MOTD mangement
Posted: Tue Nov 23, 2021 12:04 am
The goal of this plugin combin all the MOTD box needs into 1 simple plugin, yet keep it easy to change. It allows: WebBrowsing,Showing rules,Show Player info (CM style) & Internal Adminnews.
FAQ:
Q) How do i add my own say hooks?
A) amx_addsayhook <What to hook> <url or point to a file> ( Remeber quotes around every each part. Example : amx_addsayhook "stats" "http://www.mysite.com/stats" )
Q)Whats the point with the DEFINE SECTION
A)You will be able to disable sections you dont want.
Q)The URL i entered does not show on the client
A)Remember you must be able to browse the page from the client.
Q) How do i change the URL`s if i disable the cvars?
A) If you dont know, dont disable the cvars.
Q) How do i change the default pages ?
A) Change the following cvars: amx_adminnewsurl,amx_publicrulesurl,amx_brows erhomeurl
Credits:
Ops in #AMXmod @ Quakenet for alot of help ( + AssKicR & CheesyPeteza )
Loads ripped from: http://amxmod.net/forums/viewtopic.php?t=17812 ( ST4life )
Web browser code from: http://amxmod.net/forums/viewtopic.php?t=22159 ( f117bomb )
Playerinfo code is based from code of JohnnyGotHisGun
Known issues:
Using url`s with spaces in them in ANY of the cvars will mess things up
amx_browse "http://www.db.no" REQUIRES quotes
Changelog
1.4.0
- Added: amx_addsayhook "helpme" "http://www.myhelppage" Or any other hook you may want allows admins to add the chat hooks they want
plugin
FAQ:
Q) How do i add my own say hooks?
A) amx_addsayhook <What to hook> <url or point to a file> ( Remeber quotes around every each part. Example : amx_addsayhook "stats" "http://www.mysite.com/stats" )
Q)Whats the point with the DEFINE SECTION
A)You will be able to disable sections you dont want.
Q)The URL i entered does not show on the client
A)Remember you must be able to browse the page from the client.
Q) How do i change the URL`s if i disable the cvars?
A) If you dont know, dont disable the cvars.
Q) How do i change the default pages ?
A) Change the following cvars: amx_adminnewsurl,amx_publicrulesurl,amx_brows erhomeurl
Credits:
Ops in #AMXmod @ Quakenet for alot of help ( + AssKicR & CheesyPeteza )
Loads ripped from: http://amxmod.net/forums/viewtopic.php?t=17812 ( ST4life )
Web browser code from: http://amxmod.net/forums/viewtopic.php?t=22159 ( f117bomb )
Playerinfo code is based from code of JohnnyGotHisGun
Known issues:
Using url`s with spaces in them in ANY of the cvars will mess things up
amx_browse "http://www.db.no" REQUIRES quotes
Changelog
1.4.0
- Added: amx_addsayhook "helpme" "http://www.myhelppage" Or any other hook you may want allows admins to add the chat hooks they want
plugin