How to Compile a UnrealIRCd Module

Sat, Jul 4, 2009

Misc

This tutorial will show you how to compile in a module for UnrealIRCd.

You can find the official list of modules here.

First step is to login to the server via SSH and go to the folder where UnrealIRCd is. Then you must go to the "src/modules" directory.

cd src/modules

Then, of course, you must download the file into the folder.

wget modulelinkhere

Usually, it will download a .tar.gz file, which you can extract by doing:

tar xfz filename.tar.gz


Sometimes the actual module file (in the format of modname.c) is in a folder, which you can easily get into the "src/modules" folder by moving it.

cd ModnameFolder
mv modname.c ../

If the .tar.gz opens as just a module file and not a folder, you can ignore the previous step.

The next step is to go back to the main UnrealIRCd folder

cd ../../

To compile the module run the following:

make custommodule MODULEFILE=modulename

Then after that is done, do the final step of compiling:

make install

But before you start anything you must edit the unrealircd.conf

nano unrealircd.conf

There is a part close to the top that has something like this:

loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

Under the last loadmodule, you put your newly compiled module in there.

loadmodule "src/modules/moulefile.so";

After that, your all done! All you have to do is rehash Unreal:

./unreal rehash
, , , , , ,

This post was written by:

Gamerx287 - who has written 4 posts on Tuts4Tech.

Adam, who also goes by his online nickname: gamerx287, is a tech enthusiast, geek, and high school student in Louisiana. He has been into technology since he was about 6 years old. He started using his nickname, gamerx287, back in August of 2007 when he bought the website, gamerx287.com. He has numerous computers and servers distros, even a server rack in his room! His computers run just about everything from Windows to Mac OS X to a few Linux. If you need any tech questions answered, you can email him or come to his chat @ live.gamerx287.com.

Contact the author

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

Leave a Reply