Main     News     FAQs     Docs     Links     License     Download     Support     Live Demo

Naken Chat

nakenchat.conf setup

You can set the following parameters in the nakenchat.conf file:

Note: Any line that starts with a # will be considered a "comment" and will be ignored. Also, if you make a change to this file while the server is running, you need to use the .R command as sysop for the changes to be reloaded.

  • WELCOME - This is the next line in the welcome message (see sample nakenchat.conf for more info).
  • SYSOP_PASSWORD - put the password that you want to enter sysop mode here
  • BAD_WORD - you can put as many of these lines as you want. If censoring mode is on and someone types one of thses words, it will be censored.
  • ALLOW - you can add as many domain names to allow as you want. this works by PARTIAL name. so if you ALLOW .com, any site that contains .com anywhere in the name will be allowed to join the chat. Another example if you ALLOW mike, then any domain that contains the word mike in it (www.mike.com, www.mikekohn.net, etc) will be allowed to join. Everyone else will be denied. If you have no ALLOW lines, then everyone can join (unless they have a ban line).
  • BAN - These are domains that are not allowed to connect to your chat. This also works by partial name. if you BAN .com, anyone with the address .com will not be allowed to join.
  • INTERNATIONAL - this makes the chat work in 8 bit mode so all sorts of goofy chars from foreign countries can pass through :)
  • MINCONN - This is the minimum number of connections you expect to have all the time on the chat. Setting this too high could keep memory allocated badly. Setting this to the right number will help the chat allocate memory properly for logins.
  • MAXCONN - Set this to the maximum number of people you'd ever have connecting to the chat.
  • MAX_IDLE_TIME - set this to the number of minutes people are allowed to sit on the chat without talking. Anyone with level 5 or higher can sit as long as they want.
  • PORT - set the port which the chat will run (default is 6666... the number of the beast multiplied by 10 plus 6 :)
  • HOSTLOOKUPS - host lookups could slow down logon time but will figure out the DNS name where the computer connecting came from. This is required if you ban or allow by domain name. Otherwise, ban/allow will work by the numerical ip address instead.
  • SHOWIPS - this is the same as sysop .H. If set to 1 all IP addresses will show up during login and .w's. If it's set to 0 no IP's will be displayed. Sysops will always see the IP address regardless of this setting.
  • NODUPIPS - this is the same as sysop .D. If set to 1 if you don't want multiple people to log on from the same IP address.
  • LOGFILE - Set this to where you want your logfile at.
  • LOGGING - Set this to 1 if you want to enable logging on startup.
  • WHO_FILE - This is the optional filename that will hold the "who's online" information. If you don't want this feature you can put a # infront of it to disable it
  • PASSWD - Set this to the Naken Chat password file you want to you (not Unix passwd compatible.
  • FORCE_PASSWD - Force user to be in the password file before they can log on.
  • FORCE_NAME - Force user to name themselves before they can talk.
  • NODUP_NAMES - Only one person can use a name at a time. For example if someone types .n mike and someone is already named mike on the chat, it won't let them use that name.
  • KILL_DUPS - (Version 2.05 and above) This is the same as NODUP_NAMES, except it will allow the new user to change their name to something someone else is using, and kick off the other other user with the same name. This can help get rid of TCP/IP ghosting.
  • NO_NAME_CHANGE - After logging on and setting their name, user cannot change their name
  • CENSOR - set the censoring level (0 to 4). Levels 0 to 4 are defined elsewhere in the documentation.
  • CHANNEL_DISABLE - Turn off users ability to create channels




Copyright 1997-2011 - Michael Kohn

Please visit my many other projects, including free J2ME Java games for Mobile phones, graphics and sound programs, chat software, and much more at http://www.mikekohn.net.

This page was designed to work with all standard HTML compatible webbrowsers including Firefox, IE, Safari, and Links.