VilloNanny Advanced Manual

Mixing Language Files

If you're playing on more than one server, in more than one language, you may want to copy&paste your configuration without adapting it when changing language.

This is easily done by merging two language files together. For example, you can copy the content of the “lang-de.properties” into “lang-en.properties” and play on german and english sites without translating the configuration.

You could even rename the language file to “lang-deen.properties” and use

<server language="deen">

Captcha

Captcha detection has been introduced in VilloNanny 2.4.0. By default, it just logs the captcha and quits the current strategy. This isn't very useful but at least you get to know what happened. You can configure more advanced behaviours by means of the <captchaHandler> tag of the <server> section. The syntax is as follows:

<captchaHandler class="HANDLERCLASS">
    <PARAMETERS/>
</captchaHandler>
HANDLERCLASS the class to use for handling the captcha
PARAMETERS Some optional parameters, specific to the chosen class

BaseCaptchaHandler

This is the default handler. It just logs the presence of the captcha. You don't need to add it to the configuration file. If you really want to add it, this is an example:

<captchaHandler class="BaseCaptchaHandler">

AbortingCaptchaHandler

This handler aborts execution of the current server. Usually this would make VilloNanny to quit entirely. Use it if you don't want the nanny to insist on getting a captcha. It takes no parameters. Example:

<captchaHandler class="AbortingCaptchaHandler">


Personal Tools