ManiaControl Promotion plugin

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: Jocy, Wabbitface, steeffeen, NADEO

User avatar
chco
Posts: 301
Joined: 24 Dec 2012, 09:11

ManiaControl Promotion plugin

Post 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
Image
User avatar
chco
Posts: 301
Joined: 24 Dec 2012, 09:11

Re: ManiaControl Promotion plugin

Post 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.
Image
User avatar
chco
Posts: 301
Joined: 24 Dec 2012, 09:11

Re: ManiaControl Promotion plugin

Post 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.
Image
User avatar
chco
Posts: 301
Joined: 24 Dec 2012, 09:11

Re: ManiaControl Promotion plugin

Post by chco »

Thanks for the info.
Is there a plugin currently using those sets ?
Image
User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: ManiaControl Promotion plugin

Post 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
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    chco
    Posts: 301
    Joined: 24 Dec 2012, 09:11

    Re: ManiaControl Promotion plugin

    Post by chco »

    For the time being, the plugin does work, why not add it?
    Image
    Post Reply

    Return to “ManiaControl”

    Who is online

    Users browsing this forum: No registered users and 2 guests