Page 1 of 2

F-Plugins [Manialive 2.8]

Posted: 30 Sep 2011, 14:25
by Fadden
Last update 05 Jan 2013

Hi,

Here are some simple and light plugins I made. You can see these plugins working on R » PV4 - ça claimed !, in France/Poitou-Charentes/Charente-maritime.
You can download the pack here.

Below are completes explanations, and some screens. There are probably mistakes in English or "Franglish" words, but I hope it's understandable^^
=========================================================================

LocalRecords :
Need the plugin Database (provided with^^)).
Store records and calculate server rank. Display a little widget with personal best, map record and server ranking.
Points for server rank are calculated as : for each map where he has a record, a player earns a number of points equals to "Nb of records on this map - players's record place + 1"

Available commands :
- /r => Map ranking (screen)
- /top => Server Rank (screen)

Configuration :
All options are facultative, there are default values you can see in Config.php file.

Code: Select all

; Nb of records saved by map
ManiaLivePlugins\Fadden\LocalRecords\Config.nbRecordsCount = 100

; Minimum number of record to be ranked
ManiaLivePlugins\Fadden\LocalRecords\Config.minNbRecs = 3

; Message for 10 victories. You can create message for any number of victories.
ManiaLivePlugins\Fadden\LocalRecords\Config.victoryMessages[10] = "";

; Message each X victories, if there is no message for X victories.
ManiaLivePlugins\Fadden\LocalRecords\Config.victoryMessagesEach[X] = "";

; Default message displayed to the winner if there is no message (see above) for this number of victories. 
ManiaLivePlugins\Fadden\LocalRecords\Config.victoryMessageGeneral = ""

; For all victory messages, you can use {PLAYERNICKNAME} and {NBWINS}.

; Message when a player increases its rank on the map
ManiaLivePlugins\Fadden\LocalRecords\Config.messageClaimed = "";

; Message when a player increases its time on the map but not his rank
ManiaLivePlugins\Fadden\LocalRecords\Config.messageSecured = "";

; Message when a player gets for the first time a record on the map.
ManiaLivePlugins\Fadden\LocalRecords\Config.messageTook = "";

; Message when a player equaled his record
ManiaLivePlugins\Fadden\LocalRecords\Config.messageEqualed = "";

; For all records messages, you can use {PLAYERNICKNAME}, {POSITION} and {TIME}
========================================================================

Jukebox (slashlist) :

Command :
- /list => to choose map and have some information (screen)

Configuration :
All options are facultative, there are default values you can see in Config.php file.

Code: Select all

; Number of races to be played before you can reselect a map 
ManiaLivePlugins\Fadden\SlashList\Config.nbChallengesPlayed = 2

; Message when a player chooses a map. You can use {NICKNAME} and {CHALLENGENAME}
ManiaLivePlugins\Fadden\SlashList\Config.messageChooseMap = ""

; Message when a player chooses a map when he has already chosen one
ManiaLivePlugins\Fadden\SlashList\Config.messageDejaChoisi = ""
========================================================================

ChatMessages :
Customisable Chat Messages (/gg, /hi, /what_you_want...). Simply create your own in the config file.

Configuration/Example :

Code: Select all

; You can use {PLAYERNICKNAME} (italic text for command such as /me...)
; {[PLAYERNICKNAME]} (normal nickname between brackets)
; {TEXT} (text entered by player. Example in "/gg robert", {TEXT} is "robert")
ManiaLivePlugins\Fadden\ChatMessages\Config.chatMessages[me] = '{PLAYERNICKNAME} {TEXT}';
ManiaLivePlugins\Fadden\ChatMessages\Config.chatMessages[gg] = '{[PLAYERNICKNAME]} Good Game {TEXT} !';
ManiaLivePlugins\Fadden\ChatMessages\Config.chatMessages[sa] = '{[PLAYERNICKNAME]} Saludos {TEXT} !';

; List of chat command with auto all when there is no text entered by player. {TEXT} will be "all".
ManiaLivePlugins\Fadden\ChatMessages\Config.cmdsWithAutoAll = 'gg,sa';
========================================================================

ConnectionMessage :

Welcome message on chat, and connexion/deconnexion message.

Configuration :

Code: Select all

; Welcome message
ManiaLivePlugins\Fadden\ConnectionMessage\Config.connectionMessagePerso = '{PLAYERNICKNAME}$z$s$fff, welcome on {SERVERNAME} !'

; Connection message
ManiaLivePlugins\Fadden\ConnectionMessage\Config.connectionMessagePublic = '$i$ccc$nConnection : {PLAYERNICKNAME} ({PATH})'

; Disconnection message
ManiaLivePlugins\Fadden\ConnectionMessage\Config.deconnectionMessage = '$i$ccc$nDisconnection : {PLAYERNICKNAME}'
========================================================================

ConfigureRoundMode :

Allows you to configure round points limit, points distribution and warm up at Manialive lauching

Configuration :

Code: Select all

ManiaLivePlugins\Fadden\ConfigureRoundMode\Config.pointsLimit = 37;
ManiaLivePlugins\Fadden\ConfigureRoundMode\Config.roundCustomPoints = '10,8,6,5,4,3,2,1'
ManiaLivePlugins\Fadden\ConfigureRoundMode\Config.nbWarmUp = 1;
========================================================================

Donation :
A discreet donation bar and /donate command.

Commands :
- /donate X : Give X planets to the server
- /planets : show the nuber of planets on the server (only for adminsPlanets)

Configuration :

Code: Select all

; players that can use /planets command
ManiaLivePlugins\Fadden\Donation\Config.adminsPlanets[] = 'login';
ManiaLivePlugins\Fadden\Donation\Config.adminsPlanets[] = 'login2';

; List of possible donations in the bar
ManiaLivePlugins\Fadden\Donation\Config.donations = '10,50,100,250,500,777,1000';

; Donation message
ManiaLivePlugins\Fadden\Donation\Config.messageDon = '{PLAYERNICKNAME}$fff gave $ff0{MONTANT}$fff planets to the server. Thanks !';

; Error message, when the amount is incorrect
ManiaLivePlugins\Fadden\Donation\Config.messageMontantIncorrect = '$i$F00Amount incorrect';
========================================================================

Admin :
Admin commands and admin panel.

Commands :
- /restart, /restarmap
- /next, /nextmap
- /kick login
- /ban login
- /forcespec login
- /forceplay login
- /freeplayer login (no forced to spec or play)
- /admin : admin panel (screen)

Configuration :

Code: Select all

; Important : Admins that can used commands above. (Manialive admins are automatically admins)
ManiaLivePlugins\Fadden\Admin\Config.adminsRace[] = 'fadden';
========================================================================

More help and link :
Download link.
Some explanations (but in french, and not up to date).
A file with examples of configuration.

If you encounter a bug or a problem about these plugins or if you have any questions, please report it here, or by private message (MP in french if you are french, it will be easier ;))

Re: Fadden's plugins [Manialive 2 r305]

Posted: 15 Dec 2011, 22:30
by Fadden
Updated for Manialive2 r305 :)

Re: Fadden's plugins [Manialive 2 r305]

Posted: 16 Dec 2011, 11:18
by TheM
Added as announcement.

Re: Fadden's plugins [Manialive 2 r321]

Posted: 08 Jan 2012, 15:04
by Fadden
An admin plugin is now available :)

Re: Fadden's plugins [Manialive 2.1]

Posted: 05 Jan 2013, 09:41
by TatharNuar
Your Donation plugin is not in UTF-8 encoding. I tried to run phpDocumentor and it failed because the plugin isn't using the correct encoding for ManiaLive plugins.

Re: Fadden's plugins [Manialive 2.5]

Posted: 06 Jan 2013, 12:02
by Fadden
Hi,

It seems the Donation plugin is in UTF-8 encoding, are you sure that it is an encoding problem you have ?

Otherwise, I checked and updated plugins for working with ManiaLive 2.5

Re: Fadden's plugins [Manialive 2.5]

Posted: 07 Jan 2013, 20:13
by TatharNuar
Fadden wrote:Hi,

It seems the Donation plugin is in UTF-8 encoding, are you sure that it is an encoding problem you have ?

Otherwise, I checked and updated plugins for working with ManiaLive 2.5
I don't know for certain if it's encoding that's the issue, but phpDocumentor 2 doesn't like that plugin for some reason.

Re: F-Plugins [Manialive 2.5]

Posted: 08 Mar 2013, 09:01
by nocturne
Anybody have a current link..?

Re: F-Plugins [Manialive 2.5]

Posted: 08 Mar 2013, 10:02
by Fadden
Oh the link was broken.

Here is the good link

I update the first post, thx.

Re: F-Plugins [Manialive 2.7]

Posted: 29 Apr 2013, 11:42
by Agamemnus
The donate buttons just cause the word "error" to appear in the chat.

I'm running shootmania with manialive 2.8

Any ideas?