Page 1 of 3
ManiaControl Promotion plugin
Posted: 30 Jun 2014, 10:06
by chco
Hi all.
I've just uploaded a plugin for ManiaControl to display promotional server messages in the chat.
It allows up to 10 messages to be displayed at a definable interval and either in a random or orderly fashion.
The message can hold manialink color codes and link codes. 4 different examples are included.
To use random mode set the mode setting to : random
To have the messages shown in order use : linear
Interval is in seconds.
Cheers,
Charly
Re: ManiaControl Promotion plugin
Posted: 30 Jun 2014, 11:00
by chco
Thanks Kremsy, I'll have a look at setting values.
On the timer.. just wanted to be safe as I had some issues with the loadscreen plugin and timers, so I thought to play safe and control it all myself.
Might just give that a second try
kremsy wrote:Thank you very much.
Some small things which could be improved, the PROMOTE_SETTING could be replaced by an SET of values (can't write directly an example here due time resons.)
And there wold be ways to make infinite messages dynamically possible, maybe I will write the idea for that later

.
Another thing is instead of the every second, or nextMessage time you could just use a timer, wich you start at the begining and occurs every xx seconds, or you start after every message a new timer.
Re: ManiaControl Promotion plugin
Posted: 30 Jun 2014, 16:52
by chco
I added a version that uses just the one timer set every x seconds, instead of on every second.
Hope it holds as I did notice that time-outs happen when a timer is triggered while a map is loading, causing MP to crash.
In regards of what you mentioned, I need to dig into how you guys have set it up and I don't have the time currently.
Re: ManiaControl Promotion plugin
Posted: 30 Jun 2014, 19:55
by chco
Thanks for the info.
Is there a plugin currently using those sets ?
Re: ManiaControl Promotion plugin
Posted: 30 Jun 2014, 21:46
by steeffeen
chco wrote:Is there a plugin currently using those sets ?
don't know about a plugin right now but the
UpdateManager is using a Set for its channel setting
Re: ManiaControl Promotion plugin
Posted: 01 Jul 2014, 12:09
by chco
For the time being, the plugin does work, why not add it?