Example Hub Setup

From Aquila Homepage

Jump to: navigation, search

Contents

Introduction

This document will help you set up your hub for the first time. It assumes you have installed your hub and you succesfully joined it as owner. This document will use the settings of my admin hub as examples.

Network settings

First we will set the networking settings of our hub. Those are the most important and are unlikely to change any time soon.

!= hubaddress "aquila.no-ip.info"
!= nmdc.listenport 4111

My hub does not have any other ports, but if you want more, you could do:

!= nmdc.extraports "411 1411 14111 41111"

Now save and restart the hub for the settings to take effect:

!save
!shutdown

Customization

Now it is time to customize your hub to your own liking.

!= hubdescription "Aquila Development Hub (chat only hub)"
!= hubname "Orbital Zero"
!= hubowner "Jove"
!= hubsecurity.nick "Wintermute"
!= hubsecurity.desc "Wintermute was hive mind, decision maker, effecting change in the world outside."

Now save and restart the hub for the settings to take effect (for the hubsecurity):

!save
!shutdown

Adding the motd

This can be done in two ways, I suggest you use the file triggers for this purpose. First, create a file in the hub configuration directory and put your message of the day in it. Let's say you called the file motd.txt. Then do:

!triggeradd motd file motd.txt
!ruleadd motd login
!ruleadd motd command motd "Shows the message of the day"

Make sure that the file motd.txt is readable for all users.

 chmod a+r motd.txt

Creating OpChat

The opchat in aquila is nothing but a standard chatroom. In this example we call the OpChat "#Opchat". This make it appear at the top of the userlist. This is how you create it:

!chatroomadd "#OpChat" "This is where your fate is decided!" private autorights rights key

If you would like to add a VIPChat too, do

!chatroomadd "#VIPChat" "Free champagne!" private autorights rights share

These settings work with the standard groups.

Userlimit setting

This is how to set the user limits:

!= userlimit.unregistered 1000
!= userlimit.registered 100
!= userlimit.op 25

Keep in mind that the userlimit.op is a part of userlimit.registered. It is the number of registered users that are reserved for the ops. If you use larger settings, don't forget to keep an eye on any warnings you may get. Aquila will warn you if you try to allow more users than it can. Set the share rules:

!= sharemin.op 0
!= sharemin.registered 3g
!= sharemin.unregistered 10g

This will set the minshare for ops to 0, for registered users to 3Gbyte and for unregistered user to 10Gbyte.

Search interval

Another popular settings are the search intervals:

!= rate.passivesearch.period 60
!= rate.activesearch.period 30