I feel incredibly stupid for asking this, I probably overlooked something simple, but here we go.
Is there any special format or identifiers that the rules/motd files have to have? I've checked the documentation, and it seems that the only requirement is that the files be named ircd.rules and ircd.motd respectively. However, when I create a file called ircd.rules with some random text inside it and use /rules on my server, it tells me the rules file is missing. I would imagine that rehashing has nothing to do with it(even though I tried anyway), so could someone give me a quick hand here?
Rules/MOTD files
-
- Posts: 44
- Joined: Wed Mar 10, 2004 5:30 am
- Location: irc.majestic-liaisons.com
- Contact:
The general and default file names are ircd.motd and ircd.rules, as the documentation describes.
Of course you can override these default settings by using TLD blocks, but this works locally only, on each servers non-local users will still see the default motd/rules. Hope that noone wants to do a /motd other.server.*.
After adding new tld blocks and/or editing motd/rules files, you always have to do a /rehash to make the changes come into effect.
Also note that there are two known (and already fixed) bugs in Unreal3.2-RC2fix that motd/rules files can't be rehashed with "/rehash -all" and the UNIX shell command "./unreal rehash".
Of course you can override these default settings by using TLD blocks, but this works locally only, on each servers non-local users will still see the default motd/rules. Hope that noone wants to do a /motd other.server.*.
After adding new tld blocks and/or editing motd/rules files, you always have to do a /rehash to make the changes come into effect.
Also note that there are two known (and already fixed) bugs in Unreal3.2-RC2fix that motd/rules files can't be rehashed with "/rehash -all" and the UNIX shell command "./unreal rehash".
That was indeed the problem. I was attempting to rehash from the shell command line and expected changes. Rehashing from oper worked perfectly. Thanks for the quick response.AngryWolf wrote:Also note that there are two known (and already fixed) bugs in Unreal3.2-RC2fix that motd/rules files can't be rehashed with "/rehash -all" and the UNIX shell command "./unreal rehash".
/rehash -motd
/rehash -rules
also work for rehashing only the motd/rules
/rehash -rules
also work for rehashing only the motd/rules
FBSD-DEV Project
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net
http://www.fbsd-dev.org
YatesDev Hosting
http://www.yatesdev.com
The Wrong Way
http://www.thewrongway.net