首先可以用记事本打开这个文件 可以看到如下内容 -------------------------------------------------------------------------------------------------------------- ; Kaillera server config file
; ServerName can be up to 64 characters long. ServerName=Unknown ; Location can be up to 64 characters long. Location=Unknown location 服务器对外的名称(一般就用默认的好,省的无关的人往里面窜,当然,你想要建大服务器又是另外一回事了) URL can be up to 128 characters long. URL= 可以增加名字长度(完全不用理他)
; Set Public to 0 if you want to run the server on a private LAN Public=1
; Use this parameter if you want to manually specify your server's ; IP address or leave blank for automatic ; (ex: IP=154.253.21.56) IP=218.76.1.78 这个是关键,就是作为服务器给别人访问的IP,当然要真实的,也就是你的本机IP地址。如果是内网用户,很抱歉,您不能架设。(本人没有试过代理是不是可以?)
; Messages flood protection ; FloodMsgNb is the max. number of times a same message has to ; be received in FloodMsgTime seconds. FloodMsgNb=5 FloodMsgTime=3 这个是灌水设置(设置条数的规定时间数,不喜欢可以完全屏蔽掉)
; Minimum ping restriction (in ms) ; 0=disabled MinPing=0
; Message of the Day ; Note that you can stack "MotdLine" options ;MotdLine=Welcome to unknown serv0r! You can ;MotdLine=see our website at http://web.site/
; AllowWebAccess (1=yes,0=no) AllowWebAccess=1
; End of Kaillera server config file --------------------------------------------------------------------------------------------------------------