/* Host Directive
*
* This is the address that the realmlist will listen on.
* To listen on all addresses, set it to 0.0.0.0
* Default: 127.0.0.1 (localhost)
*
* Note: ISHost is the interserver communication listener.
*/

/* WorldServer Setup
*
* RemotePassword
* This directive controls the password used to authenticate with the worldserver.
* It must be the same between the two configs. If it is not, your server will
* not register.
*
* Default: "change_me_logon"
*
* AllowedIPs
* This section MUST be completed, otherwise all attempts to link your servers will fail.
* These "Allowed" fields are a space-separated list of CIDR-form IP addresses that are allowed
* to make server connections to your logonserver, and register realms.
* For example, everything in the 127.0.0.* range would be:
* 127.0.0.0/24, as 24 of the bits must match the 127.0.0.0
*
* To allow a single IP,
* 1.3.3.7/32, would allow only 1.3.3.7 to connect as 32 of the bits must match.
*
* AllowedModIPs
* In the same form as AllowedIPs, these are the IPs that are allowed to modify the database
* (adding bans, GMs, account permissions, etc)
*/

/******************************************************
* Realm Section
*
* Name:
* The name of the realm.
*
* Address:
* The address (and port) of that realm.
*
* Icon:
* The type of realm (PVP, Normal, RPPVP, RP)
*
* TimeZone:
* The location of the server (1=Development, 2=United States, 3=Oceanic, 4=Latin America,
* 5=Tournament, 6=Korean, 8=English, 9=German, 10=French)
*
* Population:
* (0 = low, 1 = medium, 2 = high)
*
* Important information below
*
*
* To make your server public and for you to be able to connect to it, please read this entirely.
*
*
* We added two more realms to the default, why? Because of how internal networking works - each outside IP to your IP needs a connection to listen on for players/you to be able to log into.
* This issue came up alot and MANY poorly written guides also came up with modifications to the host list in windows and a bunch of other fallacies.
* Using these new "three realm" configs you don't have to follow any guides but this one.
*
* <Realm1 Name = "My Realm Name"
* Address = "internet-url-or-ip:8129"
* Icon = "PVP"
* Population = "1.0"
* TimeZone = "2">
*
* <Realm2 Name = "Private"
* Address = "internal-ip-address-for-lan-access:8129"
* Icon = "PVP"
* Population = "1.0"
* TimeZone = "1">
*
* <Realm3 Name = "Localhost"
* Address = "localhost:8129"
* Icon = "PVP"
* Population = "1.0"
* TimeZone = "1">
*
* EXPLANATION:
*
* These three realms are all one realm, all making different listening IPs so others may log into the world.
*
* Realm1 is the public realm, people outside of your network log into this.
*
* Realm2 is the IP of the computer hosting the server. It will most commonly be a 192.168.*.* IP. NOT YOUR OUTSIDE/INTERNET IP. This is so other computers in your local arena network can connect to the realm.
*
* Realm3 is the localhost connection, you will be using this to log into your server if you host and login to the server from the SAME computer.
*
* Realmlist would then be the IP that is suitable for you to use in your setup, players will use the realm1 URL - while you use either realm2 or realm3 depending on the server setup.
*
* You can cleanup the unused realms you made while doing this process if you have any, however even if you use a Realm3 type configuration to login, remember local network users on the same LAN as you will use Realm2 to login.
*
* To obtain your LAN IP address on:
* Windows = windows-key+r > type "cmd" > type "ipconfig" > under "IPV4 Address:"
* Linux = terminal > type "ifconfig" > under eth0's "inetaddr:"
* To obtain your INTERNET IP:
* Go to: http://www.whatsmyip.org/
* Foward ports: 3724 (Realmlist) and 8129 (World)
* If you add more outside(public) realms remember that their world ports need forwarding too.
*
* Timezone values :
* 0=Korean 16=China
* 1=Development 17=CN1
* 2=United States 18=CN2
* 3=Oceanic 9=CN3
* 4=Latin America 20=CN4
* 5=Tournament 21=CN5
* 6=Korean 22=CN6
* 8=English 23=CN7
* 9=German 24=CN8
* 10=French 25=Tournament
* 11=Spanish 26=Test Server
* 12=Russian 27=Tournament
* 13=Tournament 28=QA Server
* 14=Taiwan 29=CN9
* 15=Tournament 30=TestServer2
******************************************************/

/******************************************************
* Listen Config
*
* Host
* This is the address that the server will listen on.
* To listen on all addresses, set it to 0.0.0.0
* Default: 127.0.0.1 (localhost)
*
* WorldServerPort
* This is the port that the world server listens on.
* It has to be the same as what is specified in the
* realms table in the LogonDatabase.
* Default: 8129
*
******************************************************/

<Listen Host = "0.0.0.0"
WorldServerPort = "8129">

/******************************************************
* Log Level Setup
*
* File Logging Level
* This directive controls how much output the server will
* write to log files. It cannot be disabled
* 0 = Normal + Error; 1 = Detail; 2 = Debug
* Default: 0
*
* World server packet logging feature
* If this directive is turned on, a file called `world.log`
* will be created in the server's directory and all packets
* sent and received by clients will be dumped here in bfg
* format.
* Default: 0
*
* DisableCrashdumpReport
* Disables crashdump reports, else if the build has debugging enabled,
* arcemu-world will call ./arcemu-crashreport every time it starts, so
* if there is a core, a crashdump will automatically be reported
* to the tracker at sf.net
* Needs gdb and curl
* Linux only
* Default: 0
*
******************************************************/

<LogLevel File="0" World="0" DisableCrashdumpReport="0">

/******************************************************
* Server Settings
*
* PlayerLimit
* This directive controls the amount of sessions that will be
* accepted by the server before it starts to add people to
* the server queue.
* Default: 100
*
* Motd
* This message will be displayed by the server in the chat
* box every time any user logs on. Colors can be used in the
* standard WoW format.
* Default: "No MOTD specified
*
* Send Stats On Join
* This directive controls whether the server will send the online player
* count to a cilent when it enters the world.
*
* Breathing Setup
* If the breathing code is causing problems or you want to run a fun server, you can disable
* water checks by enabling this directive.
* Default: 1
*
* Separate Channels Control
* This directive controls whether horde and alliance chats will be separated across channels.
* Set to 1 for blizzlike separated channels, or 0 to allow horde/alliance to speak to each other
* across channels.
* Default: 0
*
* Compression Threshold
* This directive controls the limit when update packets will be compressed using deflate.
* For lower-bandwidth servers use a lower value at the cost of CPU time.
* Default: 1000
*
* Queue Update Rate
* This directive controls how many milliseconds (ms) between the updates
* that the queued players receive telling them their position in the queue.
* Default: 5000 (5 seconds).
*
* Kick AFK Players
* Time in milliseconds (ms) that a player will be kicked after they go afk.
* Default: 0 (disabled)
*
* Connection Timeout
* This directive specifies the amount of seconds that the client will be disconnected
* after if no ping packet is sent. It is advised to leave it at the default.
* Default: 180
*
* Realm Type
* This is the realm type that will be used by the server to handle world PVP.
* Default: 0 (pve)(RPPVE)
* Other values: 1(pvp)(RPPVP)
*
* AdjustPriority
* Set the server to high process priority - may cause lockups.
* Default: 0
*
* RequireAllSignatures
* This directive controls whether the full 10 signatures will be required in order
* to turn in a petition. Smaller servers would be better off having it turned off.
* Default: off
*
* ShowGMInWhoList
* This directive controls whether GM's will be shown in player's who lists or not.
* Default: on
*
* MapUnloadTime
* This directive controls whether to unload map cells after an idle period of <x> seconds.
* NOTE: THIS CAN'T BE SET TO 0!!!
* Default: 300
*
* LimitedNames
* This directive forces all character names to be a-z and A-Z compliant.
* Default: 1
*
* UseAccountData
* This directive determines whether the account_data table is used to save custom client data.
* May cause buggy behaviour.
* Default: 0
*
* AllowPlayerCommands
* This directive, if enabled can allow players to use commands with a '0' command group.
* Default: 0
*
* EnableLFGJoin
* If this is enabled, you can join the LFG channel without using the LFG tool.
* Default: 0
*
* TimeZone
* Set your local timezone relative to GMT here.
* Default: 0
*
* Collision
* Enable collision system (LoS checks).
* Default: 0
* Make sure you have extracted vmaps.
*
* DisableFearMovement (In Battlegrounds and Arenas only!)
* Disable fear movement in arenas & battlegrounds.
* Recommended if you do not have collision enabled!
* Default: 0 (off) Not blizzlike
*
* SaveExtendedCharData
* Enable saving extended data to characters table.
* Recommended for armory type services.
* Default: 0 (off)
*
******************************************************/

/********************************************************
* Announce Configuration
*
* Tag
* Configure what is shown in front of your announces in the [] brackets.
* Default: Staff (would give [Staff])
*
* GMAdminTag
* Configure whether the <GM> or <Admin> tag is shown in announces.
* Default: 0 (disabled)
*
* NameinAnnounce
* If this is enabled the name of the person who makes an announcement will be shown in front of the msg.
* Default: 1 (enabled)
*
* NameinWAnnounce
* If this is enabled the name of the person who makes an wide-screen announcement will be shown in front
* of the message.
* Default: 1 (enabled)
*
* ShowInConsole
* This controls whether announces are shown in the arcemu-world console or not.
* This does not apply for the team-internal GM announce.
* Default: 1 (enabled)
*
********************************************************/
<Announce Tag = "Staff"
GMAdminTag = "0"
NameinAnnounce = "1"
NameinWAnnounce = "1"
ShowInConsole = "1">

/******************************************************
* Power regeneration multiplier setup
*
* These directives set up the multiplier in which regen values will be
* multiplied by every 2 seconds.
* Powers:
* Power1 = Mana, Power2 = Rage, Power3 = Focus (pets), Power4 = Energy, VehiclePower = Vehicle Powers ( whatever is set currently )
*
* Reputation:
* Kill = Rep gained on kill, Quest = rep gained from quests
*
* Honor:
* Honor = multiplier used to calculate honor per-kill.
*
* PvP:
* PvPTimer = in ms, the timeout for pvp after turning it off. default: 5mins (300000)
* ArenaQueueDiff = maximum difference in average rating of 2 arena teams to be matched in queue
*
* XP:
* The xp that a player receives from killing a creature will be multiplied
* by this value in order to get his xp gain.
*
* RestXP:
* Amount of hours needed to get one Bubble rested XP ( one bubble is 5% of the complete XP bar)
* Default is 8 hrs rest for one bubble. Raising this rate causes RestedXP to be earned faster,
* F.e, setting a rate of 2 makes you require only 4 hrs reesting for 1 bubble (instead of 8).
* Note that resting in a resting area (Zzz) goes 4 times faster.
* Default: 1 (bubble every 8 hrs)
*
* Drop(Color):
* These values will be multiplied by the drop percentages of the items for creatures
* to determine which items to drop. All default to 1.
* To allow you better control of drops, separate multipliers have been created for items
* of each quality group.
*
* DropMoney:
* This value will be multiplied by any gold looted and pickpocketed
*
* Save:
* Value in milliseconds (ms) that will be between player autosaves.
* Default: 300000 (5 minutes)
*
* SkillChance:
* The chance that you have to level up a skill in melee or a profession is multiplied
* by this value.
* Default: 1
*
* SkillRate:
* The amount of "levels" your skill goes up each time you gain a level is multiplied
* by this value.
*
* ArenaMultiplier
* Every week/day the arena points gained by a player will be multiplied by this value.
*
******************************************************/

/******************************************************
* GM Client Channel
*
* This should be set to 'gm_sync_channel' for various Game Master ticket addons to work.
* In ArcGM you can set this to be any channel you wish, however it is good to announce if you change this to anything other then default to your staff
* to avoid confusion.
* Default: gm_sync_channel
*
******************************************************/

<GMClient GmClientChannel = "gm_sync_channel">

/******************************************************
* Terrain & Collision Settings
*
* Set the path to the map_xx.bin files and whether unloading should be enabled
* for the main world maps here. Unloading the main world maps when they go idle
* can save a great amount of memory if the cells aren't being activated/idled
* often. Instance/Non-main maps will not be unloaded ever.
*
* Default:
* MapPath = "maps"
* vMapPath = "vmaps"
* UnloadMaps = 1
*
******************************************************/

<Terrain MapPath = "maps"
vMapPath = "vmaps"
UnloadMaps = "1">

/******************************************************
* Log Settings
*
* Note: You'll have to create a subdirectory called "logs" to have these
* settings working. The files will be written to this directory.
*
* Cheaters:
* This directive sets up the cheater logging file, if turned on any
* cheat / packet exploit / speedhack attempts will be logged here.
*
* GMCommands:
* These two directives set up the GM command logging fie. If turned on,
* most gm commands will be logged for this file for abuse investigation, etc.
*
* TimeStamp:
* Enables timestamps in logs.
*
******************************************************/

/******************************************************
* Status Dumper Config
*
* These directives set up the status dumper plug-in. Filename is an
* absolute or relative path to the server binary. Interval is the
* time that the stats will be dumped to XML.
* Default: stats.xml / 120000 (2 minutes)
*
******************************************************/

<StatDumper FileName = "stats.xml" Interval = "120000">

/******************************************************
* Startup Options
*
* Preloading
* This directive controls whether the entire world will be spawned at server
* startup or on demand. It is advised to leave it disabled unless you are a
* developer doing testing.
* Default: off
*
* Background Loot Loading
* This directive controls whether loot will be loaded progressively during
* startup or in the background in a separate thread. Turning it on will
* result in much faster startup times.
* Default: on
*
* Multithreaded Startup
* This controls whether the server will spawn multiple worker threads to
* use for loading the database and starting the server. Turning it on
* increases the speed at which it starts up for each additional CPU in your
* computer.
* Default: on
*
* Unimplemented Spell ID Dump
* This directive controls whether to dump the IDs of spells with unimplemented
* dummy/scripted effect or apply dummy aura effect. You need to load the
* spellhandlers library for this to actually produce a valid result!
* Default: off
*
*
* Additional Table Binding
* You can load static item/creature/etc data into the server using this directive.
* This way throughout database updates your custom data can be preserved.
* Format: "sourcetable destination table,sourcetable destinationtable"
* Example: "myitems items,mynpcs creature_names"
* Default: ""
*
******************************************************/

/******************************************************
* Flood Protection Setup
*
* Lines
* This is the number of "messages" or lines that it will allow before stopping messages from
* being sent. This counter is reset every "Seconds" seconds.
* Default: 0 (disabled)
*
* Seconds
* This is the number of seconds in between the Line counter being reset.
* Default: 0 (disabled)
*
* SendMessage
* If this is enabled, a "Your message has triggered serverside flood protection. You can speak again in %u seconds."
* message will be sent upon flood triggering.
* Default: 0
*
******************************************************/

<FloodProtection Lines = "0" Seconds = "0" SendMessage = "0">

/******************************************************
* LogonServer Setup
*
* DisablePings
* This directive controls whether pings will be sent to the logonserver to check
* if the connection is still "alive". Expect problems if it is disabled.
* Default: 0
*
* RemotePassword
* This directive controls the password used to authenticate with the logonserver.
* It must be the same between the two configs. If it is not, your server will
* not register.
*
******************************************************/

/******************************************************
* AntiHack Setup
* Note: Most of this doesn't work as it should.
*
* Teleport
* This directive controls anti-teleport hack checks will be enabled or not.
* Default: 1
*
* Speed
* This directive controls anti-speed hack checks will be performed on player movement or not.
* Default: 1
*
* SpeedThreshold
* This directive controls the threshold at which the speedhack detection will trip.
* It's (characters' move time of distance - real move time of distance)
* Default: -600.0
*
* FallDamage
* This directive controls anti-fall damage hack checks will be performed on player movement or not.
* Default: 1
*
* Flying
* This directive controls whether flight hacks will be performed on players or not.
* Default: 1
*
* FlightThreshold
* This directive controls the height at which you must be above the vmaps height before you are flagged as "flying" and are subject to kicks.
* Default: 10
*
* DisableOnGM
* This directive controls hack checks will be disabled for GM's or not.
* Default: 0
*
******************************************************/

/******************************************************
* Period Setup
*
* These are the periods that the server will wait before doing periodic duties. At the moment only
* arena point calculation and honor point calculation are used here.
*
* Default:
* Arena: weekly
* Honor: daily
* (blizzlike values)
*
******************************************************/

/******************************************************
* Channels Setup
*
* These directives control some of the aspects in the channel system.
*
* BannedChannels
* If you would like to ban users from creating or joining a channel specify them here in a ';'
* separated list.
* Default: ""
*
* MinimumLevel
* Channel names that require a minimum level of 10 to talk, seperate names by ;
* Default: ""
*
*
******************************************************/

/******************************************************
* Movement Setup
*
* NOTE: For any of these directives to function, movement compression has to be compiled into
* the server.
*
* FlushInterval
* This is the interval at which movement packets will be flushed to the client, i.e. compressed/sent.
* If you have a high threshold, keeping this at 1-2 seconds will work better.
* Default: 1000 (one second)
*
* CompressionRate
* This is the deflate compression rate. Higher will use more cpu, but smaller packets.
* Range: 1-9 (or 0 is disable)
* Default: 1
*
* CompressionThreshold
* This is the distance that will be used to determine if an object needs to be sent compressed or
* normal. It is advised to keep it at least 30 units. This value is used for players.
* Default: 30.0
*
* CompressionThresholdCreatures
* This is the distance that will be used to determine if an object needs to be sent compressed or
* normal. This value is used for creatures, so it can be a lot lower.
* Default: 10.0
*
******************************************************/

/******************************************************
* Localization Setup
*
* LocaleBindings
* This is a list of locale names and the other locale you want to associate with them.
* For example, to make the European client always use the French language, "enGB=frFR"
*
* Must be terminated by a space.
*
* Default: ""
*
******************************************************/

<Localization LocaleBindings="">

/******************************************************
* Dungeon / Instance Setup
*
* TakeGroupLeaderID
* If a player doesn't have an instance id, the group isn't already assigned
* to an instance and the group or raid leader already have one, the player will
* be bound to the instance id of the group/raid leader.
* Default: 1 (enabled)
*
* SlidingExpiration
* If enabled, persistent instances will expire relative to the creation time.
* Otherwise persistent instances will expire at fixed points of time. (blizz like)
* Default: 0 (disabled)
*
* DailyHeroicInstanceResetHour
* Sets the hour of day when heroic instances will be reset on disabled SlidingExpiration.
* Default: 5
*
* CheckTriggerPrerequisites
* Entering & checks
* Default: 1
******************************************************/

/*****************************************************
* Arena Settings
*
* Allows you to control current season and its progress.
*
* Season - has to be higher than 0 for arenas to work.
* Progress - sets the progress, 0 = finished, 1 = in progress
*
*****************************************************/