Jump to content

Forums Announcement

Read-Only Mode for Announcements & Changelogs

Dear Survivors, we'd like to inform you that this forum will transition to read-only mode. From now on, it will serve exclusively as a platform for official announcements and changelogs.

For all community discussions, debates, and engagement, we encourage you to join us on our social media platforms: Discord, Twitter/X, Facebook.

Thank you for being a valued part of our community. We look forward to connecting with you on our other channels!

Stay safe out there,
Your DayZ Team

Sign in to follow this  
0xdecafbad

BEC - Config File Has Invalid Format

Recommended Posts

No matter what I do I cannot get BEC to work. When I run it I get "Your config file has not a valid format". The only part of the config file I uncommented is:

Ip = 127.0.0.1

Port = 2302

BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye

LogDir = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\BEC\Log

Admins = Admins_Example.xml

Commands = Commands_Example.xml

Anyone run into this?

Share this post


Link to post
Share on other sites

This is what my config looks like:

[Bec]
Ip = ***.***.224.154
Port = 2302
BePath = Z:\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye
LogDir = DayZServ
Admins = Admins.xml
Commands = Commands.xml

[Misc]
ServerExeName = arma2oaserver.exe
WordFilterFile = BadWords.txt
Warnings = 3
Color = 0c
Timeout = 40
FloodControl = 3
KickLobbyIdlers = 300
Scheduler = Scheduler.xml

and the bat file (located in operation arrowhead folder) to start it:

cd /D Z:\Steam\steamapps\common\arma 2 operation arrowhead

BEC.EXE -f DayZ.cfg

Make sure ur config file is located in the /BEC/Config/ folder, i have my bec.exe located directly in /arma 2 operation arrowhead/ so my .cfg file is located in /arma 2 operation arrowhead/Config/

Edited by Pheenix89

Share this post


Link to post
Share on other sites

My bec.exe is in arma 2 operation arrowhead/bec and this is the config. The config files are in arma 2 oa/bec/Config. I'm 99% sure everything is fine. Something has to be wrong with the program.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #

# Example Config file for Bec.

# Everything is disabled by default

# Enable/disable a parameter by Comment/Uncomment it with a #

# You can also delete all parameters that are not in use.

# If you are unsure how to configure this file read the online docs.

# http://ibattle.org/install-and-configure/

#####################################################

#[bec]

Ip = ***.**.**.***

Port = 2302

BePath = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\cfgdayz\BattlEye

LogDir = C:\Program Files (x86)\Steam\steamapps\common\arma 2 operation arrowhead\BEC\Log

Admins = Admins_Example.xml

Commands = Commands_Example.xml

#####################################################

## Optional settings for misc functions

#[Misc]

#AsciiNickOnly = True

#AsciiChatOnly = True

#IgnoreChatChars = £æøå

ServerExeName = arma2oaserver.exe

#NickFilterFile = BadNames.txt

#WordFilterFile = BadWords.txt

Warnings = 3

Color = 0c

Timeout = 40

KickLobbyIdlers = 300

#Scheduler = Scheduler.xml

#MaxPlayerNameLength = 18

#DisallowPlayerNameChars = [](){}<>/\^¨|§!"'#¤%&@£$€

#ChatChannelFiles = true

###################

#FloodControl1 = 5

# Or

#FloodControl2 = 5

#FloodSampleTime = 5

#FloodLockTime = 10

###################

#####################################################

## Optional settings related to Chat restriction

#[ChatRestriction]

#Global = 3

#Side = -1

#Group = -1

#Vehicle = -1

#Command = -1

#Commander = -1

#Direct = -1

#####################################################

## Optional settings related to Reporting function

#[Reporter]

#User = Donald Duck

#Password = 313

#####################################################

# Optional settings related to Heartbeat

#[Heartbeat]

#BanFile0 = C:\SERVER2\BattlEye\bans.txt

#BanFile1 = C:\SERVER3\BattlEye\bans.txt

Share this post


Link to post
Share on other sites

Well that's stupid that they have those things commented out. Don't know why they need to do that. Uncommenting the heading of the config sections is just stupid haha. They should put something about that in the documentation. Thanks a lot!

Share this post


Link to post
Share on other sites
Sign in to follow this  

×