custom score distribution

Post here every finished plugin

Moderator: NADEO

Post Reply
Vins75
Posts: 18
Joined: 07 Feb 2011, 15:09

custom score distribution

Post by Vins75 »

hello all,
so I know if I'm in the right section I wanted to know if the Warn message could be modified "french traduct" or another averts. some server run in round mod how to change the distribution of points in the type motogp 25/20 /.... ... thank you lot
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: custom score distribution

Post by farfa »

I don't understand your post.
You want to modified the averts or the points distribution ?
It it's the score distribution you can create a plugin changing for different score distribution thanks to the method

Code: Select all

ManiaLive\DedicatedApi\Connection::setRoundCustomPoints(array $customPoints, bool $relaxChecking, bool $multicall)
If it's message in the FreeZone Plugin, the answer is simply no
Also known as: satanasdiabolo
Vins75
Posts: 18
Joined: 07 Feb 2011, 15:09

Re: custom score distribution

Post by Vins75 »

sorry my thirst question his how to modified this warn message if possible
Image

and my second question : how to change score distribution in motogp, I remember as I was typing in XAseco
/admin rpoints motogp, is there a trick ?
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: custom score distribution

Post by Knutselmaaster »

Your questions concern Plugin functionality.
I will move this topic to the plugins section.

There is no possibility to change rounds points yet, such a plugin does not exist for ManiaLive at the moment.

As for the warning message; open \libraries\ManiaLivePlugins\MLEPP\AdminPanel\AdminPanel.php
Go to line 576 (not sure for the line number as i don't know what version you run) it should say:

Code: Select all

$window->setText('Admin has $f00warned$fff you for your $o$soffensive behaviour$z.'."\n\n".'Continuing this behaviour will get you either:'."\n".'* Removed from chat'."\n".'* Kicked from server '."\n".'* You might get a ban'."\n\n".'Please take this in consideration, while playing here.'); 
You can change your message there.
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: custom score distribution

Post by reaby »

Custom round scores is now implemented to developer / svn version of adminpanel.
We, Mlepp developers are extending the plugin pack and new features is being added. Currently we are testing the database/local records/jukebox plugin combination, there is still too many bugs left after the great data structure change from last database format to the new one.

the new adminpanel has it's own "code language" now, tho there are shortcuts to commonly used admin command, but the rest are grouped like this.

/admin [action] [subject] [property] parameter1 (parameter2)

[action] can be set / get / add / remove
[subject] can be player / server / ta / team / rounds / laps / cup / [from other plugin]
[property] will be the subset of commands from each [subject]

few examples to mention a few of many from the system we are testing:

/admin set player unban [login]
/admin get player ignorelist

/admin get server coppers
/admin set server pay [login] [amount]
/admin set server stop

/admin add tmx [tmxid] [gameversion]

/admin set rounds custompoints f1new
/admin set ta timelimit 5:15
Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest