Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: How to install module?  (Read 6457 times)

0 Members and 1 Guest are viewing this topic.

Achmad

  • Anope User
  • Offline Offline
  • Posts: 1
How to install module?
« on: April 30, 2011, 01:47:44 AM »

please give me very detail steps to install module. and how to check it succeed or not. tQ
Logged

gerry

  • Anope User
  • Offline Offline
  • Posts: 86
Re: How to install module?
« Reply #1 on: April 30, 2011, 03:34:08 PM »

make sure the .c file is in anope/src/modules
then on command line

cd pathto/anope-1.8.5/
make modules
make install

then navigate to anope(version)/services , services.conf
edit
scroll down to
ModuleDelayedAutoload [OPTIONAL]

and add the module name there so it auto loads (if you wish). save and close, then as root on your server.. type /os restart

services will then restart. type /os modlist to view

or... you can bypass that step and go directly to the server. and as root type /os modload modulename

if all goes well you will see it load correctly, otherwise it will show an error.
hope that helps.. i'm not too clever at describing things so hope it makes sense
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: How to install module?
« Reply #2 on: May 01, 2011, 02:33:47 PM »

Nix:
1> copy the module .c file to anope(version)/src/modules
2> cd anope(version)
3> make modules
4> make install
5> on IRC type: /os modload module (without the .c) example: /os modload catserv
6> if you wish to auto load the module edit services/services.conf ModuleDelayedAutoLoad section
7> done

Windows:
1> download the .dll module
2> place the .dll file in anope/data/modules
3> follow steps 5 through 7 as above.*

* The path to services.conf on windows is anope/data/services.conf


You should never need to restart services to load a module.
« Last Edit: May 01, 2011, 02:35:49 PM by katsklaw »
Logged
Pages: [1]   Go Up