[SOLVED] Rule sections

Fixed bugs, solved problems, and old reports.
Locked
User avatar
Karma
Offline
Posts: 14
Joined: February 28th, 2012, 7:25 am

[SOLVED] Rule sections

Post by Karma »

How do i create rule sections for ranks.
[2012-05-13 01:45:27] #fragmer promoted #Helio_ from supop to #owner Promotion reason: penis
[2012-05-13 01:45:52] PelvicUltrasound: wonder how long that'll last:P
[2012-05-13 01:47:05] #fragmer demoted Helio_ from #owner to supop
Demotion reason: meow

User avatar
Intertoothh
Trustee
Offline
Posts: 1149
Joined: May 24th, 2011, 5:51 am

Re: Rule sections

Post by Intertoothh »

There is a nice wiki page for this:

http://www.fcraft.net/wiki//Rules

I hope that page will help you out, if you have any questions just ask them here.
McLaughlinKid wrote:You put roar on everything don't you?

User avatar
Karma
Offline
Posts: 14
Joined: February 28th, 2012, 7:25 am

Re: Rule sections

Post by Karma »

From fcraft wiki:

/Rules <Section>
Additional rule sections may be specified by creating a "rules" directory, and placing text files into it. For instance, /rules blah will read from rules/blah.txt file. Colors and constants may also be used in these section files.
_______________________________________________________


I created tried creating a rules/moderator.txt but it says i cannot make a file like that (im assuming because the forward slash).

I created a rule directory and placed a file called "rules moderator" which did nothing as well. What am I doing wrong?
[2012-05-13 01:45:27] #fragmer promoted #Helio_ from supop to #owner Promotion reason: penis
[2012-05-13 01:45:52] PelvicUltrasound: wonder how long that'll last:P
[2012-05-13 01:47:05] #fragmer demoted Helio_ from #owner to supop
Demotion reason: meow

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Rule sections

Post by fragmer »

Instead of making a file literally named "rules/moderator.txt", create a folder named "rules", and place a file named "moderator.txt" into it. That's what I meant on the wiki.

Locked