elite9092 Posted August 18, 2014 Report Share Posted August 18, 2014 hey guys, trying to get my server to lock 5 mins before a restart and be unlocked after restart, UNLOCK!!ulck : Unlocks the server. This command is alias for #unlock. LOCK!!lck : Locks the server. This command is alias for #lock ^ i think i have to do something with these but im not sure where or how. Any and all help is appreciated Link to comment Share on other sites More sharing options...
0 MGT Posted August 18, 2014 Report Share Posted August 18, 2014 in scheduler.xml in BEC you can call something like this:- <job id="1"> <time>07:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#lock</cmd> <cmdtype>0</cmdtype> </job> Link to comment Share on other sites More sharing options...
0 elite9092 Posted August 18, 2014 Author Report Share Posted August 18, 2014 Thank you :) MGT 1 Link to comment Share on other sites More sharing options...
0 elite9092 Posted August 18, 2014 Author Report Share Posted August 18, 2014 <!-- START: 12am Restart --> <job id="0"> <time>23:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server Restart in 30 minutes </cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>23:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server Restart in 15 minutes </cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>23:50:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server Restart in 10 minutes </cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>23:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>#lock</cmd> <cmdtype>0</cmdtype> </job> <job id="4"> <time>23:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server Restart in 5 minutes </cmd> <cmdtype>0</cmdtype> </job> <job id="5"> <time>23:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>say -1 Server Restart in 1 minutes </cmd> <cmdtype>0</cmdtype> </job> <!-- END: 12am Restart --> <!-- START: Unlock --> <job 1d="0"> <time>00:05:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>1</loop> <cmd>#unlock</cmd> <cmdtype>0</cmdtype> </job> <!-- END: Unlock--> that look right to you? Link to comment Share on other sites More sharing options...
0 MGT Posted August 18, 2014 Report Share Posted August 18, 2014 Looks good to me, the unlock is dependent on how you run BEC Link to comment Share on other sites More sharing options...
0 insertcoins Posted August 18, 2014 Report Share Posted August 18, 2014 why would you need to unlock, server has restarted right? cen 1 Link to comment Share on other sites More sharing options...
0 BetterDeadThanZed Posted August 19, 2014 Report Share Posted August 19, 2014 why would you need to unlock, server has restarted right? I have it set to unlock on my server 2 minutes after the restart in case the restart doesn't happen for some reason. When I first set it to lock 5 minutes before restart, I had an instance where the server didn't restart, so it remained locked for a couple of hours and I didn't realize it. You can never be too careful when it comes to BEC. MGT 1 Link to comment Share on other sites More sharing options...
Question
elite9092
hey guys,
trying to get my server to lock 5 mins before a restart and be unlocked after restart,
UNLOCK!
!ulck : Unlocks the server.
This command is alias for #unlock.
LOCK!
!lck : Locks the server.
This command is alias for #lock
^ i think i have to do something with these but im not sure where or how.
Any and all help is appreciated
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now