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

req simple plugin!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
xDD
Junior Member
Join Date: Dec 2014
Location: Earth
Old 12-30-2014 , 01:15   req simple plugin!
Reply With Quote #1

Hello AlliedModders,

I need a simple plugin in which when i type in chat /servers or /ips a "MOTD" will open and there will be ips of our all server!

Dont suggest me to use xredirect because it is a non-stmr plugin and blocked by valve too.
hope u understand!

Thanks in advance!

Last edited by xDD; 12-30-2014 at 01:16.
xDD is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-30-2014 , 01:23   Re: req simple plugin!
Reply With Quote #2

Search for any MOTD plugin and edit the link in it.
__________________
Kia is offline
xDD
Junior Member
Join Date: Dec 2014
Location: Earth
Old 12-30-2014 , 04:55   Re: req simple plugin!
Reply With Quote #3

Quote:
Originally Posted by Kia View Post
Search for any MOTD plugin and edit the link in it.
Mmm, Thanks Kia fr u rply i have searched for keyword :- MOTD. I got nothing!
xDD is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-30-2014 , 05:31   Re: req simple plugin!
Reply With Quote #4

I found a lot of them, but here you go.
Code:
#include <amxmodx> #define AUTHOR "Kia" #define PLUGIN "MOTD Window" #define VERSION "1.0" public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd("say /servers", "ClCMD_servers") } public ClCMD_servers(id) {     show_motd(id, "mypage.html", "Our Servers") }
__________________
Kia is offline
xDD
Junior Member
Join Date: Dec 2014
Location: Earth
Old 12-30-2014 , 07:25   Re: req simple plugin!
Reply With Quote #5

Quote:
Originally Posted by Kia View Post
I found a lot of them, but here you go.
Code:
#include <amxmodx> #define AUTHOR "Kia" #define PLUGIN "MOTD Window" #define VERSION "1.0" public plugin_init() { &nbsp;&nbsp;&nbsp;&nbsp;register_plugin(PLUGIN, VERSION, AUTHOR) &nbsp;&nbsp;&nbsp;&nbsp;register_clcmd("say /servers", "ClCMD_servers") } public ClCMD_servers(id) { &nbsp;&nbsp;&nbsp;&nbsp;show_motd(id, "mypage.html", "Our Servers") }
Hmmm, thanks a lot kia bt can u tell me where i will put my ips and can i put 5-6 server ips? :p
xDD is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 12-30-2014 , 07:37   Re: req simple plugin!
Reply With Quote #6

It is currently configured to display the mypage.html file, but you can change it to any file you wish.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 12-30-2014 , 07:37   Re: req simple plugin!
Reply With Quote #7

Quote:
Originally Posted by xDD View Post
Hmmm, thanks a lot kia bt can u tell me where i will put my ips and can i put 5-6 server ips? :p

edit the Motd and add ur ips

[Code Updated]

Code:
<html>
<head>
<body>
Ip1 : 125.110.11121:2222</br>
ip2:</br>
ip:3 </br>
etc tec</br>
</body>
</head>
</html>
make html File ^^is Example

Last edited by tousif; 12-30-2014 at 07:45.
tousif is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 12-30-2014 , 07:42   Re: req simple plugin!
Reply With Quote #8

Quote:
Originally Posted by tousif View Post
edit the Motd and add ur ips

Code:
<html>
<head>
<body>
Ip1 : 125.110.11121:2222
ip2:
ip:3 
etc tec
</body>
</head>
</html>
make html File ^^is Example
You forgot the </br> tag after each IP.
__________________
Kia is offline
Old 12-30-2014, 07:44
tousif
This message has been deleted by tousif.
xDD
Junior Member
Join Date: Dec 2014
Location: Earth
Old 12-30-2014 , 14:40   Re: req simple plugin!
Reply With Quote #9

ohh nw i understand thanks a lot for helping me Kia, yami and tousif
xDD is offline
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 01:16.


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