Raised This Month: $ Target: $400
 0% 

X-Rules (Motd Rules)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 07-16-2013 , 16:45   X-Rules (Motd Rules)
Reply With Quote #1

Description

This plugin allows players to check rules saying /rules.
Rules are opened in motd.
You can also have admin rules that are opened with /adminrules. (you can desativate via cvar)

How To Use

Put amxx file into plugins folder, enable it in plugins.ini and copy the file rules.ini into your configs folder.
For change rules edit the rules.ini but remember: do it as it is as default. Dont make new lines for new rules, just separate with "," without the quotes("").
Example:
Code:
RULES = Your Rule Number 1 , Your Rule Number 2 , Your Rule Number 3 , etc
ADMIN_RULES = Admin Rule Number 1 , Admin Rule Number 2 , Admin Rule Number 3 , etc
Credits

Dias for array code that i took from him zombie escape plugin.
ConnorMcLeod for optimizations suggestions
Sami for some help with php
Attached Files
File Type: ini rules.ini (154 Bytes, 654 views)
File Type: sma Get Plugin or Get Source (xrules.sma - 1393 views - 4.3 KB)
__________________

Last edited by Jhob94; 07-16-2013 at 21:09. Reason: Update
Jhob94 is offline
Old 07-16-2013, 17:09
Serious Guy
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-16-2013 , 17:13   Re: X-Rules (Motd Rules)
Reply With Quote #2

You could format MOTDs when you read the file, instead of filling dynamics array and reading them each time command is called.
Because data won't change.

And yes, sounds redundant.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 07-16-2013 , 17:21   Re: X-Rules (Motd Rules)
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
You could format MOTDs when you read the file, instead of filling dynamics array and reading them each time command is called.
Because data won't change.
Gonna do it when have time

Quote:
Originally Posted by Serious Guy View Post
There are so much motd plugins , you suck
Quote:
Originally Posted by ConnorMcLeod View Post
And yes, sounds redundant.
Maybe you guys are right, but motd is probably the best way to check server rules becuase with huds it sucks
I think there isnt another motd rules plugin that uses one file to change rules anytime he wants.
For make motd rules, is needed to do with image (need make new image anytime need add a new rule) or understand good about php and html, this plugin makes that more easy and simple...
__________________
Jhob94 is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 06-16-2014 , 21:46   Re: X-Rules (Motd Rules)
Reply With Quote #4

Redundant.
Mostly going to get unapproved like all the other MOTD plugins.
__________________
Like my clean plugins and work?
Baws is offline
EthicalHacker007
Veteran Member
Join Date: May 2014
Old 06-17-2014 , 00:01   Re: X-Rules (Motd Rules)
Reply With Quote #5

eh...?

https://forums.alliedmods.net/showthread.php?t=24092

https://forums.alliedmods.net/showthread.php?t=219185
__________________
EthicalHacker007 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-17-2014 , 02:57   Re: X-Rules (Motd Rules)
Reply With Quote #6

That isn't the same as this.
__________________
Jhob94 is offline
Old 06-17-2014, 02:58
EthicalHacker007
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-17-2014, 14:26
Jhob94
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-18-2014, 00:11
EthicalHacker007
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-18-2014 , 00:30   Re: X-Rules (Motd Rules)
Reply With Quote #7

Good plugin.
ArabicMan is offline
Old 06-18-2014, 15:50
Jhob94
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-18-2014, 22:11
EthicalHacker007
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-19-2014, 02:48
Jhob94
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-19-2014, 03:21
EthicalHacker007
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-19-2014, 14:01
Jhob94
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-19-2014, 16:13
GinNNy
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-19-2014, 23:11
EthicalHacker007
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-19-2014, 23:29
Baws
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Old 06-20-2014, 00:09
GinNNy
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 06-20-2014 , 00:53   Re: X-Rules (Motd Rules)
Reply With Quote #8

Technically, this is not redundant as the other MOTD display plugins do not behave in the method this one does. But, I don't feel it is that big of a difference to warrant anything. Right now, I feel that the other MOTD display plugins have much more customization than this one due to the fact that you can edit the HTML code directly.
__________________
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
Old 06-20-2014, 03:53
EthicalHacker007
This message has been deleted by asherkin. Reason: Errbody on the ban train to banland.
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 06-20-2014 , 08:23   Re: X-Rules (Motd Rules)
Reply With Quote #9

Quote:
Originally Posted by YamiKaitou View Post
Right now, I feel that the other MOTD display plugins have much more customization than this one due to the fact that you can edit the HTML code directly.
Yes, and people that know html can use that ones. This is for people that dont understand about html.


Off-Topic: Asherkin, am i on the train for banland? That makes no sense, but ok. You can up the speed of train and ban me right now. I am in a depression irl, come here to read that retarded posts isn't really something that i am up to.

Cya.
__________________
Jhob94 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-08-2020 , 06:41   Re: X-Rules (Motd Rules)
Reply With Quote #10

https://forums.alliedmods.net/showthread.php?t=297627
More complex plugin here. Unapproved.
__________________
HamletEagle 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 20:51.


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