Welcome to the PtokaX Wiki!
This wiki is devoted to let users share information on the great hubsoft PtokaX. However, it is not limited to PtokaX, it is destined to share and discuss information on different parts of the LUA programming language, but the site is NOT intended to be a replacement for the primary LUA Board aka the PtokaX Portal, nor the secondary LUA Board or the PtokaX resources.
If you’re not familiar with wikis then in short: they are user-contributed sites: pages can be edited by (almost) anyone. As such, there is always kind of up-to-date and (hopefully) proper content. They are better than forums, since relevant pieces of information are on the same page. Do not hesitate to share your knowledge, and we all hope you can learn and teach a lot here! — bastya_elvtars
Trace: » API 2 Script Examples » Setting up PtokaX » PtokaX Service Installation Guide » File manipulation » Metatables and metamethods » Formatting Syntax » Rules page » PlayGround » ptokax » General settings
General settings
Main page
Hub name
Enter the hub's name here.
Hub topic
Here you can give a hub topic. A hub topic whould normally be something users are talking in the hub about. The Hubtopic is shown in most clients next to the hubname.
Hub description
This will be the description that will acompany the hub's name in a hublist view. This can be of any size. It is a good policy to specify something here as it helps people of the same interests find your hub easier ( using the Filter field on the Public Hublist window of any dc++ based client. For instance if your hub is targeted to Classic Metal music then you would want to add “Classic Metal” to your description.
Anti MoGLo Description
With this box checked the moglo search client will not be able to connect to your hub.
Hub address
Here you must specify the address (hostname or IP) to which the users must connect to in order to log in to the hub. You may want to specify 127.0.0.1 or localhost if you want to run a hub locally e. g. for testing your scripts. The ports must be accessible from outside in order to allow external users to connect. This can be achieved via opening the ports in your firewall and setting up the port forwarding in your router. Go to www.portforward.com or refer to your router's/firewall's manual.
If given address is hostname...
If checked and the address is not a proper IPv4 address then PtokaX tries to resolve it to a hostname. This is required for the setting below.
Accept connections only...
If checked then PtokaX only listens on the IP address that the hostname resolves into. This is required when you run PtokaX on a box that has multiple NICs with multiple IPs and you only want to accept connections on a certain address. More technically, it binds the listening socket to a certain IP instead of listening on all available IP addresses.
TCP ports
Enter the TCP ports you want the hub to listen on. You separate them with semicolons, the whole string length must not exceed 64 characters. It is good practice to specify a TCP port other than 411 because many ISP block this port. Don't forget to open the ports in your firewall and properly forward them in your router.
UDP port
This is used only by scripters.
Admin nick
This is the nick you use when you chat on your hub from PtokaX from the Users/Chat window.
Hublist register addresses
This field will setup the hublist registration servers for this hub. Hublist registration servers are needed when you want your hub to have the best possible advertisement. After starting the hub it should take some days before it appears on the hublists. The field is accompanied by a checkbox that decides whether or not to contact those registration servers automatically (this is done at a default interval). Registration servers can be added in the formats: address, address:port. The default port they listen on is 2501. If you want to add multiple servers, you can do it by separating every address[:port] with a semicolon. The maximum length of the list is 1024 characters.
Automatically register to hublist
When checked, the hub automatically registers to hublists at certain intervals.
MOTD
MOTD textbox
Enter the MOTD (message of the day = a message that every connecting user gets) here. It will be saved when PtokaX is closed.
Send MOTD as private message
It sends the MOTD as a PM.
Disable MOTD
Disables the MOTD entirely.
Default bots
Hub bot
Enter the main bot's nick, description and mail address here. If the Use this nick instead of Hub-security is checked, then Hub-security messages will be sent using this nick. You have to enable and register the bot if you want it to appear in the userlist.
Operator chat bot
This is a bot which forwards every PM sent to it to every operator, so it works as a chatroom for operators. The options are the same as the hub bot's.
You are here: About the Wiki » settingup » General settings


