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 - 1392 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 #3

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 #4

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 #5

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 #6

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 #7

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.
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 20:48.


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