Jump to content
Sign in to follow this  
madchaosone

Server schedule help needed

Recommended Posts

Hey all,

 

I was trying to add some messages of the day but it seems it only show a couple when you join the server but thennothing happens anymore.

This is the code i used:

 

<Scheduler>



    <!-- spam messages -->
    <job id="1">
        <time>000500</time>
        <delay>000010</delay>
         <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Welcome to a Fucking Awesome People gaming www.fap-clan.com</cmd>
        <cmdtype>0</cmdtype>            
    </job>

    <job id="2">
        <time>001000</time>
        <delay>000010</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 We are recruiting international all ages!!!</cmd>
        <cmdtype>0</cmdtype>            
    </job>

    <job id="3">
        <time>001500</time>
        <delay>000010</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 Big thanks to all donators for making this server possible!!!</cmd>
        <cmdtype>0</cmdtype>            
    </job

    <job id="4">
        <time>002000</time>
        <delay>000010</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 We encourage Friendly play! There is no need to Kill on Sight!!!</cmd>
        <cmdtype>0</cmdtype>            
    </job

    <job id="5">
        <time>002500</time>
        <delay>000010</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 www.fap-clan.com</cmd>
        <cmdtype>0</cmdtype>            
    </job
    
</Scheduler>

 

 

If someone can help me with this it would be much appreciated.

I also need the proper codes to let it do this: (restarting the server automaticly on those times).

 

<!-- show text ingame every 60 min -->
    <job id="0">
        <time>006000</time>
        <delay>000000</delay>
        <day>1,2,3,4,5,6,7</day>
        <loop>1</loop>
        <cmd>say -1 This server restarts 6 times per day, 04:00, 08:00, 12:00, 16:00, 20:00 and 00:00 GMT</cmd>
        <cmdtype>0</cmdtype>
        </job>

 

 

Thanks in advance!

 

Ps. We are on a Vilayer server

Share this post


Link to post
Share on other sites

Right off the bat the ending </job for some of the commands aren't closed.

 

They need to look like this </job> for them to work properly.

Jobs should start at <job id="0"> and up from there.

Not sure why you would need the delay of 10 seconds on each job but not a major concern.

Other than the above things I don't see any real flaws in the jobs.

 

This could be of some use as well "Setting up the scheduler".

 

As far as the restarts messages go. I believe every server is hard-coded to restart at 4hr intervals so really you do not have to have it restart through BEC unless you want shorter restart times.

So basically just set BEC to send a restart message at say 3hr 50mins that the server is going to restart.

 

Examples:

 

                <job id="0">
                <time>035000</time>
                <delay>000000</delay>
                <day>1,2,3,4,5,6,7</day>
                <loop>0</loop> 
                <cmd>say -1 Server will restart in 10 minutes!</cmd>
                <cmdtype>0</cmdtype>
                </job>
 
                <job id="1">
                <time>035900</time>
                <delay>000000</delay>
                <day>1,2,3,4,5,6,7</day>
                <loop>0</loop> 
                <cmd>say -1 Server restart is imminent!</cmd>
                <cmdtype>0</cmdtype>
                </job>
Edited by R.Neville

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×