minor changes

This commit is contained in:
Beu 2021-06-27 22:11:39 +02:00
parent 5abe6672ab
commit fb1a2d795f
2 changed files with 8 additions and 12 deletions

View File

@ -39,7 +39,7 @@ class MatchManagerPlayersPause implements ManialinkPageAnswerListener, CommandLi
/* /*
* Constants * Constants
*/ */
const PLUGIN_ID = 200; const PLUGIN_ID = 159;
const PLUGIN_VERSION = 1.0; const PLUGIN_VERSION = 1.0;
const PLUGIN_NAME = 'MatchManager Players Pause'; const PLUGIN_NAME = 'MatchManager Players Pause';
const PLUGIN_AUTHOR = 'Beu'; const PLUGIN_AUTHOR = 'Beu';
@ -109,7 +109,7 @@ class MatchManagerPlayersPause implements ManialinkPageAnswerListener, CommandLi
* @see \ManiaControl\Plugins\Plugin::getDescription() * @see \ManiaControl\Plugins\Plugin::getDescription()
*/ */
public static function getDescription() { public static function getDescription() {
return 'Add a button for players to get pause and start the game automatically'; return 'Add a button for players to launch a pause if needed';
} }
/** /**
@ -372,4 +372,3 @@ class MatchManagerPlayersPause implements ManialinkPageAnswerListener, CommandLi
$this->MLPauseNotAsked = $MLPauseNotAsked; $this->MLPauseNotAsked = $MLPauseNotAsked;
} }
} }

View File

@ -18,7 +18,6 @@ use ManiaControl\Players\PlayerManager;
use ManiaControl\Plugins\Plugin; use ManiaControl\Plugins\Plugin;
use ManiaControl\Settings\Setting; use ManiaControl\Settings\Setting;
use ManiaControl\Settings\SettingManager; use ManiaControl\Settings\SettingManager;
//use ManiaControl\Utils\Formatter;
use ManiaControl\Commands\CommandListener; use ManiaControl\Commands\CommandListener;
@ -40,7 +39,7 @@ class MatchManagerReadyButton implements ManialinkPageAnswerListener, CommandLis
/* /*
* Constants * Constants
*/ */
const PLUGIN_ID = 199; const PLUGIN_ID = 158;
const PLUGIN_VERSION = 1.0; const PLUGIN_VERSION = 1.0;
const PLUGIN_NAME = 'MatchManager Ready Button'; const PLUGIN_NAME = 'MatchManager Ready Button';
const PLUGIN_AUTHOR = 'Beu'; const PLUGIN_AUTHOR = 'Beu';
@ -50,10 +49,10 @@ class MatchManagerReadyButton implements ManialinkPageAnswerListener, CommandLis
const ACTION_READY = 'ReadyButton.Action'; const ACTION_READY = 'ReadyButton.Action';
const MLID_MATCH_READY_WIDGET = 'Ready ButtonWidget'; const MLID_MATCH_READY_WIDGET = 'Ready ButtonWidget';
const SETTING_MATCH_READY_MODE = 'Ready Button'; const SETTING_MATCH_READY_MODE = 'Enable plugin';
const SETTING_MATCH_READY_NBPLAYERS = 'Ready Button-Minimal number of players before start'; const SETTING_MATCH_READY_NBPLAYERS = 'Minimal number of players before start';
const SETTING_MATCH_READY_POSX = 'Ready Button-Position: X'; const SETTING_MATCH_READY_POSX = 'Position: X';
const SETTING_MATCH_READY_POSY = 'Ready Button-Position: Y'; const SETTING_MATCH_READY_POSY = 'Position: Y';
/* /*
* Private properties * Private properties
@ -107,7 +106,7 @@ class MatchManagerReadyButton implements ManialinkPageAnswerListener, CommandLis
* @see \ManiaControl\Plugins\Plugin::getDescription() * @see \ManiaControl\Plugins\Plugin::getDescription()
*/ */
public static function getDescription() { public static function getDescription() {
return 'Add a button for players to get ready and start the game automatically'; return 'Add a button for players to get ready and start the match automatically';
} }
/** /**
@ -352,5 +351,3 @@ class MatchManagerReadyButton implements ManialinkPageAnswerListener, CommandLis
$this->MLisNotReady = $MLisNotReady; $this->MLisNotReady = $MLisNotReady;
} }
} }