Vous n'êtes pas identifié(e).

Top posteurs

Statistiques

Partenaires

  • eXolia Hosting
  • Eggdrop.fr

#1 24/12/2013 18:08:01

Harakiri
Administrateur
Lieu : Paris
Inscription : 02/07/2011
Messages : 260

Exemple de configuration Anope 2.0

En attendant des tutoriels complets et des explications plus détaillées, voici un set de configurations pour la toute nouvelle version d'Anope 2.0.
Ces configurations sont les mêmes (ou en tout cas, à peu de choses près) que la version 1.9 que vous avez pu tester pendant son développement.

L'ensemble des fichiers de configuration sont à placer dans le sous-répertoire 'conf'.

La configuration par défaut est séparée en plusieurs fichiers :

  • services.conf : fichier principal qui sera lu par les services

  • modules.conf : fichier qui concerne les modules externes au core

  • nickserv.conf : fichier qui comprend tout ce qui est lié à NickServ

  • chanserv.conf, botserv.conf, memoserv.conf, hostserv.conf, operserv.conf, global.conf : qui sont liés aux services du même nom

  • chanstats.conf : qui concerne les statistiques généées par Anope

  • irc2sql.conf : utile pour stocker les données de StatServ dans une base MySQL

Notez que le fichier stats.standalone.conf semble être un exemple de configuration optimisé pour les statistiques qu'Anope peut générer.
Il n'est pas chargé par services.conf puisqu'il s'agit d'une configuration indépendante de ce même fichier qui a été renommé. Par conséquent, il ne nous intéresse pas vraiment.

Les exemples se sont vu retirer leurs commentaires puisqu'ils sont en anglais et que beaucoup d'entre vous souhaitent simplement bénéficier d'une configuration rapide à mettre en place.
J'ai quand même pris l'initiative d'en traduire certains ou d'en ajouter aux parties de la configuration qui donnent lieu à beaucoup de questions et de problèmes posés.

Il est recommandé de lire les commentaires pour comprendre le fonctionnement général du nouveau type de configuration. Cela pourrait probablement répondre aux questions que vous vous posez.

Cette configuration a été testée et fonctionne avec le module db_sql_live, m_httpd et webcpanel. En revanche, la configuration qui suit utilise les modes de stockages et modules par défaut.

Le guide de la procédure d'installation pour cette version d'Anope est disponible ici

services.conf

Code: conf
 
#
# Exemple de fichier de configuration pour Anope 2.0.0-rc1
#
# Notez que les valeurs situées entre /* et */ sont des commentaires
# de la même manière que ce qui se trouve derrière le caractère '#'.
#
# Ces données sont ignorées par les services
# Notez également que pour commenter un bloc de données, il suffit de
# commenter son nom.
# Lorsque vous voyez... :
#     
#	#oper
#	{
#		name = "nick2"
#		type = "Services Administrator"
#	 }
#
# ...l'ensemble du contenu situé entre { et } est ignoré. 
# Les données situées derrière '//' sont également des commentaires
 
/*
 * La valeur définie dans 'name' sera remplacée par 'value'
 * dans toute la configuration (y compris les fichiers include)
 */
define
{
	name = "services.host"
	value = "services.overstack.fr"
}
 
/*
 * IRCd Config
 * Correspond aux informations du link de votre IRCd
 */
 
uplink
{
	host = "127.0.0.1"
	ipv6 = no
	ssl = no
	port = 7000
	password = "password"
}
 
/*
 * Informations serveur
 */
serverinfo
{
	name = "services.overstack.fr"
	description = "Services for IRC Networks"
	#localhost = "nowhere."
	#id = "00A"
	pid = "data/services.pid"
	motd = "conf/services.motd"
}
 
/*
 * Protocole du link (selon le type de votre IRCd)
 */
module
{
	name = "unreal"
	use_server_side_mlock = yes
	use_server_side_topiclock = yes
	sasl = yes
}
 
/*
 * Informations réseau
 */
networkinfo
{
	networkname = "OverStack"
	nicklen = 31
	userlen = 10
	hostlen = 64
	chanlen = 32
	modelistsize = 100
	vhost_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-" 
	allow_undotted_vhosts = false
	disallow_start_or_end = ".-"
}
 
/*
 * Options des services
 */
options
{
	#user = "anope"
	#group = "anope"
	casemap = "ascii"
	seed = 8237828
	strictpasswords = yes
	badpasslimit = 5
	badpasstimeout = 1h
	updatetimeout = 5m
	expiretimeout = 30m
	readtimeout = 5s
	warningtimeout = 4h
	timeoutcheck = 3s
	#useprivmsg = yes
	#usestrictprivmsg = yes
	#hidestatso = yes
	ulineservers = "stats.overstack.fr services.overstack.fr"
	retrywait = 60s
	hideprivilegedcommands = yes
	hideregisteredcommands = yes
	regexengine = "regex/pcre"
	languages = "ca_ES.UTF-8 de_DE.UTF-8 el_GR.UTF-8 es_ES.UTF-8 fr_FR.UTF-8 hu_HU.UTF-8 it_IT.UTF-8 nl_NL.UTF-8 pl_PL.UTF-8 pt_PT.UTF-8 ru_RU.UTF-8 tr_TR.UTF-8"
	defaultlanguage = "fr_FR.UTF-8"
}
 
/*
 * Inclusion des fichiers des différents services
 */
include
{
	type = "file"
	name = "botserv.conf"
}
 
include
{
	type = "file"
	name = "chanserv.conf"
}
 
include
{
	type = "file"
	name = "global.conf"
}
 
include
{
	type = "file"
	name = "hostserv.conf"
}
 
include
{
	type = "file"
	name = "memoserv.conf"
}
 
include
{
	type = "file"
	name = "nickserv.conf"
}
 
include
{
	type = "file"
	name = "operserv.conf"
}
 
/*
 * Configuration des logs
 */
log
{
	target = "services.log"
	#target = "services.log #services"
	#source = ""
	bot = "Global"
	logage = 7
	admin = "*"
	override = "chanserv/* nickserv/* memoserv/set ~botserv/set botserv/*"
	commands = "~operserv/* *"
	servers = "*"
	#channels = "~mode *"
	users = "connect disconnect nick"
	other = "*"
	rawio = no
	debug = no
}
 
log
{
	target = "globops"
	admin = "global/* operserv/mode operserv/kick operserv/akill operserv/s*line operserv/noop operserv/jupe operserv/oline operserv/set operserv/svsnick operserv/svsjoin operserv/svspart nickserv/getpass */drop"
	servers = "squit"
	users = "oper"
	other = "expire/* bados akill/*"
}
 
/*
 * Configuration des Oper (services)
 */
 
/* Définition des différents types Oper (services) */
opertype
{
	name = "Helper"
	commands = "hostserv/*"
}
 
opertype
{
	name = "Services Operator"
	inherits = "Helper, Another Helper"
	commands = "chanserv/list chanserv/suspend chanserv/topic memoserv/staff nickserv/list nickserv/resetpass nickserv/suspend operserv/mode operserv/chankill operserv/akill operserv/session operserv/modinfo operserv/sqline operserv/oper operserv/kick operserv/ignore operserv/snline"
	privs = "chanserv/auspex chanserv/no-register-limit memoserv/* nickserv/auspex nickserv/confirm"
	#modes = "+o"
}
 
opertype
{
	name = "Services Administrator"
	inherits = "Services Operator"
	commands = "chanserv/access/list chanserv/drop chanserv/getkey chanserv/saset/noexpire memoserv/sendall nickserv/saset/* nickserv/getemail operserv/news operserv/jupe operserv/svs operserv/stats operserv/oline operserv/noop operserv/forbid global/*"
	privs = "*"
}
 
opertype
{
	name = "Services Root"
	commands = "*"
	privs = "*"
}
 
/*
* Définition des pseudos Oper
*/
oper
{
	name = "Harakiri"
	type = "Services Root"
	require_oper = yes
	#password = "secret"
	#certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7"
	#host = "*@*.anope.org ident@*"
	#vhost = "oper.mynet"
}
 
#oper
{
	name = "nick2"
	type = "Services Administrator"
}
 
#oper
{
	name = "nick3"
	type = "Helper"
}
 
/*
 * Configuration email
 */
mail
{
	usemail = yes
	sendmailpath = "/usr/sbin/sendmail -t"
	sendfrom = "services@overstack.fr"
	restrict = yes
	delay = 5m
	#dontquoteaddresses = yes
 
	/* email reçu lors de l'enregistrement */
	registration_subject = "Enregistrement de pseudo pour %n"
	registration_message = "Bonjour,
 
				Vous avez fait la demande pour enregistrer le pseudo %n sur %N.
				Merci de taper la commande \" /msg NickServ CONFIRM %c \" afin de terminer votre enregistrement.
 
				Si vous ne savez pas pourquoi cet email vous a été envoyé, merci de ne pas en tenir compte.
 
				Les administrateurs de %N."
 
	/*
	 * email reçu lors de la demande d\'un nouveau mot-de-passe
	 */
	reset_subject = "Demande d'un nouveau mot de passe pour %n"
	reset_message = "Bonjour,
 
			Vous avez demandé un nouveau mot-de-passe pour %n.
			Pour confirmer cette demande, merci d'entrer \" /msg NickServ CONFIRM %n %c \"
 
			Si vous ne savez pas pourquoi cet email vous a été envoyé, merci de l'ignorer.
 
			Les administrateurs de %N."
 
	/*
	 * email recu lors de l'envoi d'une confirmation 
	 */
	emailchange_subject = "Confirmation d'email"
	emailchange_message = "Hi,
 
				Vous avez fait la demande d'un changement d'adresse email (%e)
				Merci de taper \" /msg NickServ CONFIRM %c \" pour confirmer le changement.
				Si vous ne savez pas pourquoi cet email vous a été envoyé, merci de l'ignorer.
 
			Les administrateurs de %N."
 
	/*
	 * email lors de la reception d'un memo
	 */
	memo_subject = "Nouveau memo"
	memo_message = "Bonjour %n,
 
			Vous venez juste de recevoir un mémo de la part de %s. C'est le mémo numéro %d.
 
			Texte du mémo :
 
			%t"
}
 
/*
 * Configuration de la base de données
 */
 
/*
* Ce module ne doit être chargé que lorsque vous souhaitez charger les données
* des anciennes versions d'Anope (1.7, 1.8) afin qu'elles soient prises en
* compte dans le nouveau format de stockage des données.
*/
#module
{
	name = "db_old"
	/* Méthode de chiffrement utilisée dans vos anciens fichiers :  md5, sha1, oldmd5 ou plain */
	#hash = "md5"
}
 
 
/* 
* Ce module est le format de stockage par défaut d'Anope
* Il est recommandé d'utiliser ce format. Il n'est pas nécessaire d'activer
* ce module si vous souhaitez utiliser une base de données SQL.
*/
module
{
	name = "db_flatfile"
	database = "anope.db"
	keepbackups = 3
	#nobackupokay = yes
	fork = no
}
 
/*
 * db_sql et db_sql_live permettent de gérer vos données via une base de données SQL
 * Notez qu'un seul des deux est nécessaire
 * db_sql_live est celui qui permet d'avoir les données à jour instantanément,
 * Notez que pour utiliser MySQL, vous devez activer le module m_mysql et l'ajouter à votre configuration
 */
#module
{
	#name = "db_sql"
	name = "db_sql_live"
	engine = "mysql/main" /* Ce module doit être activé dans modules.conf */
	#prefix = "anope_db_"
	import = false
}
 
#module
{
	name = "db_redis"
	engine = "redis/main"
}
 
/* Choix de la méthode de chiffrement */
module { name = "enc_sha256" }
#module { name = "enc_md5" }
#module { name = "enc_sha1" }
#module { name = "enc_none" }
#module { name = "enc_old" }
 
 
/* Modules */
include
{
	type = "file"
	name = "modules.conf"
}
 
#include
{
	type = "file"
	name = "chanstats.conf"
}
 
/*
 * IRC2SQL Gateway
 */
#include
{
	type = "file"
	name = "irc2sql.conf"
}
 

modules.conf

Code: conf
 
/*
 * Modules extra-core
 *
 * IMPORTANT : 
 *
 * Notez que certains de ces modules avec le label EXTRA doivent être activés avant la compilation
 * en exécutant le script 'extras' sur UNIX et Linux
 */
 
/*
 * Module d'aide
 */
module { name = "help" }
 
/* Module DNS  */
#module
{
	name = "m_dns"
 
	nameserver = "/etc/resolv.conf"
	#nameserver = "127.0.0.1"
	timeout = 5
	ip = "0.0.0.0"
	port = 53
	admin = "admin@overstack.fr"
	nameservers = "ns1.gandi.net ns1.overstack.fr"
	refresh = 3600
	notify
	{
		ip = "192.0.2.0"
		port = 53
	}
}
 
/*
 * Module DNSBL
 */
#module
{
	name = "m_dnsbl"
	check_on_connect = no
	check_on_netburst = no
 
	add_to_akill = yes
 
	blacklist
	{
		name = "rbl.efnetrbl.org"
		time = 4h
 
		/* Motifs pour AKILL
		 * %n est le pseudo de l'utilisateur
		 * %u est l'ident/username de l'utilisateur
		 * %g est le realname de l'utilisateur
		 * %h est le hostname de l'utilisateur
		 * %i est l'adresse IP de l'utilisateur
		 * %r est la raison (configurée ci-dessous). 
		 * %N est le nom du réseau défini dans networkinfo:networkname
		 */
		reason = "Vous êtes listé sur la RBL efnet, pour plus d'informations visiter http://rbl.efnetrbl.org/?i=%i"
		1 = "Open Proxy"
		/* Ban pour la raison 2 et 3 désactivé */
		#2 = "spamtrap666"
		#3 = "spamtrap50"
		4 = "TOR"
		5 = "Drones / Flooding"
	}
 
	blacklist
	{
		name = "dnsbl.dronebl.org"
		time = 4h
		reason = "Vous avez un host listé sur DroneBL. Pour plus d'informations, visiter http://dronebl.org/lookup_branded?ip=%i&network=%N"
	}
}
 
/*
 * Helpchan
 */
#module
{
	name = "m_helpchan"
	helpchannel = "#help"
}
 
/*
 * m_httpd [EXTRA]
 */
module
{
	name = "m_httpd"
 
	httpd
	{
		name = "httpd/main"
		ip = "0.0.0.0"
		port = 10080
		timeout = 30
		#ssl = yes
		#extforward_ip = "192.168.0.255"
		extforward_header = "X-Forwarded-For Forwarded-For"
	}
}
 
/*
 * m_ldap [EXTRA]
 */
#module
{
	name = "m_ldap"
 
	ldap
	{
		server = "ldap://127.0.0.1"
		port = 389
 
		admin_binddn = "cn=Manager,dc=anope,dc=org"
		admin_password = "secret"
	}
}
 
/*
 * m_ldap_authentication [EXTRA]
*/
#module
{
	name = "m_ldap_authentication"
	basedn = "ou=users,dc=anope,dc=org"
	search_filter = "(&(uid=%account)(objectClass=%object_class))"
	object_class = "anopeUser"
	username_attribute = "uid"
	email_attribute = "email"
	password_attribute = "userPassword"
	#disable_register_reason = "Pour vous enregistrer sur ce réseau visitez : http://some.misconfigured.site/register"
	#disable_email_reason = "Pour modifier votre adresse e-mail visitez : http://some.misconfigured.site"
}
 
/*
 * m_ldap_oper [EXTRA]
 */
#module
{
	name = "m_ldap_oper"
	#binddn = "cn=Manager,dc=anope,dc=org"
	#password = "secret"
	basedn = "ou=groups,dc=anope,dc=org"
	filter = "(member=uid=%a,ou=users,dc=anope,dc=org)"
	opertype_attribute = "cn"
}
 
/*
 * m_mysql [EXTRA]
 * Ce module doit être activé si vous souhaitez utiliser db_sql ou db_sql_live
 * comme méthode de stockage de vos données et que vous décides de l'utiliser avec MySQL
 */
module
{
	name = "m_mysql"
 
	mysql
	{
		name = "mysql/main"
		database = "anope"
		server = "127.0.0.1"
		username = "anope"
		password = "password"
		port = 3306
	}
}
 
/*
 * m_proxyscan [EXTRA]
 */
#module
{
	name = "m_proxyscan"
	#target_ip = "127.0.0.1"
	target_port = 7226
	#listen_ip = "127.0.0.1"
	listen_port = 7226
	#connect_notice = "Nous allons scanner votre host à la recherche de proxies insécurisés. Si vous n'êtes pas consentant, merci de vous déconnecter immédiatement."
	#connect_source = "OperServ"
	add_to_akill = yes
	timeout = 5
 
	proxyscan
	{
		type = "HTTP"
		port = "80,8080"
		time = 4h
		reason = "Vous avez un open proxy sur votre hôte (%t:%i:%p)"
	}
}
 
/*
 * m_sql_authentication [EXTRA]
 */
#module
{
	name = "m_sql_authentication"
	engine = "mysql/main"
	query = "SELECT `email_addr` AS `email` FROM `my_users` WHERE `username` = @a@ AND `password` = MD5(CONCAT('salt', @p@))"
	#disable_reason = "Pour vous enregistrer sur ce réseau, merci de visiter http://some.misconfigured.site/register"
}
 
/*
 * m_sql_log
 */
#module { name = "m_sql_log" }
 
/*
 * m_sql_oper [EXTRA]
 */
module
{
	name = "m_sql_oper"
	engine = "mysql/main"
	query = "SELECT `opertype` FROM `my_users` WHERE `user_name` = @a@"
}
 
/*
 * m_sqlite [EXTRA]
 */
#module
{
	name = "m_sqlite"
	sqlite
	{
		name = "sqlite/main"
		database = "anope.db"
	}
}
 
/*
 * m_redis
 */
#module
{
	name = "m_redis"
	redis
	{
		name = "redis/main"
		db = 0
		ip = "127.0.0.1"
		port = 6379
	}
}
 
/*
 * m_regex_pcre [EXTRA]
 */
#module { name = "m_regex_pcre" }
 
/*
 * m_regex_posix [EXTRA]
 */
#module { name = "m_regex_posix" }
 
/*
 * m_regex_tre [EXTRA]
 */
#module { name = "m_regex_tre" }
 
/*
 * m_rewrite
 */
 
#module { name = "m_rewrite" }
#command
{
	service = "ChanServ"; name = "CLEAR"; command = "rewrite"
	rewrite = true
	rewrite_source = "CLEAR $ USERS"
	rewrite_target = "KICK $1 *"
	rewrite_description = "Retire tous les utilisateurs d'un canal"
}
 
/*
 * m_ssl [EXTRA]
 */
#module
{
	name = "m_ssl"
	cert = "data/anope.crt"
	key = "data/anope.key"
}
 
/*
 * m_xmlrpc [EXTRA]
 */
#module
{
	name = "m_xmlrpc"
	server = "httpd/main"
}
 
/*
 * m_xmlrpc_main [EXTRA]
 */
#module { name = "m_xmlrpc_main" }
 
/*
 * webcpanel [EXTRA]
 *
 * Ce module créé un panel de configuration web qui autorise les utilisateurs et opérateurs d'effectuer
 * n'importe quelle tâche qu'ils pourraient effectuer sur IRC.
 * Si vous utiliser la configuration pa défaut, vous pourrez accéder à ce panel en visitant http://127.0.0.1:8080
 * avec votre navigateur web depuis la machine sur laquelle Anope est utilisé.
 *
 * Ce module recquiert m_httpd.
 */
module
{
	name = "webcpanel"
	server = "httpd/main";
	template = "default"; /* Ce paramètre est à changer si vous souhaitez faire votre propre template */
	title = "Anope IRC Services";
}
 

botserv.conf

Code: conf
 
/*
 * BotServ
 */
 
/*
 * Creation du service
 */
service
{
	nick = "BotServ"
	user = "services"
	host = "services.host"
	gecos = "Bot Service"
 
	#modes = "+o"
 
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 
/*
 * Module Core BotServ
 */
module
{
	name = "botserv"
	client = "BotServ"
	defaults = "greet fantasy"
	#defaults = "greet fantasy dontkickops dontkickvoices"
	minusers = 1 /* Nombre d'utilisateurs sur le salon pour le joindre */
	#smartjoin = yes
	botmodes = "ao"
	#botumodes = "i"
}
 
/*
 * Commandes Core BotServ
 */
 
command { service = "BotServ"; name = "HELP"; command = "generic/help"; }
 
module { name = "bs_assign" }
command { service = "BotServ"; name = "ASSIGN"; command = "botserv/assign"; }
command { service = "BotServ"; name = "UNASSIGN"; command = "botserv/unassign"; }
command { service = "BotServ"; name = "SET NOBOT"; command = "botserv/set/nobot"; permission = "botserv/set/nobot"; }
 
#module { name = "bs_autoassign" }
bs_autoassign
{
	/*
	 * Automatically assign ChanServ to channels upon registration.
	 */
	bot = "ChanServ"
}
 
module
{
	name = "bs_badwords"
	badwordsmax = 32
	#casesensitive = yes
}
command { service = "BotServ"; name = "BADWORDS"; command = "botserv/badwords"; }
 
module { name = "bs_bot" }
command { service = "BotServ"; name = "BOT"; command = "botserv/bot"; }
 
module { name = "bs_botlist" }
command { service = "BotServ"; name = "BOTLIST"; command = "botserv/botlist"; }
 
module { name = "bs_control" }
command { service = "BotServ"; name = "ACT"; command = "botserv/act"; }
command { service = "BotServ"; name = "SAY"; command = "botserv/say"; }
 
module { name = "bs_info" }
command { service = "BotServ"; name = "INFO"; command = "botserv/info"; }
 
module
{
	name = "bs_kick"
	keepdata = 10m
	gentlebadwordreason = yes
}
command { service = "BotServ"; name = "KICK"; command = "botserv/kick"; }
command { service = "BotServ"; name = "KICK AMSG"; command = "botserv/kick/amsg"; }
command { service = "BotServ"; name = "KICK BADWORDS"; command = "botserv/kick/badwords"; }
command { service = "BotServ"; name = "KICK BOLDS"; command = "botserv/kick/bolds"; }
command { service = "BotServ"; name = "KICK CAPS"; command = "botserv/kick/caps"; }
command { service = "BotServ"; name = "KICK COLORS"; command = "botserv/kick/colors"; }
command { service = "BotServ"; name = "KICK FLOOD"; command = "botserv/kick/flood"; }
command { service = "BotServ"; name = "KICK ITALICS"; command = "botserv/kick/italics"; }
command { service = "BotServ"; name = "KICK REPEAT"; command = "botserv/kick/repeat"; }
command { service = "BotServ"; name = "KICK REVERSES"; command = "botserv/kick/reverses"; }
command { service = "BotServ"; name = "KICK UNDERLINES"; command = "botserv/kick/underlines"; }
 
command { service = "BotServ"; name = "SET DONTKICKOPS"; command = "botserv/set/dontkickops"; }
command { service = "BotServ"; name = "SET DONTKICKVOICES"; command = "botserv/set/dontkickvoices"; }
 
module { name = "bs_set" }
command { service = "BotServ"; name = "SET"; command = "botserv/set"; }
command { service = "BotServ"; name = "SET BANEXPIRE"; command = "botserv/set/banexpire"; }
command { service = "BotServ"; name = "SET PRIVATE"; command = "botserv/set/private"; permission = "botserv/set/private"; }
 
module { name = "greet" }
command { service = "BotServ"; name = "SET GREET"; command = "botserv/set/greet"; }
command { service = "NickServ"; name = "SET GREET"; command = "nickserv/set/greet"; }
command { service = "NickServ"; name = "SASET GREET"; command = "nickserv/saset/greet"; permission = "nickserv/saset/greet"; }
 
privilege
{
	name = "GREET"
	rank = 40
	level = 5
	flag = "g"
	xop = "AOP"
}
 
 
module
{
	name = "fantasy"
	#fantasycharacter = "!."
}
command { service = "BotServ"; name = "SET FANTASY"; command = "botserv/set/fantasy"; }
 
/*
 Commandes Fantasy
 */
fantasy { name = "ACCESS"; command = "chanserv/access"; }
fantasy { name = "AKICK"; command = "chanserv/akick"; }
fantasy { name = "AOP"; command = "chanserv/xop"; }
fantasy { name = "BAN"; command = "chanserv/ban"; }
fantasy { name = "CLONE"; command = "chanserv/clone"; }
fantasy { name = "DEHALFOP"; command = "chanserv/modes"; }
fantasy { name = "DEOP"; command = "chanserv/modes"; }
fantasy { name = "DEOWNER"; command = "chanserv/modes"; }
fantasy { name = "DEPROTECT"; command = "chanserv/modes"; }
fantasy { name = "DEVOICE"; command = "chanserv/modes"; }
fantasy { name = "DOWN"; command = "chanserv/down"; }
fantasy { name = "ENFORCE"; command = "chanserv/enforce"; }
fantasy { name = "ENTRYMSG"; command = "chanserv/entrymsg"; }
fantasy { name = "FLAGS"; command = "chanserv/flags"; }
fantasy { name = "HALFOP"; command = "chanserv/modes"; }
fantasy { name = "HELP"; command = "generic/help"; prepend_channel = false; }
fantasy { name = "HOP"; command = "chanserv/xop"; }
fantasy { name = "INFO"; command = "chanserv/info"; prepend_channel = false; }
fantasy { name = "INVITE"; command = "chanserv/invite"; }
fantasy { name = "K"; command = "chanserv/kick"; }
fantasy { name = "KB"; command = "chanserv/ban"; }
fantasy { name = "KICK"; command = "chanserv/kick"; }
fantasy { name = "LEVELS"; command = "chanserv/levels"; }
fantasy { name = "LIST"; command = "chanserv/list"; prepend_channel = false; }
fantasy { name = "LOG"; command = "chanserv/log"; }
fantasy { name = "MODE"; command = "chanserv/mode"; }
fantasy { name = "OP"; command = "chanserv/modes"; }
fantasy { name = "OWNER"; command = "chanserv/modes"; }
fantasy { name = "PROTECT"; command = "chanserv/modes"; }
fantasy { name = "QOP"; command = "chanserv/xop"; }
fantasy { name = "SEEN"; command = "chanserv/seen"; prepend_channel = false; }
fantasy { name = "SOP"; command = "chanserv/xop"; }
fantasy { name = "STATUS"; command = "chanserv/status"; }
fantasy { name = "SUSPEND"; command = "chanserv/suspend"; permission = "chanserv/suspend"; }
fantasy { name = "SYNC"; command = "chanserv/sync"; }
fantasy { name = "TOPIC"; command = "chanserv/topic"; }
fantasy { name = "UNBAN"; command = "chanserv/unban"; }
fantasy { name = "UNSUSPEND"; command = "chanserv/unsuspend"; permission = "chanserv/suspend"; }
fantasy { name = "UP"; command = "chanserv/up"; }
fantasy { name = "VOICE"; command = "chanserv/modes"; }
fantasy { name = "VOP"; command = "chanserv/xop"; }
 

chanserv.conf

Code: conf
 
/*
 * ChanServ
 */
 
/*
 * Creation du service
 */
service
{
	nick = "ChanServ"
	user = "services"
	host = "services.host"
	gecos = "Channel Registration Service"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 
/*
 * Module Core ChanServ
 */
module
{
	name = "chanserv"
	client = "ChanServ"
	defaults = "keeptopic peace cs_secure securefounder signkick"
	#defaults = "keeptopic peace cs_secure securefounder signkick cs_private restricted secureops signkick_level topiclock persist noautoop cs_keep_modes"
	maxregistered = 20
	expire = 14d
	accessmax = 1024
	inhabit = 15s
	#opersonly = yes
	#nomlock = "P"
	#require = "r"
	reasonmax = 200
	disallow_hostmask_access = false
	disallow_channel_access = false
	always_lower_ts = false
}
 
/* Privileges ChanServ */
 
privilege
{
	name = "ACCESS_CHANGE"
	rank = 0
	level = 10
	flag = "f"
	xop = "SOP"
}
 
privilege
{
	name = "ACCESS_LIST"
	rank = 10
	level = 3
	flag = "f"
	xop = "VOP"
}
 
privilege
{
	name = "AKICK"
	rank = 250
	level = 10
	flag = "K"
	xop = "SOP"
}
 
privilege
{
	name = "ASSIGN"
	rank = 270
	level = "founder"
	flag = "s"
	xop = "QOP"
}
 
privilege
{
	name = "AUTOHALFOP"
	rank = 100
	level = 4
	flag = "H"
	xop = "HOP"
}
 
privilege
{
	name = "AUTOOP"
	rank = 210
	level = 5
	flag = "O"
	xop = "AOP"
}
 
privilege
{
	name = "AUTOOWNER"
	rank = 330
	level = 9999
	flag = "Q"
	xop = "QOP"
}
 
privilege
{
	name = "AUTOPROTECT"
	rank = 240
	level = 10
	flag = "A"
	xop = "SOP"
}
 
privilege
{
	name = "AUTOVOICE"
	rank = 50
	level = 3
	flag = "V"
	xop = "VOP"
}
 
privilege
{
	name = "BADWORDS"
	rank = 260
	level = 10
	flag = "K"
	xop = "SOP"
}
 
privilege
{
	name = "BAN"
	rank = 150
	level = 4
	flag = "b"
	xop = "HOP"
}
 
privilege
{
	name = "FANTASIA"
	rank = 30
	level = 3
	flag = "c"
	xop = "VOP"
}
 
privilege
{
	name = "FOUNDER"
	rank = 360
	level = "founder"
	flag = "F"
	xop = "QOP"
}
 
privilege
{
	name = "GETKEY"
	rank = 180
	level = 5
	flag = "G"
	xop = "AOP"
}
 
privilege
{
	name = "HALFOP"
	rank = 120
	level = 5
	flag = "h"
	xop = "AOP"
}
 
privilege
{
	name = "HALFOPME"
	rank = 110
	level = 4
	flag = "h"
	xop = "HOP"
}
 
privilege
{
	name = "INFO"
	rank = 80
	level = 9999
	flag = "I"
	xop = "QOP"
}
 
privilege
{
	name = "INVITE"
	rank = 190
	level = 5
	flag = "i"
	xop = "AOP"
}
 
privilege
{
	name = "KICK"
	rank = 130
	level = 4
	flag = "k"
	xop = "HOP"
}
 
privilege
{
	name = "MEMO"
	rank = 280
	level = 10
	flag = "m"
	xop = "SOP"
}
 
privilege
{
	name = "MODE"
	rank = 170
	level = 9999
	flag = "s"
	xop = "QOP"
}
 
privilege
{
	name = "NOKICK"
	rank = 20
	level = 1
	flag = "N"
	xop = "VOP"
}
 
privilege
{
	name = "OP"
	rank = 230
	level = 5
	flag = "o"
	xop = "SOP"
}
 
privilege
{
	name = "OPME"
	rank = 220
	level = 5
	flag = "o"
	xop = "AOP"
}
 
privilege
{
	name = "OWNER"
	rank = 350
	level = "founder"
	flag = "q"
	xop = "QOP"
}
 
privilege
{
	name = "OWNERME"
	rank = 340
	level = 9999
	flag = "q"
	xop = "QOP"
}
 
privilege
{
	name = "PROTECT"
	rank = 310
	level = 9999
	flag = "a"
	xop = "QOP"
}
 
privilege
{
	name = "PROTECTME"
	rank = 300
	level = 10
	flag = "a"
	xop = "AOP"
}
 
privilege
{
	name = "SAY"
	rank = 90
	level = 5
	flag = "B"
	xop = "AOP"
}
 
privilege
{
	name = "SET"
	rank = 320
	level = 9999
	flag = "s"
	xop = "QOP"
}
 
privilege
{
	name = "SIGNKICK"
	rank = 140
	level = 9999
	flag = "K"
	xop = "QOP"
}
 
privilege
{
	name = "TOPIC"
	rank = 160
	level = 5
	flag = "t"
	xop = "AOP"
}
 
privilege
{
	name = "UNBAN"
	rank = 200
	level = 4
	flag = "u"
	xop = "HOP"
}
 
privilege
{
	name = "VOICE"
	rank = 70
	level = 4
	flag = "v"
	xop = "HOP"
}
 
privilege
{
	name = "VOICEME"
	rank = 60
	level = 3
	flag = "v"
	xop = "VOP"
}
 
/*
 * Commandes Core ChanServ
 */
 
command_group
{
	name = "chanserv/access"
	description = "Utilisé pour gérer la liste des utilisateurs privilégiés"
}
 
command_group
{
	name = "chanserv/status"
	description = "Utilisé pour modifier votre statut sur le canal ou celui d'un autre utilisateur"
}
 
command_group
{
	name = "chanserv/management"
	description = "Utilisé pour gérer les canaux."
}
 
command_group
{
	name = "chanserv/admin"
	description = "Commandes des Opérateurs des services"
}
 
command { service = "ChanServ"; name = "HELP"; command = "generic/help"; }
 
module { name = "cs_access" }
command { service = "ChanServ"; name = "ACCESS"; command = "chanserv/access"; group = "chanserv/access"; }
command { service = "ChanServ"; name = "LEVELS"; command = "chanserv/levels"; group = "chanserv/access"; }
 
module
{
	name = "cs_akick"
	autokickmax = 32
	autokickreason = "L'utilisateur a été banni du canal"
}
command { service = "ChanServ"; name = "AKICK"; command = "chanserv/akick"; group = "chanserv/management"; }
 
module { name = "cs_ban" }
command { service = "ChanServ"; name = "BAN"; command = "chanserv/ban"; }
 
module { name = "cs_clone" }
command { service = "ChanServ"; name = "CLONE"; command = "chanserv/clone"; group = "chanserv/management"; }
 
module { name = "cs_drop" }
command { service = "ChanServ"; name = "DROP"; command = "chanserv/drop"; }
 
module { name = "cs_enforce" }
command { service = "ChanServ"; name = "ENFORCE"; command = "chanserv/enforce"; group = "chanserv/management"; }
 
module
{
	name = "cs_entrymsg"
	maxentries = 5
}
command { service = "ChanServ"; name = "ENTRYMSG"; command = "chanserv/entrymsg"; group = "chanserv/management"; }
 
module { name = "cs_flags" }
command { service = "ChanServ"; name = "FLAGS"; command = "chanserv/flags"; group = "chanserv/access"; }
 
module { name = "cs_getkey" }
command { service = "ChanServ"; name = "GETKEY"; command = "chanserv/getkey"; }
 
module { name = "cs_info" }
command { service = "ChanServ"; name = "INFO"; command = "chanserv/info"; }
 
module { name = "cs_invite" }
command { service = "ChanServ"; name = "INVITE"; command = "chanserv/invite"; }
 
module { name = "cs_kick" }
command { service = "ChanServ"; name = "KICK"; command = "chanserv/kick"; }
 
module
{
	name = "cs_list"
	listmax = 50
}
command { service = "ChanServ"; name = "LIST"; command = "chanserv/list"; }
 
command { service = "ChanServ"; name = "SET PRIVATE"; command = "chanserv/set/private"; }
 
module
{
	name = "cs_log"
	#default
	{
		command = "chanserv/modes"
		method = "MESSAGE @"
	}
 
	#default
	{
		service = "ChanServ"
		command = "ACCESS"
		method = "MESSAGE @"
	}
 
	#default
	{
		command = "chanserv/xop"
		method = "MESSAGE @"
	}
 
	#default
	{
		service = "ChanServ"
		command = "FLAGS"
		method = "MESSAGE @"
	}
}
command { service = "ChanServ"; name = "LOG"; command = "chanserv/log"; group = "chanserv/management"; }
 
module
{
	name = "cs_mode"
	mlock = "+nt"
}
command { service = "ChanServ"; name = "MODE"; command = "chanserv/mode"; group = "chanserv/management"; }
 
command { service = "ChanServ"; name = "OWNER"; command = "chanserv/modes"; group = "chanserv/status"; set = "OWNER" }
command { service = "ChanServ"; name = "DEOWNER"; command = "chanserv/modes"; group = "chanserv/status"; unset = "OWNER" }
 
command { service = "ChanServ"; name = "PROTECT"; command = "chanserv/modes"; group = "chanserv/status"; set = "PROTECT" }
command { service = "ChanServ"; name = "DEPROTECT"; command = "chanserv/modes"; group = "chanserv/status"; unset = "PROTECT" }
 
command { service = "ChanServ"; name = "OP"; command = "chanserv/modes"; group = "chanserv/status"; set = "OP" }
command { service = "ChanServ"; name = "DEOP"; command = "chanserv/modes"; group = "chanserv/status"; unset = "OP" }
 
command { service = "ChanServ"; name = "HALFOP"; command = "chanserv/modes"; group = "chanserv/status"; set = "HALFOP" }
command { service = "ChanServ"; name = "DEHALFOP"; command = "chanserv/modes"; group = "chanserv/status"; unset = "HALFOP" }
 
command { service = "ChanServ"; name = "VOICE"; command = "chanserv/modes"; group = "chanserv/status"; set = "VOICE" }
command { service = "ChanServ"; name = "DEVOICE"; command = "chanserv/modes"; group = "chanserv/status"; unset = "VOICE" }
 
module { name = "cs_register" }
command { service = "ChanServ"; name = "REGISTER"; command = "chanserv/register"; }
 
module
{
	name = "cs_seen"
	simple = false
	purgetime = "30d"
	expiretimeout = "1d"
}
command { service = "OperServ"; name = "SEEN"; command = "operserv/seen"; permission = "operserv/seen"; }
 
module
{
	name = "cs_set"
	defbantype = 2
}
 
command { service = "ChanServ"; name = "SET"; command = "chanserv/set"; group = "chanserv/management"; }
command { service = "ChanServ"; name = "SET AUTOOP"; command = "chanserv/set/autoop"; }
command { service = "ChanServ"; name = "SET BANTYPE"; command = "chanserv/set/bantype"; }
command { service = "ChanServ"; name = "SET DESCRIPTION"; command = "chanserv/set/description"; }
command { service = "ChanServ"; name = "SET DESC"; command = "chanserv/set/description"; }
command { service = "ChanServ"; name = "SET FOUNDER"; command = "chanserv/set/founder"; }
command { service = "ChanServ"; name = "SET KEEPMODES"; command = "chanserv/set/keepmodes"; }
command { service = "ChanServ"; name = "SET PEACE"; command = "chanserv/set/peace"; }
command { service = "ChanServ"; name = "SET PERSIST"; command = "chanserv/set/persist"; }
command { service = "ChanServ"; name = "SET RESTRICTED"; command = "chanserv/set/restricted"; }
command { service = "ChanServ"; name = "SET SECURE"; command = "chanserv/set/secure"; }
command { service = "ChanServ"; name = "SET SECUREFOUNDER"; command = "chanserv/set/securefounder"; }
command { service = "ChanServ"; name = "SET SECUREOPS"; command = "chanserv/set/secureops"; }
command { service = "ChanServ"; name = "SET SIGNKICK"; command = "chanserv/set/signkick"; }
command { service = "ChanServ"; name = "SET SUCCESSOR"; command = "chanserv/set/successor"; }
command { service = "ChanServ"; name = "SET NOEXPIRE"; command = "chanserv/saset/noexpire"; permission = "chanserv/saset/noexpire"; }
 
module { name = "cs_set_misc" }
command { service = "ChanServ"; name = "SET URL"; command = "chanserv/set/misc"; misc_description = _("Associe une URL au canal."); }
command { service = "ChanServ"; name = "SET EMAIL"; command = "chanserv/set/misc"; misc_description = _("Associe une adresse e-mail au canal."); }
 
module { name = "cs_status" }
command { service = "ChanServ"; name = "STATUS"; command = "chanserv/status"; }
 
module
{
	name = "cs_suspend"
	expire = 90d
}
command { service = "ChanServ"; name = "SUSPEND"; command = "chanserv/suspend"; permission = "chanserv/suspend"; group = "chanserv/admin"; }
command { service = "ChanServ"; name = "UNSUSPEND"; command = "chanserv/unsuspend"; permission = "chanserv/suspend"; group = "chanserv/admin"; }
 
module { name = "cs_sync" }
command { service = "ChanServ"; name = "SYNC"; command = "chanserv/sync"; group = "chanserv/management"; }
 
 
module { name = "cs_topic" }
command { service = "ChanServ"; name = "TOPIC"; command = "chanserv/topic"; group = "chanserv/management"; }
command { service = "ChanServ"; name = "SET KEEPTOPIC"; command = "chanserv/set/keeptopic"; }
 
module { name = "cs_unban" }
command { service = "ChanServ"; name = "UNBAN"; command = "chanserv/unban"; }
 
module { name = "cs_updown" }
command { service = "ChanServ"; name = "DOWN"; command = "chanserv/down"; group = "chanserv/status"; }
command { service = "ChanServ"; name = "UP"; command = "chanserv/up"; group = "chanserv/status"; }
 
module { name = "cs_xop" }
command { service = "ChanServ"; name = "QOP"; command = "chanserv/xop"; group = "chanserv/access"; }
command { service = "ChanServ"; name = "SOP"; command = "chanserv/xop"; group = "chanserv/access"; }
command { service = "ChanServ"; name = "AOP"; command = "chanserv/xop"; group = "chanserv/access"; }
command { service = "ChanServ"; name = "HOP"; command = "chanserv/xop"; group = "chanserv/access"; }
command { service = "ChanServ"; name = "VOP"; command = "chanserv/xop"; group = "chanserv/access"; }
 
 
/*
 * Extra ChanServ modules.
 */
 
module { name = "cs_statusupdate" }
 

chanstats.conf

Code: conf
 
/*
 * ChanStats
 * Assurez-vous que BotServ, ChanServ et NickServ sont lancés
 */
 
module
{
	name = "m_chanstats"
 
	/* Ceci doit être configuré avec un module SQL actif */
	engine = "mysql/main"
	prefix = "anope_"
 
	smileyshappy = ":) :-) ;) ;-) :D :-D :P :-P"
	smileyssad = ":( :-( ;( ;-("
	smileysother = ":/ :-/"
	NSDefChanstats = 1
	CSDefChanstats = 1
}
command { service = "ChanServ"; name = "SET CHANSTATS"; command = "chanserv/set/chanstats"; }
command { service = "NickServ"; name = "SET CHANSTATS"; command = "nickserv/set/chanstats"; }
command { service = "NickServ"; name = "SASET CHANSTATS"; command = "nickserv/saset/chanstats"; }
 
module { name = "cs_fantasy_stats" }
command { service = "ChanServ"; name = "STATS"; command = "chanserv/stats"; }
command { service = "ChanServ"; name = "GSTATS"; command = "chanserv/gstats"; }
fantasy { name = "STATS"; command = "chanserv/stats"; }
fantasy { name = "GSTATS"; command = "chanserv/gstats"; }
 
module { name = "cs_fantasy_top" }
command { service = "ChanServ"; name = "TOP"; command = "chanserv/top"; }
command { service = "ChanServ"; name = "TOP10"; command = "chanserv/top10"; }
command { service = "ChanServ"; name = "GTOP"; command = "chanserv/gtop"; }
command { service = "ChanServ"; name = "GTOP10"; command = "chanserv/gtop10"; }
fantasy { name = "TOP"; command = "chanserv/top"; }
fantasy { name = "TOP10"; command = "chanserv/top10"; }
fantasy { name = "GTOP"; command = "chanserv/gtop"; }
fantasy { name = "GTOP10"; command = "chanserv/gtop10"; }
 

hostserv.conf

Code: conf
 
/*
 * HostServ
 */
 
/*
 * Creation du service
 */
service
{
	nick = "HostServ"
	user = "services"
	host = "services.host"
	gecos = "vHost Service"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindre ces salons */
}
 
/*
 * Module Core HostServ 
 */
module
{
	name = "hostserv"
	client = "HostServ"
	activate_on_set = false
}
 
/*
 * Commandes Core HostServ
 */
 
command { service = "HostServ"; name = "HELP"; command = "generic/help"; }
 
module { name = "hs_del" }
command { service = "HostServ"; name = "DEL"; command = "hostserv/del"; permission = "hostserv/del"; }
command { service = "HostServ"; name = "DELALL"; command = "hostserv/delall"; permission = "hostserv/del"; }
 
module { name = "hs_group" }
command { service = "HostServ"; name = "GROUP"; command = "hostserv/group"; }
 
module { name = "hs_list" }
command { service = "HostServ"; name = "LIST"; command = "hostserv/list"; permission = "hostserv/list"; }
 
module { name = "hs_off" }
command { service = "HostServ"; name = "OFF"; command = "hostserv/off"; }
 
module { name = "hs_on" }
command { service = "HostServ"; name = "ON"; command = "hostserv/on"; }
 
module
{
	name = "hs_request"
	#memouser = yes
	#memooper = yes
}
command { service = "HostServ"; name = "REQUEST"; command = "hostserv/request"; }
command { service = "HostServ"; name = "ACTIVATE"; command = "hostserv/activate"; permission = "hostserv/set"; }
command { service = "HostServ"; name = "REJECT"; command = "hostserv/reject"; permission = "hostserv/set"; }
command { service = "HostServ"; name = "WAITING"; command = "hostserv/waiting"; permission = "hostserv/set"; }
 
module { name = "hs_set" }
command { service = "HostServ"; name = "SET"; command = "hostserv/set"; permission = "hostserv/set"; }
command { service = "HostServ"; name = "SETALL"; command = "hostserv/setall"; permission = "hostserv/set"; }
 

memoserv.conf

Code: conf
 
/*
 * MemoServ
 */
 
/*
 * Creation du service
 */
service
{
	nick = "MemoServ"
	user = "services"
	host = "services.host"
	gecos = "Memo Service"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 
/*
 * Module Core MemoServ 
 */
module
{
	name = "memoserv"
	client = "MemoServ"
	maxmemos = 20
	senddelay = 3s
}
 
/*
 * Commandes Core MemoServ
 */
 
command { service = "MemoServ"; name = "HELP"; command = "generic/help"; }
 
module { name = "ms_cancel" }
command { service = "MemoServ"; name = "CANCEL"; command = "memoserv/cancel"; }
 
module { name = "ms_check" }
command { service = "MemoServ"; name = "CHECK"; command = "memoserv/check"; }
 
module { name = "ms_del" }
command { service = "MemoServ"; name = "DEL"; command = "memoserv/del"; }
 
module { name = "ms_ignore" }
command { service = "MemoServ"; name = "IGNORE"; command = "memoserv/ignore"; }
 
module { name = "ms_info" }
command { service = "MemoServ"; name = "INFO"; command = "memoserv/info"; }
 
module { name = "ms_list" }
command { service = "MemoServ"; name = "LIST"; command = "memoserv/list"; }
 
module { name = "ms_read" }
command { service = "MemoServ"; name = "READ"; command = "memoserv/read"; }
 
#module
{
	name = "ms_rsend"
	operonly = false
}
#command { service = "MemoServ"; name = "RSEND"; command = "memoserv/rsend"; }
 
module { name = "ms_send" }
command { service = "MemoServ"; name = "SEND"; command = "memoserv/send"; }
 
module { name = "ms_sendall" }
command { service = "MemoServ"; name = "SENDALL"; command = "memoserv/sendall"; permission = "memoserv/sendall"; }
 
module { name = "ms_set" }
command { service = "MemoServ"; name = "SET"; command = "memoserv/set"; }
 
module { name = "ms_staff" }
command { service = "MemoServ"; name = "STAFF"; command = "memoserv/staff"; permission = "memoserv/staff"; }
 

nickserv.conf

Code: conf
 
/*
 *  NickServ.
 */
 
/*
 * Creation du service
 */
service
{
	nick = "NickServ"
	user = "services"
	host = "services.host"
	gecos = "Nickname Registration Service"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 
/*
 * Module Core NickServ
 */
module
{
	name = "nickserv"
	client = "NickServ"
	forceemail = yes
	confirmemailchanges = no
	#unregistered_notice = "Votre pseudonyme n'est pas enregistré. Pour l'enregistrer, utilisez : /msg NickServ REGISTER password email"
	defaults = "ns_secure ns_private hide_email hide_mask memo_signon memo_receive autoop"
	regdelay = 30s
	expire = 21d
	secureadmins = yes
	modeonid = yes
	#modesonid = "+R"
	hidenetsplitquit = no
	killquick = 20s
	kill = 60s
	#restrictopernicks = yes
	enforceruser = "enforcer"
	enforcerhost = "services.host"
	releasetimeout = 1m
	guestnickprefix = "Guest"
	nonicknameownership = no
	#passlen = 32
}
 
/*
 * Commande Core NickServ
 */
 
command_group
{
	name = "nickserv/admin"
	description = "Services Operator commands"
}
 
command { service = "NickServ"; name = "HELP"; command = "generic/help"; }
 
module
{
	name = "ns_access"
	accessmax = 32
	addaccessonreg = yes
}
 
command { service = "NickServ"; name = "ACCESS"; command = "nickserv/access"; }
 
module
{
	name = "ns_ajoin"
	ajoinmax = 10
}
command { service = "NickServ"; name = "AJOIN"; command = "nickserv/ajoin"; }
 
 
module { name = "ns_alist" }
command { service = "NickServ"; name = "ALIST"; command = "nickserv/alist"; }
 
module
{
	name = "ns_cert"
	accessmax = 5
}
command { service = "NickServ"; name = "CERT"; command = "nickserv/cert"; }
 
module { name = "ns_drop" }
command { service = "NickServ"; name = "DROP"; command = "nickserv/drop"; }
 
module { name = "ns_getemail" }
command { service = "NickServ"; name = "GETEMAIL"; command = "nickserv/getemail"; permission = "nickserv/getemail"; group = "nickserv/admin"; }
 
#module { name = "ns_getpass" }
#command { service = "NickServ"; name = "GETPASS"; command = "nickserv/getpass"; permission = "nickserv/getpass"; }
 
module
{
	name = "ns_group"
	maxaliases = 16
	nogroupchange = yes
}
 
command { service = "NickServ"; name = "GLIST"; command = "nickserv/glist"; }
command { service = "NickServ"; name = "GROUP"; command = "nickserv/group"; }
command { service = "NickServ"; name = "UNGROUP"; command = "nickserv/ungroup"; }
 
module { name = "ns_identify" }
command { service = "NickServ"; name = "ID"; command = "nickserv/identify"; hide = true; }
command { service = "NickServ"; name = "IDENTIFY"; command = "nickserv/identify"; }
 
module { name = "ns_info" }
command { service = "NickServ"; name = "INFO"; command = "nickserv/info"; }
 
command { service = "NickServ"; name = "SET HIDE"; command = "nickserv/set/hide"; }
command { service = "NickServ"; name = "SASET HIDE"; command = "nickserv/saset/hide"; permission = "nickserv/saset/hide"; }
 
module
{
	name = "ns_list"
	listmax = 50
}
command { service = "NickServ"; name = "LIST"; command = "nickserv/list"; }
command { service = "NickServ"; name = "SET PRIVATE"; command = "nickserv/set/private"; }
command { service = "NickServ"; name = "SASET PRIVATE"; command = "nickserv/saset/private"; permission = "nickserv/saset/private"; }
 
module { name = "ns_logout" }
command { service = "NickServ"; name = "LOGOUT"; command = "nickserv/logout"; }
 
module
{
	name = "ns_recover"
	restoreonrecover = yes
}
command { service = "NickServ"; name = "RECOVER"; command = "nickserv/recover"; }
# Décommenter les lignes suivantes pour simuler le comportement d'Anope 1.8
#command { service = "NickServ"; name = "GHOST"; command = "nickserv/recover"; }
#command { service = "NickServ"; name = "RELEASE"; command = "nickserv/recover"; }
 
/*
 * Enregistrement
 */
module
{
	name = "ns_register"
	registration = "none"
	/* Pour forcer l'envoi d'une confirmation par email */
	#registration = "mail"
	resenddelay = 90s
	#nickregdelay = 30s
	#unconfirmedexpire = 1d
}
command { service = "NickServ"; name = "CONFIRM"; command = "nickserv/confirm"; }
command { service = "NickServ"; name = "REGISTER"; command = "nickserv/register"; }
command { service = "NickServ"; name = "RESEND"; command = "nickserv/resend"; }
 
module { name = "ns_resetpass" }
command { service = "NickServ"; name = "RESETPASS"; command = "nickserv/resetpass"; }
 
module
{
	name = "ns_set"
	#allowkillimmed = yes
}
 
command { service = "NickServ"; name = "SET"; command = "nickserv/set"; }
command { service = "NickServ"; name = "SASET"; command = "nickserv/saset"; permission = "nickserv/saset/"; group = "nickserv/admin"; }
 
command { service = "NickServ"; name = "SET AUTOOP"; command = "nickserv/set/autoop"; }
command { service = "NickServ"; name = "SASET AUTOOP"; command = "nickserv/saset/autoop"; permission = "nickserv/saset/autoop"; }
 
command { service = "NickServ"; name = "SET DISPLAY"; command = "nickserv/set/display"; }
command { service = "NickServ"; name = "SASET DISPLAY"; command = "nickserv/saset/display"; permission = "nickserv/saset/display"; }
 
command { service = "NickServ"; name = "SET EMAIL"; command = "nickserv/set/email"; }
command { service = "NickServ"; name = "SASET EMAIL"; command = "nickserv/saset/email"; permission = "nickserv/saset/email"; }
 
command { service = "NickServ"; name = "SET KEEPMODES"; command = "nickserv/set/keepmodes"; }
command { service = "NickServ"; name = "SASET KEEPMODES"; command = "nickserv/saset/keepmodes"; permission = "nickserv/saset/keepmodes"; }
 
command { service = "NickServ"; name = "SET KILL"; command = "nickserv/set/kill"; }
command { service = "NickServ"; name = "SASET KILL"; command = "nickserv/saset/kill"; permission = "nickserv/saset/kill"; }
 
command { service = "NickServ"; name = "SET LANGUAGE"; command = "nickserv/set/language"; }
command { service = "NickServ"; name = "SASET LANGUAGE"; command = "nickserv/saset/language"; permission = "nickserv/saset/language"; }
 
command { service = "NickServ"; name = "SET MESSAGE"; command = "nickserv/set/message"; }
command { service = "NickServ"; name = "SASET MESSAGE"; command = "nickserv/saset/message"; permission = "nickserv/saset/message"; }
 
command { service = "NickServ"; name = "SET PASSWORD"; command = "nickserv/set/password"; }
command { service = "NickServ"; name = "SASET PASSWORD"; command = "nickserv/saset/password"; permission = "nickserv/saset/password"; }
 
command { service = "NickServ"; name = "SET SECURE"; command = "nickserv/set/secure"; }
command { service = "NickServ"; name = "SASET SECURE"; command = "nickserv/saset/secure"; permission = "nickserv/saset/secure"; }
 
command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/saset/noexpire"; permission = "nickserv/saset/noexpire"; }
 
 
module { name = "ns_set_misc" }
command { service = "NickServ"; name = "SET URL"; command = "nickserv/set/misc"; misc_description = _("Associer une URL avec votre compte"); }
command { service = "NickServ"; name = "SASET URL"; command = "nickserv/saset/misc"; misc_description = _("Associer une URL avec ce compte"); permission = "nickserv/saset/url"; group = "nickserv/admin"; }
 
#command { service = "NickServ"; name = "SET TWITTER"; command = "nickserv/set/misc"; misc_description = _("Associer un compte Twitter avec votre compte"); }
#command { service = "NickServ"; name = "SASET TWITTER"; command = "nickserv/saset/misc"; misc_description = _("Associer un compte Twitter avec votre compte"); permission = "nickserv/saset/twitter"; group = "nickserv/admin"; }
#command { service = "NickServ"; name = "SET FACEBOOK"; command = "nickserv/set/misc"; misc_description = _("Associer une URL Facebook avec votre compte"); }
#command { service = "NickServ"; name = "SASET FACEBOOK"; command = "nickserv/saset/misc"; misc_description = _("Associer une URL Facebook avec votre compte"); permission = "nickserv/saset/facebook"; group = "nickserv/admin"; }
 
module { name = "ns_status" }
command { service = "NickServ"; name = "STATUS"; command = "nickserv/status"; }
 
module
{
	name = "ns_suspend"
	#suspendexpire = 90d
}
command { service = "NickServ"; name = "SUSPEND"; command = "nickserv/suspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
command { service = "NickServ"; name = "UNSUSPEND"; command = "nickserv/unsuspend"; permission = "nickserv/suspend"; group = "nickserv/admin"; }
 
module { name = "ns_update" }
command { service = "NickServ"; name = "UPDATE"; command = "nickserv/update"; }
 
 
/*
 * Extra NickServ modules.
 */
 
module
{
	name = "ns_maxemail"
	#maxemails = 1
}
 

operserv.conf

Code: conf
 
/*
 * OperServ
 */
 
/*
 * Creation du service
 */
service
{
	nick = "OperServ"
	user = "services"
	host = "services.host"
	gecos = "Operator Service"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 
/*
 * Module Core OperServ 
 */
module
{
	name = "operserv"
	client = "OperServ"
	autokillexpiry = 30d
	chankillexpiry = 30d
	snlineexpiry = 30d
	sqlineexpiry = 30d
	akillonadd = yes
	killonsnline = yes
	killonsqline = yes
	addakiller = yes
	akillids = yes
	opersonly = yes
}
 
/*
 * Commandes Core OperServ
 */
 
command { service = "OperServ"; name = "HELP"; command = "generic/help"; }
 
module { name = "os_akill" }
command { service = "OperServ"; name = "AKILL"; command = "operserv/akill"; permission = "operserv/akill"; }
 
module { name = "os_chankill" }
command { service = "OperServ"; name = "CHANKILL"; command = "operserv/chankill"; permission = "operserv/chankill"; }
 
/* DefCon */
#module
{
	name = "os_defcon"
 
	/*
	 * Niveau DefCon par défaut (1-5) Le niveau 5 correspond au fonctionnement normal des services
	 * alors que 1 est le plus restrictif
	 * Configurer le niveau par défaut à 0 désactive le block entier
	 */
        sessionlimit = 2
	defaultlevel = 5
 
	/* Options disponibles supplémentaires  nonewclients operonly nonewmemos: */
	level4 = "nonewchannels nonewnicks nomlockchanges reducedsessions"
	level3 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions"
	level2 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly"
	level1 = "nonewchannels nonewnicks nomlockchanges forcechanmodes reducedsessions silentoperonly akillnewclients"
 
	#akillexpire = 5m
	#chanmodes = "+R"
	#timeout = 15m
	#globalondefcon = yes
	#globalondefconmore = yes
	#message = "Le service de protection vient d'être activé, certaines fonctionnalités ont été désactivées pour des raisons de sécurité, merci de votre compréhension."
	#offmessage = "Les services sont de retour à la normale, désolé pour la gène occasionnée."
	#akillreason = "Pour des raisons de sécurité, le réseau n'accepte momentanément plus de connexions. Merci de rééssayer dans quelques instants."
}
#command { service = "OperServ"; name = "DEFCON"; command = "operserv/defcon"; }
 
#module
{
	name = "os_dns"
	ttl = 1m
	user_drop_mark = 50
	user_drop_time = 1m
	user_drop_readd_time = 5m
	remove_split_servers = yes
	readd_connected_servers = no
}
#command { service = "OperServ"; name = "DNS"; command = "operserv/dns"; permission = "operserv/dns"; }
 
module { name = "os_config" }
command { service = "OperServ"; name = "CONFIG"; command = "operserv/config"; permission = "operserv/config"; }
 
module { name = "os_forbid" }
command { service = "OperServ"; name = "FORBID"; command = "operserv/forbid"; permission = "operserv/forbid"; }
 
module { name = "os_ignore" }
command { service = "OperServ"; name = "IGNORE"; command = "operserv/ignore"; permission = "operserv/ignore"; }
 
module { name = "os_info" }
command { service = "OperServ"; name = "INFO"; command = "operserv/info"; permission = "operserv/info"; }
 
module { name = "os_jupe" }
command { service = "OperServ"; name = "JUPE"; command = "operserv/jupe"; permission = "operserv/jupe"; }
 
module { name = "os_kick" }
command { service = "OperServ"; name = "KICK"; command = "operserv/kick"; permission = "operserv/kick"; }
 
module { name = "os_kill" }
command { service = "OperServ"; name = "KILL"; command = "operserv/kill"; permission = "operserv/kill"; }
 
module { name = "os_list" }
command { service = "OperServ"; name = "CHANLIST"; command = "operserv/chanlist"; permission = "operserv/chanlist"; }
command { service = "OperServ"; name = "USERLIST"; command = "operserv/userlist"; permission = "operserv/userlist"; }
 
module { name = "os_login" }
command { service = "OperServ"; name = "LOGIN"; command = "operserv/login"; }
command { service = "OperServ"; name = "LOGOUT"; command = "operserv/logout"; }
 
module
{
	name = "os_logsearch"
	logname = "services.log"
}
command { service = "OperServ"; name = "LOGSEARCH"; command = "operserv/logsearch"; permission = "operserv/logsearch"; }
 
module { name = "os_mode" }
command { service = "OperServ"; name = "UMODE"; command = "operserv/umode"; permission = "operserv/umode"; }
command { service = "OperServ"; name = "MODE"; command = "operserv/mode"; permission = "operserv/mode"; }
 
module { name = "os_modinfo" }
command { service = "OperServ"; name = "MODINFO"; command = "operserv/modinfo"; permission = "operserv/modinfo"; }
command { service = "OperServ"; name = "MODLIST"; command = "operserv/modlist"; permission = "operserv/modinfo"; }
 
module { name = "os_module" }
command { service = "OperServ"; name = "MODLOAD"; command = "operserv/modload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODRELOAD"; command = "operserv/modreload"; permission = "operserv/modload"; }
command { service = "OperServ"; name = "MODUNLOAD"; command = "operserv/modunload"; permission = "operserv/modload"; }
 
module
{
	name = "os_news"
	announcer = "Global"
	oper_announcer = "OperServ"
	#newscount = 3
}
command { service = "OperServ"; name = "LOGONNEWS"; command = "operserv/logonnews"; permission = "operserv/news"; }
command { service = "OperServ"; name = "OPERNEWS"; command = "operserv/opernews"; permission = "operserv/news"; }
command { service = "OperServ"; name = "RANDOMNEWS"; command = "operserv/randomnews"; permission = "operserv/news"; }
 
module { name = "os_noop" }
command { service = "OperServ"; name = "NOOP"; command = "operserv/noop"; permission = "operserv/noop"; }
 
module { name = "os_oline" }
command { service = "OperServ"; name = "OLINE"; command = "operserv/oline"; permission = "operserv/oline"; }
 
module { name = "os_oper" }
command { service = "OperServ"; name = "OPER"; command = "operserv/oper"; permission = "operserv/oper"; }
 
module { name = "os_reload" }
command { service = "OperServ"; name = "RELOAD"; command = "operserv/reload"; permission = "operserv/reload"; }
 
module
{
	name = "os_session"
	defaultsessionlimit = 3
	maxsessionlimit = 100
	exceptionexpiry = 1d
	sessionlimitexceeded = "La limite de sessions pour votre adresse %IP% a été atteinte."
	#sessionlimitdetailsloc = "Merci de visiter http://your.website.url/ pour plus d'informations sur les limites de session."
	maxsessionkill = 15
	sessionautokillexpiry = 30m
	session_ipv4_cidr = 32
	session_ipv6_cidr = 128
}
command { service = "OperServ"; name = "EXCEPTION"; command = "operserv/exception"; permission = "operserv/exception"; }
command { service = "OperServ"; name = "SESSION"; command = "operserv/session"; permission = "operserv/session"; }
 
module
{
	name = "os_set"
	superadmin = yes
}
command { service = "OperServ"; name = "SET"; command = "operserv/set"; permission = "operserv/set"; }
 
module { name = "os_shutdown" }
command { service = "OperServ"; name = "QUIT"; command = "operserv/quit"; permission = "operserv/quit"; }
command { service = "OperServ"; name = "RESTART"; command = "operserv/restart"; permission = "operserv/restart"; }
command { service = "OperServ"; name = "SHUTDOWN"; command = "operserv/shutdown"; permission = "operserv/shutdown"; }
 
module { name = "os_stats" }
command { service = "OperServ"; name = "STATS"; command = "operserv/stats"; permission = "operserv/stats"; }
 
module { name = "os_svs" }
command { service = "OperServ"; name = "SVSNICK"; command = "operserv/svsnick"; permission = "operserv/svs"; }
command { service = "OperServ"; name = "SVSJOIN"; command = "operserv/svsjoin"; permission = "operserv/svs"; }
command { service = "OperServ"; name = "SVSPART"; command = "operserv/svspart"; permission = "operserv/svs"; }
 
module { name = "os_sxline" }
command { service = "OperServ"; name = "SNLINE"; command = "operserv/snline"; permission = "operserv/snline"; }
command { service = "OperServ"; name = "SQLINE"; command = "operserv/sqline"; permission = "operserv/sqline"; }
 
module { name = "os_update" }
command { service = "OperServ"; name = "UPDATE"; command = "operserv/update"; permission = "operserv/update"; }
 

irc2sql.conf

Code: conf
 
/*
 * IRC2SQL
 */
 
module
{
	name = "irc2sql"
	/* Ceci doit être configuré avec un module SQL actif */
	engine ="mysql/main"
	prefix = "anope_"
	/*Active GeoIP */
	GeoIPLookup = yes
	#GeoIPDatabase = "country"
	GeoIPDatabase = "city"
 
	client = "StatServ"
	ctcpuser = "yes"
 
	ctcpeob = "yes"
}
 
service
{
	nick = "StatServ"
	user = "StatServ"
	host = "services.host"
	gecos = "Statistical Service"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 

global.conf

Code: conf
 
/*
 * Global
 */
 
/*
 * First, create the service.
 */
service
{
	nick = "Global"
	user = "services"
	host = "services.host"
	gecos = "Global Noticer"
	#modes = "+o"
	#channels = "@#services,#mychan" /* Le service joindra ces salons */
}
 
/*
 * Module Core Global
 */
module
{
	name = "global"
	client = "Global"
	#globaloncycledown = "Les services redémarrent, ils seront de retour dans un instant. Merci d'être sage pendant leur absence"
	#globaloncycleup = "Les services sont de retour, bonne journée !"
	#anonymousglobal = yes
}
 
/*
 * Commandes Core Global
 */
 
command { service = "Global"; name = "HELP"; command = "generic/help"; }
 
module { name = "gl_global" }
command { service = "Global"; name = "GLOBAL"; command = "global/global"; permission = "global/global"; }
 


EOF

Hors ligne

#2 28/12/2013 17:08:35

jerome
Nouveau IRCzien
Inscription : 10/07/2011
Messages : 9
Site Web

Re : Exemple de configuration Anope 2.0

Good Job !

Où ce situe le fichier SQL (avec les tables) à insérer dans la base de données ?

Hors ligne

#3 28/12/2013 17:18:37

Harakiri
Administrateur
Lieu : Paris
Inscription : 02/07/2011
Messages : 260

Re : Exemple de configuration Anope 2.0

Si tu veux parler du fichier SQL qui correspond à la structure des tables pour faire fonctionner anope, alors tu n'en as pas besoin. La base se créé, s'initialise et se remplie toute seule.
Si tu ne parles pas de ça, alors je n'ai pas compris de quoi tu parles !


EOF

Hors ligne

#4 28/12/2013 17:29:39

jerome
Nouveau IRCzien
Inscription : 10/07/2011
Messages : 9
Site Web

Re : Exemple de configuration Anope 2.0

Si si c'était bien de ça que je parlais.

Je dois avoir un bug... Install ok > anope connecté à mysql > pas de table de crée...

Merci smile

Hors ligne

#5 28/12/2013 17:58:29

Harakiri
Administrateur
Lieu : Paris
Inscription : 02/07/2011
Messages : 260

Re : Exemple de configuration Anope 2.0

Créé un sujet d'aide dans le forum approprié si tu veux. Regarde tes logs, vérifie que tous les modules sont activés et bien configurés.


EOF

Hors ligne

Pied de page des forums

412205 visites ( 45 aujourd'hui ) 5 visiteurs en ligne
Copyright © 2004 - 2013 IRCz