67 lines
2.5 KiB
Plaintext
67 lines
2.5 KiB
Plaintext
# uhub.conf - A example configuration file.
|
|
# You should normally place this file in /etc/uhub/uhub.conf
|
|
# And change the file_acl and file_motd below.
|
|
#
|
|
# This file is read only to the uhub deamon, and if you
|
|
# make changes to it while uhub is running you can send a
|
|
# HUP signal to it, to reparse configuration (only on UNIX).
|
|
|
|
# Bind to this port and address
|
|
# server_bind_addr=any means listen to "::" if IPv6 is supported
|
|
# by the host OS, otherwise 0.0.0.0.
|
|
server_port=1511
|
|
server_bind_addr=any
|
|
|
|
# The maximum amount of users allowed on the hub.
|
|
max_users=500
|
|
|
|
# If 1, will show a "This hub is running uhub/version".
|
|
show_banner=1
|
|
|
|
# Allow only registered users on the hub if set to 1.
|
|
registered_users_only=0
|
|
|
|
# A server name and description.
|
|
hub_name=my hub
|
|
hub_description=Powered by uHub
|
|
|
|
# Set this to 0, and the hub will disconnect everyone
|
|
hub_enabled=1
|
|
|
|
# Access control list (user database)
|
|
file_acl=/etc/uhub/users.conf
|
|
|
|
# This file can contain a message of the day. A welcome
|
|
# message send to any client when connecting.
|
|
# If the file does not exist, is empty, or cannot be opened
|
|
# the motd will not be sent to the clients.
|
|
# Normally this message is sent to clients when connecting.
|
|
file_motd=/etc/uhub/motd.txt
|
|
|
|
# Configure status message as sent to clients in different circumstances.
|
|
msg_hub_full = Hub is full
|
|
msg_hub_disabled = Hub is disabled
|
|
msg_hub_registered_users_only = Hub is for registered users only
|
|
msg_inf_error_nick_missing = No nickname given
|
|
msg_inf_error_nick_multiple = Multiple nicknames given
|
|
msg_inf_error_nick_invalid = Nickname is invalid
|
|
msg_inf_error_nick_long = Nickname too long
|
|
msg_inf_error_nick_short = Nickname too short
|
|
msg_inf_error_nick_spaces = Nickname cannot start with spaces
|
|
msg_inf_error_nick_bad_chars = Nickname contains invalid characters
|
|
msg_inf_error_nick_not_utf8 = Nickname is not valid utf8
|
|
msg_inf_error_nick_taken = Nickname is already in use
|
|
msg_inf_error_nick_restricted = Nickname cannot be used on this hub
|
|
msg_inf_error_cid_invalid = CID is not valid
|
|
msg_inf_error_cid_missing = CID is not specified
|
|
msg_inf_error_cid_taken = CID is taken
|
|
msg_inf_error_pid_missing = PID is not specified
|
|
msg_inf_error_pid_invalid = PID is invalid
|
|
msg_ban_permanently = Banned permanently
|
|
msg_ban_temporarily = Banned temporarily
|
|
msg_auth_invalid_password = Password is wrong
|
|
msg_auth_user_not_found = User not found in password database
|
|
msg_error_no_memory = No memory
|
|
|
|
|