[eXpansion-1 Plugin] Auto EndRound

The next generation of server controlling with clean and powerful user interface

Moderators: reaby, oliverde8, NADEO

User avatar
steppie
Translator
Translator
Posts: 104
Joined: 25 Apr 2011, 21:55
Location: Denmark

[eXpansion-1 Plugin] Auto EndRound

Post by steppie »

Hi

This is my first plugin to this great controller, so what is it?

It's Auto Endround plugin, that forceendround if nobody finish the round in the defined max time.
This is important, because if you join a server, where the round is started by a player but do not finish, the round will never end and new player will not be able to drive.

Features:
1. ForceEndRound if a player "hijack" server, by not finishing the round.
2. Time defined in settings. (Authortime + your defined time)
3. Update timer to EndRoundTime when player finish.
4. Display a countdown so you know how much time you have left to finish.
5. Works in both legacy and script mode.

Download it here: http://unc-crew.dk/downloads/AutoForceEndround_1.3.zip

Install by unzip the content to you eXpansion ManiaLivePlugins folder and activate the plugin in servercontroller.
Last edited by steppie on 18 May 2016, 20:38, edited 3 times in total.
Image
oliverde8
Posts: 1345
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Plugin] Auto EndRound

Post by oliverde8 »

hey so happy to see the first plugin for expansion :clap:

For information you don't need both :

Code: Select all

	$this->addGameModeCompability(\Maniaplanet\DedicatedServer\Structures\GameInfos::GAMEMODE_ROUNDS);
	$this->addGameModeCompability(\Maniaplanet\DedicatedServer\Structures\GameInfos::GAMEMODE_SCRIPT, 'Round.Script.txt');
by default Script Compatibility mode is true and therefor adding legacy Round support adds Script round support as well. I know we also use both quite often as the feature was added only later in our developpement.

For info it can be disabled this way :

Code: Select all

$this->setScriptCompatibilityMode(false)
Really nice plugin :)
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
steppie
Translator
Translator
Posts: 104
Joined: 25 Apr 2011, 21:55
Location: Denmark

Re: [Plugin] Auto EndRound

Post by steppie »

Thanks for the feedback :thumbsup:

I've removed the script line and changed the config so it's shown under the plugins.

Download file updated!
Image
User avatar
steppie
Translator
Translator
Posts: 104
Joined: 25 Apr 2011, 21:55
Location: Denmark

Re: [eXpansion Plugin] Auto EndRound

Post by steppie »

Updated the plugin, as it didn't update the time at playerfinish if legacy callback was disable.

Download link updated in first post.
Image
jaga01
Posts: 47
Joined: 06 Jan 2015, 14:31
Location: Romania

Re: [eXpansion Plugin] Auto EndRound

Post by jaga01 »

That`s a good plugin and is missing on other controllers. Good Job !
jaga01
Posts: 47
Joined: 06 Jan 2015, 14:31
Location: Romania

Re: [eXpansion Plugin] Auto EndRound

Post by jaga01 »

how i can make it work with 1.0.0 eXpansion ?
oliverde8
Posts: 1345
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [eXpansion Plugin] Auto EndRound

Post by oliverde8 »

jaga01 wrote:how i can make it work with 1.0.0 eXpansion ?
Hi due to changes to eXpansion to add PHP7 support the plugin won't work until someone fixes it :(

I might do it, when I find time. But don't expect me to find anytime before may 17th,
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
jaga01
Posts: 47
Joined: 06 Jan 2015, 14:31
Location: Romania

Re: [eXpansion Plugin] Auto EndRound

Post by jaga01 »

hey !

Ok I have to wait then :) I really wait for you guys to come back, a lot of bugs and usefull updates need to be done :D
User avatar
steppie
Translator
Translator
Posts: 104
Joined: 25 Apr 2011, 21:55
Location: Denmark

Re: [eXpansion Plugin] Auto EndRound

Post by steppie »

The plugin is now updated to work with the latest version of expansion.
Download link updated in first post.

Big thanks to Reaby for debugging and fixes.
Image
jaga01
Posts: 47
Joined: 06 Jan 2015, 14:31
Location: Romania

Re: [eXpansion Plugin] Auto EndRound

Post by jaga01 »

Can you be more specific with the instalation? i Unziped folder AutoEndRound to vendor > ml-expasion > expansion, folder and it didn`t work
Post Reply

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 1 guest