ircd_vhostserv

Module Author: n00bie
Category: IRCd Specific
Status: Published
User Rating: (5 Comments)

Tested:
Unreal3.2.7, Anope-1.7.21
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Description:

This module create a new services client/bot. The bot have its own fantasy command !vhost and !groupvhost. The bot will answer the fantasy commands ONLY on its own channel.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Providing Fantasy Commands:

!vhost some.vhost.here - Set a vhost for users
!groupvhost group.vhost.here - Set vhost for all users in a group
!vhost restricted - lists all restricted hosts (settable on services.conf)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Usage / Configuration:

This module have 10 configurable options.

Copy/Paste below on services.conf

# BotNick [REQUIRED]
# Module: ircd_vhostserv
# Define what nick the bot will have.
#
BotNick "vHostServ"

# BotIdent [REQUIRED]
# Define the bot identd.
#
BotIdent "Bot"

# BotHost [REQUIRED]
# Define the bot hostname or vhost.
#
BotHost "LocalHost-IRC.Host.Bot"

# BotReal [REQUIRED]
# Define the bot realname.
#
BotReal "/msg vHostServ Help"

# vHostChannel [REQUIRED]
# Define your network vhost channel.
#
vHostChannel "#vHost"

# BanClearTime [REQUIRED]
# Sets the timeout period after which a particular ban set by
# the bot will be removed.
#
BanClearTime 5h

# BotModes [OPTIONAL]
# Define what modes the bot will have.
#
BotModes "+SqB"

# JoinLogChannel [OPTIONAL]
# Define this if you want the bot to automatically
# join services log channel.
#
JoinLogChannel

# RestrictHosts [RECOMMENDED]
# Define unallowed vhosts which will be match using
# wildcards. This is not case-sensitive.
#
RestrictHosts "*ircop* *admin* *root* *staff* *some.wild.card*"

# KickBanRestrictHosts [OPTIONAL]
# Define this to kick banned users who request
# restricted hosts. If this option is enabled
# RestrictHosts setting is required.
#
KickBanRestrictHosts

# End of config: ircd_vhostserv
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Bugs? Suggestion/comments ... feel free ^^

Latest Module Releases

Recent User Comments

  • Tinuva (Tinuva)

    Posted: 25/12/10 13:45:29
    Anope Version: 1.8.5
    Module Version: 2.0.2
    Comments:
    The module loads properly, I use bs_fantasy_ext too but compiled it in unsupported mode though vHostServ doesn't react to any commands. !vhost host.here !vhost restricted or /msg vHostServ help all give no reaction.

    Using InspIRCd 1.2

    User Rating:

  • Naseer (Naseer)

    Posted: 21/09/11 00:45:14
    Anope Version: 1.8.5
    Module Version: 2.0.2
    Comments:
    it will work well
    1st register that chan were u want to join bot
    then it will load
    otherwise it will join server and will close module with this error

    SIGNOFF user: vHostServ (Bot@Dostiplus.Host.Bot /msg vHostServ Help) at services.dostiplus.com Quit: Module Unloaded!
    Module loading status: 6 (Module Error, Error during load time or module returned MOD_STOP)
    -OperServ- Unable to load module ircd_vhostserv

    User Rating:

  • Naseer (Naseer)

    Posted: 21/09/11 00:46:56
    Anope Version: 1.9.3
    Module Version: 2.0.2
    Comments:
    same way
    use as it i wrote on top
    just register that chan were u want to join bot for work
    it will work

    User Rating:

  • Popescu adfelin (man3x)

    Posted: 15/03/12 17:47:13
    Anope Version: 1.8.5
    Module Version: 2.0.2
    Comments:


    User Rating:

  • HiddenKnowledge (HiddenKnowledge)

    Posted: 21/04/12 17:49:24
    Anope Version: 1.8.7
    Module Version: 2.0.2
    Comments:
    I made a slight adaption to my version of the module, that will let the module ban on the real (encrypted) host, so that they can't simply bypass the ban by changing their nickname.
    It's a super hacky version, but it works.
    You can find it at http://irc.fun1schat.com/ircd_vhostserv.c (http://irc.fun1schat.com/ircd_vhostserv.txt to view online)
    Any improvements are welcome, offcourse.
    (Tested on anope 1.8.7)

    User Rating:

Post A Comment

You need to be logged in to post a comment.