Raised This Month: $51 Target: $400
 12% 

Advanced Server Info


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-03-2006 , 19:48   Advanced Server Info
Reply With Quote #1

A little plugin for handling info to the players.
Got the idea because i was tierd of compiling a lilltle plugin i made.
Then got to work and this is the outcome.

Just unzip in cstrike folder, and add advserverinfo.amxx to plugins.ini
Edit data/myMOTD.txt and enjoy

Code:
/**************************************************************************** *** AMXX Plugin:   Advanced Server Info *** Plugin Author: Lone Wolf *** Credits:    SweatyBanana *** Date:          4th July, 2006 * *  This plugins is for AMXmodX 1.71 *  With this plugin you need a webspace for messages, but you dont need to *  recompile for adding new messages. It automaticaly make a new motd box, wich *  is activated by usercommands. *  The advantage by using a webspace for the motd is the full functionality of *  the HTML launguage, it can even run scripts, PHP and ASP this way. *  *  Besides the amxx file, there is a data file called myMOTD.txt *  To use put in your command and url to the message file, seperated by ":" *  Example: !amxmodx:<a href="http://www.amxmodx.org" target="_blank" rel="nofollow noopener">http://www.amxmodx.org</a> *  When a user types !amxmodx there will popup a MOTD box whith amxmodx.org inside. *  Very usefull for server rules and so on. *  *  It even posts commands with a 5 minute interval. * *  A big thanks to xOR for helping out with the splitting of the line read * ****************************************************************************/

*UPDATE*
CVAR added to give the choice on how to give the info
Time interval updated to 5 min.
Function to tell new user how to get commands if they must ask for them.

Install note:
Unzip to cstrike dir
Add advserverinfo.amxx to plugins.ini
Add CVAR amx_advsrvInfo 0/1 to amxx.cfg //0 for !commands and 1 for timer
Edit data/myMOTD.txt //examples in the file

To do list:
Add the cvar in cfg file or in myMOTD.txt to determine if it should run !command or timer.
Install.txt to add in zip package

/Lone Wolf
Attached Thumbnails
Click image for larger version

Name:	advserverinfo.jpg
Views:	1056
Size:	91.3 KB
ID:	8694  
Attached Files
File Type: zip advserverinfo.zip (6.3 KB, 341 views)
File Type: sma Get Plugin or Get Source (advserverinfo.sma - 1119 views - 3.4 KB)
__________________
Enjoy getting older - The only alternative is death!

Last edited by L0neW0lf; 07-04-2006 at 18:01.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
-=STN=- MaGe
Veteran Member
Join Date: Apr 2004
Location: Asault World
Old 07-03-2006 , 21:20   Re: Advanced Server Info
Reply With Quote #2

not being funny but this plugin has been made 5 times before.
__________________



-=STN=- MaGe is offline
Send a message via Yahoo to -=STN=- MaGe
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-03-2006 , 21:52   Re: Advanced Server Info
Reply With Quote #3

ok - havent found one which covered my needs, but anyways i learned a lot doing it
__________________
Enjoy getting older - The only alternative is death!
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 07-04-2006 , 00:29   Re: Advanced Server Info
Reply With Quote #4

Actually this isnt a bad idea..

Just a suggestion, make an option to display all of the !site commands.


like in a default !links motd.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-04-2006 , 03:46   Re: Advanced Server Info
Reply With Quote #5

you mean remove the timer and put it in as a command ?
ill put it in, with an option for timer or command

timer vil be set higher to, i can se it stands at 30 seconds, which i used for test, should be 5 min.

it will be done later
__________________
Enjoy getting older - The only alternative is death!

Last edited by L0neW0lf; 07-04-2006 at 03:52.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-04-2006 , 17:59   Re: Advanced Server Info
Reply With Quote #6

it is now updated
__________________
Enjoy getting older - The only alternative is death!
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-04-2006 , 21:58   Re: Advanced Server Info
Reply With Quote #7

this is not orginal moved to unapproved
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
L0neW0lf
Member
Join Date: Mar 2006
Location: Denmark
Old 07-05-2006 , 00:24   Re: Advanced Server Info
Reply With Quote #8

Quote:
this is not orginal moved to unapproved
__________________
Howto install my plugins - Amx Plugins
Basic Admin Tool If your looking for a source admin tool

Dont PM for support on Amxmodx plugins
I dont teach coding to random ppl that pm me or code custom plugins for them
@EKS: Your post aint original, -=STN=-MaGe allready said so......

And i still cant find one but what ever............
I still learned a lot thats the important thing for me, and ppl who do find it usefull still can find it in unaproved so do what you must do.....
__________________
Enjoy getting older - The only alternative is death!

Last edited by L0neW0lf; 07-05-2006 at 00:42.
L0neW0lf is offline
Send a message via ICQ to L0neW0lf Send a message via MSN to L0neW0lf Send a message via Skype™ to L0neW0lf
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 07-05-2006 , 02:27   Re: Advanced Server Info
Reply With Quote #9

Quote:
Originally Posted by L0neW0lf
@EKS: Your post aint original, -=STN=-MaGe allready said so......

And i still cant find one but what ever............
I still learned a lot thats the important thing for me, and ppl who do find it usefull still can find it in unaproved so do what you must do.....
True but im a plugin approve and have all the all mighty power of moving plugins. But for some reason the "thread tools" dropdown box dont work :/ so i cannot move the plugin

Other then that i have a plugin that allows you to add custom motd window commands. And there are others
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 07-05-2006 , 08:51   Re: Advanced Server Info
Reply With Quote #10

Quote:
Originally Posted by EKS
... But for some reason the "thread tools" dropdown box dont work :/ so i cannot move the plugin ...
Are you using IE?
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Reply



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 13:55.


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