Jump to content
  • 0

BEC Not working at all


joshnz1995

Question

Hey guys I have spent the last 6hrs trouble shooting BEC which i just installed. getting not errors in the Bec logs and the rcon thing is connecting to the server just scheduler, commands and admin,xml's dont appear to be working.
here is my config 

Spoiler

# This config file is only provided as an example file.
# Edit it to sute your needs.
# For more info on how to edit this file. use the Readme.txt file or visit http://www.ibattle.org/install-and-configure


#--------------------------------------------------------------------------------------------------------
[Bec]
#--------------------------------------------------------------------------------------------------------

# Set the ip to your server. normally 127.0.0.1 will be fine.
Ip = 127.0.0.1


# Set the port to the server. default port is 2302
Port = 2302


# Set the path to the BattlEye directory that is currently in use by the server.
BePath = C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation Arrowhead\Expansion\BattlEye


# Set the path to your Admins.xml file containing your admins.
Admins = C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation Arrowhead\Bec\Config\Admins.xml


# Set the path to your Commands.xml file.
Commands = C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation Arrowhead\Bec\Config\Commands.xml


#--------------------------------------------------------------------------------------------------------
[Misc]
#--------------------------------------------------------------------------------------------------------

# Auto run loadbans when ban file(s) changes. 
# 1 or True will turn it on.
# 0 or False will turn it off. 
# If this parameter is not defined it will use False as default.

AutoLoadBans = True

# Set which type of hacks that will be added to your banlist.
# 0 = none. 1 = GameHack. 2 = Battleye Hack. 3 = both GameHack & Battleye Hack. 
# value 3 is set as default if this parameter is not defined.
Ban = 3


# Set the names of your custom ban files, Separate each file with "," (comma): file1.txt, banfile2.txt, newfile.txt
# If you do not use any custom ban files. delete this option or leave this option commented.
# This option will check ban files for changes and automatic do a loadbans file when a file gets changed
# Do not specify the default bans.txt file here.
BeCustomBanFiles = Bans1.txt, file2.txt, file3.txt


# Set the height & width of Becs console window
ConsoleHeight    = 45
ConsoleWidth    = 165


# Only allow english chars.
AsciiNickOnly = False


# Only allow english chars to be typed on the chat. Note, Warnings must be enabled. 0 or more.
AsciiChatOnly = True


# If AsciiChatOnly is set True. you can define none english chars that will be accepted.
# You separate each char with a , "note you need to define lower and upper case of the chars."
IgnoreChatChars    = €,£,æ,Æ,ø,Ø,å,Å,ö,ä,ü,ß


# Set the amount of warnings a player will get before kicked. -1 is disabled. 0 instant kick
# 1 == one warning on a bad word. next bad word results in kick
Warnings = 3


# Kick players who has listed chars in their name when they connect
#DisallowPlayerNameChars    = 


# Min length, kicks players who has to short name when they connect.
MinPlayerNameLength    = 3


# Max length, kicks players who has to long name when they connect.
MaxPlayerNameLength    = 16


# Set the name of your Arma3server.exe if it has been renamed from arma3server.exe to something else!
# if the exe has its original name. comment it out.
# DO NOT SET FULL PATH TO THE EXE FILE
ServerExeName = arma2oaserver.exe


# Set path to the file containing a list of bad words. Note, Warnings must be enabled. 0 or more.
WordFilterFile = BadWords.txt


# Set the path to the file containing whitelisted guids.
WhiteListFile = WhiteList.txt


# Set custom whitelist kick message. Text must be in ascii letters.  MAX 58 CHARS. BE only does ascii on messages
WhiteListKickMsg = You are not whitelisted on this server.


# Kick people with offensive names
NickFilterFile = BadNames.txt


# Set the path to the Scheduler.xml file.
Scheduler = C:\Program Files (x86)\Steam\steamapps\common\Arma 2 Operation Arrowhead\Bec\Config\Scheduler.xml


# Kick people who are idleing in the lobby, kick will happen after given time, Min time is 90 sec. use 0 to disable this function.
KickLobbyIdlers    = 0


# If enabled. Bec will create separate chat files for each channel along with the main file.
ChatChannelFiles = true

# Set the amount of Normal players who can connect. Set it to -1 to disable it. 
# If set to 0 it means only players who are listed in the Admins.xml, (or whatever you call it) will be able to connect to the server.
# Quick Example 1: server can holed 50 players. and you want to reserve 5 slots for admins. then set SlotLimit to 45.
# Quick Example 2: server can holed 50 players. and you want to reserve 5 slots for admins and 5 slots for friends. then set SlotLimit to 40,
# AND edit your admins.xml. ADD in all your frineds guid and remaining data, put them in group example 100. or whatever you feel likt.
# by using this method you can give some of your friends some access to some commands if you like or none. 
# in general this is works like .Whitelisting X player slots for admins and friends, while leaving the remaining Y slots for public.
SlotLimit = -1

# Set the message people will get when they try to connect and is not whitelisted. Text must be in ascii letters.
SlotLimitKickMsg = The Server has reached its player limit.


# The amount of time Bec will wait for the server to start up.
Timeout = 30


#--------------------------------------------------------------------------------------------------------
[Reporter]
#--------------------------------------------------------------------------------------------------------
# Reporter account. Fill in the username and password for your reporter account.
# GameHacks, BattlEye Hacks will be reported to a database. all players who connect will also be checked against this database.

# Set the Username for your account
#User = alfred


# Set the Password for your account
#Password = 123456dfdffd


#--------------------------------------------------------------------------------------------------------
[ChatRestriction]
#--------------------------------------------------------------------------------------------------------
# Set max amount of chat lines a player is allowed to send for each channel. 
# Going passed the number will result in kick. -1 is disabled, 0 instant kick.
# If the number is higher than 0 players will be sent warnings.

Lobby = 30
Global = 5
Side = 7
Group = 9
Vehicle    = 11
Command    = 13
Commander = 15
Direct = 17


#--------------------------------------------------------------------------------------------------------
[ChatSpam]
#--------------------------------------------------------------------------------------------------------

# Set max amount of chat lines per channel allowed within given time frame.
# Set the values to 0 to disable this function(s)

# Quick Example:
# Lobby = 5
# Lobby_Time_Lower = 10
# Lobby_Time_Upper = 15

# If the time between each new chatlines from a player is less than CHANNEL_Time_Lower the spam counter increases by + 1. 
# Consider the CHANNEL (Lobby) as the spam counter.
# When a player has (CHANNEL - 1) in spam counting. a warning will be sent to whom it may concern.
# If the time between each new chatline from the player is Greater than CHANNEL_Time_Lower and Less than CHANNEL_Time_Upper the spam counter stay as it is.
# If the time since the last chatline is greater then CHANNEL_Time_Upper the spam counter is reset to 1.
# To get optimal result play around a bit with the values on your server.

Lobby = 0
Lobby_Time_Lower = 0
Lobby_Time_Upper = 0

Global = 0
Global_Time_Lower = 0
Global_Time_Upper = 0

Side = 0
Side_Time_Lower    = 0
Side_Time_Upper    = 0

Group = 2
Group_Time_Lower = 1
Group_Time_Upper = 3

Vehicle    = 0
Vehicle_Time_Lower = 0
Vehicle_Time_Upper = 0

Command = 0
Command_Time_Lower = 0
Command_Time_Upper = 0

Commander = 0
Commander_Time_Lower = 0
Commander_Time_Upper = 0

Direct = 0
Direct_Time_Lower = 0
Direct_Time_Upper = 0

 

here is my scheduler.xml

Spoiler

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<Scheduler>

    <!-- this job will start after 10 minutes and run forever with a 1 hour and 30 minutes interval between the jobs -->
    
    <job id='0'>
        <start>000200</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <!--<cmd>say -1 Server Restarted Successfully.</cmd>-->
        <cmd>#shutdown</cmd>
    </job>
    
    <job id='1'>
        <start>023000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 30 Minutes.</cmd>
        
    </job>
    
    <job id='2'>
        <start>024000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 20 Minutes.</cmd>
        
    </job>
    
    <job id='3'>
        <start>024500</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 15 Minutes.</cmd>
        
    </job>
    
    <job id='4'>
        <start>025000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 10 Minutes.</cmd>
        
    </job>
    
    <job id='5'>
        <start>025500</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 5 Minutes. LOGOUT NOW to save gear</cmd>
        
    </job>

        <job id='6'>
        <start>025800</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 2 Minutes. LOGOUT NOW!!!</cmd>
        
    </job>
    
    <job id='7'>
        <start>025900</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>say -1 Server Restart in 1 Minute. TO LATE!!</cmd>
        
    </job>
    

    
        <job id='8'>
        <start>030000</start>
        <runtime>000000</runtime>
        <loop>0</loop>
        <day>1,2,3,4,5,6,7</day>
        <cmd>#shutdown</cmd>
        
    </job>
    
</Scheduler>

 

 

here is my admins.xml not sure what UID to use so iv put both

Spoiler

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<!-- This file is only provided as an example file and might not sute your needs/demands/taste. -->

<BEAdmins>
    <!-- 
    Define admins.
    
    name : name of the admin. do not need to be ingame player name.
    guid : match player guid.
    group : admin level. value must be a number.
    groupname : name of the group the admin is in, can be named anything. if groupname is empty. it will not advitised when you connect
    
    Note: keep <..id= > in order for your admin block. else parsing the file will cause errors. start it at 0 and increment it by 1 for each admin you add.
    
   http://www.ibattle.org/install-and-configure/define-admins/
    
    -->
    
    <admin id="0">
        <name>Joshnz</name>
        <guid>4d560066fce97175dcf8240c671ed5e7</guid>
        <group>1</group>
        <groupname>Super Admin</groupname>
    </admin>
    
    <admin id="1">
        <name>Joshnz</name>
        <guid>987a5a564fb49ae193d53898210736d1</guid>
        <group>1</group>
        <groupname>Super Admin</groupname>
    </admin>
    
</BEAdmins>
 

 

 

Heres my commands.xml

Spoiler

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<!-- 

    This file is only provided as an example file and might not sute your needs/demands/taste. 
    Web Doc : http://www.ibattle.org/install-and-configure/define-commands/

    Define In-game Commands
    name  : The name you want to call your command!. DO NOT START YOUR NAME WITH #
    group : The permission level needed to execute the command!
    cmd   : The Rcon command. Root command. arguments are not passed here!
    time  : leave empty except for ban commands!
    text  : Used as reason for kick/ban commands. but also to set default values for example maxping command!
    desc  : Used to describe the command. will be used in the help system
    
    ###############################################################################################################################
    
    Note: Keep the id=  in order for your "<command id=X>" block. else parsing the file will cause errors. 1st command starts with 0
    
    Note: Do not start you command with # since its used by the game engine.
    
    Note: Group number 100 is for public use. be careful.. all players may execute commands set to group 100.
    
    Note: The text tag may be cut off if its too long. this is due to a limitation with Battleye.
    
    ###############################################################################################################################
    
    Supported commands in the <cmd> </cmd> tag are:
    ########################
    # Arma server commands
    ########################
    
    #Missions
    #Mission 
    #Reassign
    #Restart
    #Shutdown
    #Lock
    #Unlock
    
    ########################
    # Be commands.
    ########################
    kick
    ban
    maxping
    say
    
    ########################
    # Bec commands
    ########################
    kid |___. same as kick and ban but. used beid insetead of names: !kid 0, !bid 3 , Use "#beclient players" to get hold of the Id. DO NOT USE "#USERLIST" thats a diffrent thing.
    bid |
    grant
    degrant
    warn
    makeroom
    help
    pinfo
    ainfo
    uptime
    external
    loadadmins
    loadcommands

-->

<BeCommands>    
    
    <!-- 
        Shutdown the server.
                
        !cmdName : Instant shutdown.
        !cmdName N : set a timer in seconds before shutdown, 
        !cmdName abort : abort current shutdown procedure.
        !cmdName info : display how long left to shutdown.
        
        Uses ArmA #shutdown command.
    -->
    <command id="0">
        <name>!sht</name>
        <group>1</group>
        <cmd>#shutdown</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: [!sht] or [!sht N] or [!sht info] or [!sht abort] :: INFO -> Shutdowns the dedicated arma server. use: !sht N, to set a timeout in Seconds before shutdown, !sht abort, to abort current shutdown, !sht info, to see how long left.</desc>
    </command>
    
    
    <!-- 
        Open Mission selection meny. 
    
        Note: 
        An in-game ArmA Admin should be loged in before using this. 
        Executing this command without an admin logged in may resulting in getting stuck with a black load screen!.
        
        Uses ArmA #missions command.
    -->
    <command id="1">
        <name>!mis</name>
        <group>1</group>
        <cmd>#missions</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !mis :: INFO -> Show mission. Carefull with this command. an admin should be logged in with the arma interface. #login or gui if this is to be used</desc>
    </command>    
    
    
    <!-- 
        Restart mission. 
        Players keeps the same slot as he/she had before the restart.
    
        Uses ArmA #restart command.
    -->
    <command id="2">
        <name>!res</name>
        <group>4</group>
        <cmd>#restart</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !res :: INFO -> Restart mission with current player slot selection</desc>
    </command>    
    
    
    <!-- 
        ReAssing Player slots and restart the mission.
        Players may not get same slots as they had.
        
        Uses ArmA #reassign command.
    -->
    <command id="3">
        <name>!rea</name>
        <group>4</group>
        <cmd>#reassign</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !rea :: INFO -> Restart the mission with new player slot selection</desc>
    </command>        
    
    
    <!-- 
        Lock down the server, No more players will be able to join the server..
        If your server is password protected. it will also prevent players knowing the password from connecting.
        
        Uses ArmA #lock command.
    -->
    <command id="4">
        <name>!lck</name>
        <group>3</group>
        <cmd>#lock</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !lck :: INFO -> Locks the server. No one will be able to join.</desc>
    </command>    
    
    
    <!-- 
        Unlock the server. allow players to be able to connect again.
        
        Uses ArmA #unlock command.    
    -->
    <command id="5">
        <name>!ulck</name>
        <group>3</group>
        <cmd>#unlock</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !ulck :: INFO -> Unlocks the Server.</desc>
    </command>

    
    <!-- 
        Change to a new mission.
        You need to know the filename but exclude the pbo extension.
        Example:
        !cmdName abc.vr
        !cmdName TestMission.Stratis
        !cmdName co40_SomeGame.Altis
        
        Uses ArmA #mission command.
    -->
    <command id="6">
        <name>!cm</name>
        <group>4</group>
        <cmd>#mission</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !cm mission filename  :: INFO -> Change Mission. you need to know the filename but exclude the pbo extension.</desc>
    </command>

    
    <!-- 
        Change the maxping value. 
        
        Set the ping limit on the server. Players with a ping higher than the limit will be kicked off the server.
    
        !cmdName : Will set what is defined in the <text> tag as the new maxping limit.
        !cmdName N : Will set a new maxping limit to N milliseconds.
    
        Uses BE maxping command.
    -->
    <command id="7">
        <name>!mp</name>
        <group>3</group>
        <cmd>maxping</cmd>
        <time></time>
        <text>150</text>
        <desc>USAGE :: [!mp] or [!mp N] :: INFO -> Set a maxping limit on the server. N is the value in milliseconds, default = 150</desc>
    </command>        
    
    
    <!-- 
        Ban a player
    
        The <time> tag defines how long the ban is last.
        The time value is in minutes.
        Value 0 is permanent ban
    
        The <text> tag defines the ban reason
        
        There are two special words that can be used in the  <text> tag. 
        _name_ and,or _time_
        
        if _name_ is used in the reason text, it will replace _name_ with the name of the admin who executed the command.
        if _time_ is used in the reason text, it will replace _time_ with the date when the player can come back.
        
        Uses BE ban command.
    -->
    <command id="8">
        <name>!ban</name>
        <group>0</group>
        <cmd>ban</cmd>
        <time>518400</time>
        <text>You got a ban by : _name_ , come back _time_</text>
        <desc>USAGE :: !ban name :: INFO -> Ban a player.</desc>
    </command>    
    
    
    <!-- 
        Kick Command 
        
        The <text> tag defines the reason the player will be given.
        Like the ban command, the kick support the _name_ place holder in the reason text.
        
        Uses BE kick command.
    -->
    <command id="9">
        <name>!kick</name>
        <group>3</group>
        <cmd>kick</cmd>
        <time></time>
        <text>Decision By Admin: _name_</text>
        <desc>USAGE :: !kick name :: INFO -> Kick a player.</desc>
    </command>
    
    
    <!-- 
        Special Custom Commands is used with #beclient players to get players id
        This can be usefull if you need to kick example a russian named player. "if you dont know how to type in cyrillic"
        Example: #beclient players ... !bid 15
        bid and kid does not support the _name_ place holder
        
        Uses BE ban or kick commands
    -->
    <!-- Ban based on BeId -->
    <command id="10">
        <name>!bid</name>
        <group>0</group>
        <cmd>bid</cmd>
        <time>0</time>
        <text>Admins Decision!</text>
        <desc>USAGE :: !bid id :: INFO -> Kick a player based on the BEID. use #Beclient players to get the id.</desc>
    </command>
    <!-- Kick based on BeId -->
    <command id="11">
        <name>!kid</name>
        <group>1</group>
        <cmd>kid</cmd>
        <time></time>
        <text>Admins Decision!</text>
        <desc>USAGE :: !kid id :: INFO -> Kick a player based on the BEID. use #Beclient players to find the id.</desc>        
    </command>        

        
    <!-- 
        Give a warning to a player
        The Warnings parameter in [Misc] section in Bec config file must be higher than 0 for this to have any effect.
    -->
    <command id="12">
        <name>!warn</name>
        <group>3</group>
        <cmd>warn</cmd>
        <time></time>
        <text>This is a Warning given by admin: _name_</text>
        <desc>USAGE :: !warn name :: INFO -> Send a warning to a player and increase the warn-counter.</desc>
    </command>
    
    
    <!-- 
        Grant a player tmp admin permissions
        The <text> tag defines the group level for the tmp admin. 
        Tmp admin's will be able to execute all commands in the group level you set him/her too.
    -->
    <command id="13">
        <name>!ata</name>
        <group>2</group>
        <cmd>grant</cmd>
        <time></time>
        <text>4</text>
        <desc>USAGE :: !ata name :: INFO -> Add a temporary admin into group 4.</desc>
    </command>
    
    
    <!-- Remove tmp admin permission -->
    <command id="14">
        <name>!rta</name>
        <group>2</group>
        <cmd>degrant</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !rta name :: INFO -> Remove temporary admin.</desc>        
    </command>    

    
    <!-- 
        Make room for a other player, kick last player(s) based on connect time to the server.
        
        Note: 
        Do not use this if you have restarted Bec during a server session / mission while there was player online.
        Reason is that Bec will no longer have their correct connect time.
    --> 
    <command id="15">
        <name>!mr</name>
        <group>2</group>
        <cmd>makeroom</cmd>
        <time></time>
        <text>Making Room For Members</text>
        <desc>USAGE :: !mr N :: INFO -> Kick N numbers of player based on join time. last joined players will get kicked.</desc>
    </command>        
    
    
    <!-- 
        Show basic player info
        Will send a private message back with info about the requested player such as:
        Player: Name | Beid: N | Joined: 12:00:00 12.12 | Ip: 127.0.0.1 | Guid: 1234567898cb748f813a62af1e52579a 
    -->
    <command id="16">
        <name>!pinf</name>
        <group>2</group>
        <cmd>pinfo</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !pinf name :: INFO -> Show player info. Beid and join time.</desc>
    </command>
    
    
    <!-- 
        Show admins online
        Sends back a private message with a list of Bec admins online.
    -->
    <command id="17">
        <name>!ainf</name>
        <group>100</group>
        <cmd>ainfo</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !ainf :: INFO -> Show Admins online.</desc>
    </command>
    
    
    <!-- 
        Reload the admin file 
        If you have edited your admin file you can make Bec reload the data instead of restarting Bec.
    -->
    <command id="18">
        <name>!raf</name>
        <group>0</group>
        <cmd>loadadmins</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !raf :: INFO -> Reloade the admin file.</desc>
    </command>        
    
    
    <!-- 
        Reloade the command file 
        If you have edited your commands file you can make Bec reloade the data instead of restarting Bec.    
    -->
    <command id="19">
        <name>!rcf</name>
        <group>0</group>
        <cmd>loadcommands</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !rcf :: INFO -> Reloade the command file.</desc>
    </command>
    
    
    <!-- 
        Show the current server time.
        This will show the local time on the server not the client time.
        It can be useful for players to determine the time zone of the server.
        
        The command will send back a private message to the player.
        Server time : 02:41:51 18/12 - 2014
    -->
    <command id="20">
        <name>!time</name>
        <group>0</group>
        <cmd>systime</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !time :: INFO -> Show server time.</desc>
    </command>    

    
    <!-- 
        Show the server uptime 
        This will show how long the server has been running and when it was started (Local Server Time)
        
        The command will send back a private message to the player.
        Server Uptime : 8:21:34 ~ Started : 2014-12-17 18:28:32
        
    -->
    <command id="21">
        <name>!uptime</name>
        <group>100</group>
        <cmd>uptime</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: !uptime :: INFO -> Show Server Uptime.</desc>
    </command>        
    
    
    <!-- 
        Show basic help 

        This will list up all commands the admin/player is allowed to execute.
        If this is set to group 100 Normal players will be able to see all commands in group 100 ("Public commands")
    -->
    <command id="22">
        <name>!help</name>
        <group>100</group>
        <cmd>help</cmd>
        <time></time>
        <text></text>
        <desc>USAGE :: [!help] or [!help !command] :: INFO -> Use help to show available commands.</desc>
    </command>    

    
    <!-- 
        Send a pre-defined text message to player(s)
        
        Note about <time> tag.
        If set to 1, it will send the message back as a private.
        If you want it to be a global message for all players leave the tag empty.
    -->
    
    <!-- send a private message with basic info to the admin/player who executed the command -->
    <command id="23">
        <name>!info</name>
        <group>100</group>
        <cmd>say</cmd>
        <time>1</time>
        <text>Use !help to get help, visit our webpage for more info.</text>
        <desc>USAGE :: !info :: INFO -> Send a private message with general info.</desc>
    </command>    
    
    
    <!-- group 5 admin may send a global message to all players. -->
    <command id="24">
        <name>!notify</name>
        <group>5</group>
        <cmd>say</cmd>
        <time></time>
        <text>The Server will be restart after this mission</text>
        <desc>USAGE :: !notify :: INFO :: Sends global message to all player</desc>
    </command>
    
    
    <!-- 
        External scripts 
        Note:
        The 1st Argument Passed to a External script is always the Username "Hardcoded"
        The 2nd,3rd,4th.. and so forth are separated by spaces.
    -->
    <command id="25">
        <name>!math</name>
        <group>2</group>
        <cmd>external</cmd>
        <time></time>
        <text>Config\Script_Example.bat</text>
        <desc>USAGE :: !math Int+Int :: INFO -> Do simple bat math!.</desc>
    </command>    
    

</BeCommands>
 


 

Iv made sure there is a bans.txt etc and all that so Im not sure whats wrong 

 

 

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

You only have a shutdown command in your scheduler.xml. Are you using another tool to restart it? Otherwise you will need a job to point to your bat that starts your server.

 

<job id="19">
        <day>1,2,3,4,5,6,7</day>
        <start>16:00:00</start>
        <runtime>000000</runtime>       
        <loop>0</loop>
        <cmd>D:\arma2\epoch\DayZ_Epoch_instance_11_Chernarus.bat</cmd>    
	</job>

 

Link to comment
Share on other sites

  • 0
12 hours ago, lwbuk said:

Are you on a dedicated machine?

Have you changed your hosts file to add the localhost ip, other wise BEC will force close on checking for update. Hosts file can be found in %SystemRoot%\System32\drivers\etc\hosts

 

Im  not sure what you mean & what i need to do with that.


Its like bec just doesnt work but it does

it opens the closes after it finds the server and joins it

Link to comment
Share on other sites

  • 0

You need to go to Windows\system32\driver\etc and find the hosts file. Then at the bottom of that file paste

127.0.0.1 ibattle.org
127.0.0.1 www.ibattle.org

 

This will stop BEC trying to check for updates on the web, as when it does that it fails and closes.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...