F-Plugins [Manialive 2.8]

Post here every finished plugin

Moderator: NADEO

Fadden
Posts: 181
Joined: 10 May 2011, 18:21

F-Plugins [Manialive 2.8]

Post 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 ;))
Last edited by Fadden on 07 May 2013, 08:58, edited 12 times in total.
Elle est où la poulette ?
Fadden
Posts: 181
Joined: 10 May 2011, 18:21

Re: Fadden's plugins [Manialive 2 r305]

Post by Fadden »

Updated for Manialive2 r305 :)
Elle est où la poulette ?
TheM
Posts: 1379
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: Fadden's plugins [Manialive 2 r305]

Post by TheM »

Added as announcement.
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
Fadden
Posts: 181
Joined: 10 May 2011, 18:21

Re: Fadden's plugins [Manialive 2 r321]

Post by Fadden »

An admin plugin is now available :)
Elle est où la poulette ?
TatharNuar
Posts: 80
Joined: 16 Jul 2012, 16:50

Re: Fadden's plugins [Manialive 2.1]

Post 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.
Fadden
Posts: 181
Joined: 10 May 2011, 18:21

Re: Fadden's plugins [Manialive 2.5]

Post 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
Elle est où la poulette ?
TatharNuar
Posts: 80
Joined: 16 Jul 2012, 16:50

Re: Fadden's plugins [Manialive 2.5]

Post 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.
nocturne
Posts: 208
Joined: 23 Jun 2010, 21:31

Re: F-Plugins [Manialive 2.5]

Post by nocturne »

Anybody have a current link..?
Fadden
Posts: 181
Joined: 10 May 2011, 18:21

Re: F-Plugins [Manialive 2.5]

Post by Fadden »

Oh the link was broken.

Here is the good link

I update the first post, thx.
Elle est où la poulette ?
Agamemnus
Posts: 41
Joined: 04 Oct 2012, 11:38

Re: F-Plugins [Manialive 2.7]

Post 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?
Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest