====== Anope irc ======
Anope IRC Services is a Windows compatible set of services for a wide range of ircd available today.  

Homepage: https://www.anope.org/

The current version is 2.06 but for some reason I was never able to get this version to connect to Synchro.net IRC.  However, by using the older Anope 1.8.9 version I was successful.  This page is written using Synchro.net IRC/BBS 3.17 and Anope 1.8.9.

**NOTE:** Adding Anope services to your Synchro.net IRC deployment will disconnect you from the [[network:irc.synchro.net]] network.  Since no other servers have your Anope services listed as compatible (U:Line) then the network will disconnect.  This means you lose the channel list containing the other channels from servers other than your own.  As long as you are OK with a standalone ircd then this will work for you.  If you require the Synchro.net irc network then stick with the [[module::ircbot]].

**Configuration**
  - Download the Anope-1.8.9.zip file from https://sourceforge.net/projects/anope/files/anope-legacy/ 
  - Unpack the files to a directory of choice (I find using a short path of the root is easier than the default \Program Files\Anope).
  - Anope comes with a sample.conf file in the \Data directory.  Use WordPad to view this file for proper formatting.
  - Save this file as a TXT file with the name __services.conf__ in the \Data directory.
  - Make (at miniumum) the following changes to the file;
     * IRCDModule "bahamut"
     * RemoteServer	IRCdIPAddress	IRCdPort	"password"
     * LocalAddress   AnopeIPAddress
     * ServerName  "name of Anope server"
     * ServerDesc  "description of Anope server"
     * ServiceUser "Anope user address"
     * NetworkName "IRCd network name"
  - Save these changes to __services.conf__ file.
  - You will also need to modify your Synchro.net __IRCd.conf__ file in the SBBS\CTRL directory.
     * U:name of anope server:*:*
     * C:AnopeIPAddress:password:name of Anope server::10
     * N:AnopeIPAddress:password:name of Anope server::10
       * **Note:** Make sure these are not set to IRC Class 30 as per the Anope docs if using UseStrictPrivMsg. 
     * Finally comment out (put # in front of) these two lines to allow Anope to use these nicks;
       * #Q:*:Reserved for Services:*Serv
       * #Q:*:Reserved for Services:Global
  - Save these changes to __IRCd.conf__ file.
  - Start or restart Synchro.net IRC according to your BBS services configuration.
  - Launch Anope.exe (**Note** there is no GUI, the command window closes but you will see Anope.exe running as a process)

If you are monitoring your IRCd output (running IRC as a standalone JSEXEC) then you will see something similar to the following;

<code>
0652 Accepted new connection: 127.0.01 port 56522
Routing: from BBS.synchro.net: Link with services.localhost.net [unknown@BBS.synchro.net] established, states: TS
Routing: from BBS.synchro.net: services.localhost.net has processed user/channel burst, sending topic burst.
Routing: from BBS.synchro.net: services.localhost.net has processed topic burst (synched to network data).
Notice: Server services.localhost.net sent unrecognized command: SVINFO 3 1 0 :1556128615
Notice: Server services.localhost.net sent unrecognized command: SQLINE OperServ :Reserved for services
Notice: Server services.localhost.net sent unrecognized command: SQLINE NickServ :Reserved for services
Notice: Server services.localhost.net sent unrecognized command: SQLINE ChanServ :Reserved for services
Notice: Server services.localhost.net sent unrecognized command: SQLINE MemoServ :Reserved for services
Notice: Server services.localhost.net sent unrecognized command: SQLINE BotServ :Reserved for services
Notice: Server services.localhost.net sent unrecognized command: SQLINE HelpServ :Reserved for services
Notice: Server services.localhost.net sent unrecognized command: SQLINE Global :Reserved for services
</code>
   
That's it, now you have all the services included with Anope running on your IRCd.  Details on the individual services is 
located here http://web.archive.org/web/20201027004334/https://www.anope.org/docgen/1.8/en_us/ 

I'll be adding some more here shortly, including enabling sendmail integration, channel and nick management, etc.

===== See Also =====
  * [[:howto:|howto index]]

{{tag>irc}}
