Staticservers.dat file

From AMule Project FAQ
Revision as of 18:53, 11 January 2011 by Reorder (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

File

Name: staticservers.dat

Location: ~/.aMule/

Description

The servers listed in this file are considered static servers.

Format

Each line in this file contains the data about a server.

All servers listed in this file are automatically considered static servers.

Any line which's first character is a slash (/) or a number-char (#) is ignored, so comments c an be placed this way.

The servers description format is as follows: Host:Port,Priority,Name

Each non-comment line must contain exactly 3 fields, where each field is sepparated from the others with a comma (,). Any line not containing exactly three fields is ignored.

If the Name field is empty, it will be filled with the contents of the Host:Port field.

The Priority field must be filled with either 0 (for normal priority), 1 (for high priority) or 2 (for low priority). If any other value is read, Priority will be set to it's defautl value, which is normal.

Example

/ This is my localhost server
127.0.0.1:4662,1,LocalHost
# Next, is my LAN server 
192.168.0.300:4661,0,LAN server
# Finally, my...., hm, another server. Let's call it server number #, hehe
# I really dislike this server
20.19.18.17:9666,2,Ugly server number # ;-)

Notes

If a server listed in this file is already listed in server.met file, the server data in the server.met file will be overriden with this file's data.