[eXpansion 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: 103
Joined: 25 Apr 2011, 21:55
Location: Denmark
Contact:

[eXpansion Plugin] Auto EndRound

Post by steppie » 13 Nov 2014, 17:22

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
.Image
.Image

oliverde8
Posts: 1319
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Plugin] Auto EndRound

Post by oliverde8 » 13 Nov 2014, 19:51

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: 103
Joined: 25 Apr 2011, 21:55
Location: Denmark
Contact:

Re: [Plugin] Auto EndRound

Post by steppie » 13 Nov 2014, 20:05

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
.Image
.Image

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

Re: [eXpansion Plugin] Auto EndRound

Post by steppie » 14 Nov 2014, 18:23

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

Download link updated in first post.
Image
.Image
.Image

jaga01
Posts: 47
Joined: 06 Jan 2015, 14:31
Location: Romania

Re: [eXpansion Plugin] Auto EndRound

Post by jaga01 » 24 Nov 2015, 21:19

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 » 26 Apr 2016, 20:12

how i can make it work with 1.0.0 eXpansion ?

oliverde8
Posts: 1319
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [eXpansion Plugin] Auto EndRound

Post by oliverde8 » 27 Apr 2016, 19:53

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 » 27 Apr 2016, 20:05

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: 103
Joined: 25 Apr 2011, 21:55
Location: Denmark
Contact:

Re: [eXpansion Plugin] Auto EndRound

Post by steppie » 18 May 2016, 20:41

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
.Image
.Image

jaga01
Posts: 47
Joined: 06 Jan 2015, 14:31
Location: Romania

Re: [eXpansion Plugin] Auto EndRound

Post by jaga01 » 19 May 2016, 06:52

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 2 guests