[eXpansion-1 Plugin] Auto EndRound
Moderators: reaby, oliverde8, NADEO
[eXpansion-1 Plugin] Auto EndRound
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.
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.

Re: [Plugin] Auto EndRound
hey so happy to see the first plugin for expansion
For information you don't need both :
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 :
Really nice plugin 

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');
For info it can be disabled this way :
Code: Select all
$this->setScriptCompatibilityMode(false)


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...
Re: [Plugin] Auto EndRound
Thanks for the feedback
I've removed the script line and changed the config so it's shown under the plugins.
Download file updated!

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

Re: [eXpansion Plugin] Auto EndRound
Updated the plugin, as it didn't update the time at playerfinish if legacy callback was disable.
Download link updated in first post.
Download link updated in first post.

Re: [eXpansion Plugin] Auto EndRound
That`s a good plugin and is missing on other controllers. Good Job !
Re: [eXpansion Plugin] Auto EndRound
how i can make it work with 1.0.0 eXpansion ?
Re: [eXpansion Plugin] Auto EndRound
Hi due to changes to eXpansion to add PHP7 support the plugin won't work until someone fixes itjaga01 wrote:how i can make it work with 1.0.0 eXpansion ?

I might do it, when I find time. But don't expect me to find anytime before may 17th,

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...
Re: [eXpansion Plugin] Auto EndRound
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 
Ok I have to wait then


Re: [eXpansion Plugin] Auto EndRound
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.
Download link updated in first post.
Big thanks to Reaby for debugging and fixes.

Re: [eXpansion Plugin] Auto EndRound
Can you be more specific with the instalation? i Unziped folder AutoEndRound to vendor > ml-expasion > expansion, folder and it didn`t work
Who is online
Users browsing this forum: No registered users and 1 guest