Jump to content
Sign in to follow this  
nhor

How Can I Rotate My Server Messages?

Recommended Posts

Sorry if this has been answered already. I did do a search on the subject before posting but after an exhaustive half hour I did not find anything.

I would like to set up my server config to perpetually rotate the server messages.

Is there a way to do this other than putting 1000 messages in the config file? :eek:

motd[] = {

"", "",

"Two empty lines above for increasing interval",

"Welcome to our server",

"", "",

"We are looking for fun - Join us Now !",

"http://www.example.com",

"One more empty line below for increasing interval",

""

};

motdInterval = 5; // Time interval (in seconds) between each message

Share this post


Link to post
Share on other sites

no one knows the answer to this?

Share this post


Link to post
Share on other sites

Would love to know why you would want the join in message to loop over and over ? This message will interfere with in game messages and chat ?

Share this post


Link to post
Share on other sites
Would love to know why you would want the join in message to loop over and over ? This message will interfere with in game messages and chat ?

I am running a DayZ server that is up 24/7 people play on it for hours and there are alot of hackers joining and greifing.

I want to run a loop message to let people know where to report the hacking.

There is only direct chat in the Mod so not bothered by interfereing with this.

Now you Know and I just need to Know how.

Any Ideas or just curious?

Share this post


Link to post
Share on other sites

I certainly understand why you would need this now.

Share this post


Link to post
Share on other sites
Sorry if this has been answered already. I did do a search on the subject before posting but after an exhaustive half hour I did not find anything.

I would like to set up my server config to perpetually rotate the server messages.

Is there a way to do this other than putting 1000 messages in the config file? :eek:

motd[] = {

"", "",

"Two empty lines above for increasing interval",

"Welcome to our server",

"", "",

"We are looking for fun - Join us Now !",

"http://www.example.com",

"One more empty line below for increasing interval",

""

};

motdInterval = 5; // Time interval (in seconds) between each message

There is no real good way to do this.

if you want to have this in the server config you have to have it 10000 times..

You could use Bec with a scheduler to do this. it has a loop option.

check out my siganture

Share this post


Link to post
Share on other sites

We use BEC on our servers and it gets the job done, obviously we run BEC for other reasons but msg rotation is an added benefit. I'm not aware if BEC supports multiple lines so scheduler can get messy. There also seems to be some issue that it blurts a bunch of msgs out at the same time.. Combined with the new BE direct msgs chat can also get a bit messy. Here is an example of my scheduler:

<!-- 30min MSG -->

<job id="0">

<time>003000</time>

<day>1,2,3,4,5,6,7</day>

<loop>1</loop>

<cmd>say -1 Words go here</cmd>

<cmdtype>0</cmdtype>

</job>

Good luck

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  

×