PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
Public Member Functions | |
__construct (private Config $pocketmineYml, private Config $serverProperties) | |
getConfigBool (string $variable, bool $defaultValue=false) | |
getConfigInt (string $variable, int $defaultValue=0) | |
getConfigString (string $variable, string $defaultValue="") | |
getProperty (string $variable, mixed $defaultValue=null) | |
getPropertyBool (string $variable, bool $defaultValue) | |
getPropertyInt (string $variable, int $defaultValue) | |
getPropertyString (string $variable, string $defaultValue) | |
save () | |
setConfigBool (string $variable, bool $value) | |
setConfigInt (string $variable, int $value) | |
setConfigString (string $variable, string $value) | |
Definition at line 34 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::__construct | ( | private Config | $pocketmineYml, |
private Config | $serverProperties ) |
Definition at line 41 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getConfigBool | ( | string | $variable, |
bool | $defaultValue = false ) |
Definition at line 97 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getConfigInt | ( | string | $variable, |
int | $defaultValue = 0 ) |
Definition at line 84 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getConfigString | ( | string | $variable, |
string | $defaultValue = "" ) |
Definition at line 71 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getProperty | ( | string | $variable, |
mixed | $defaultValue = null ) |
Definition at line 46 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getPropertyBool | ( | string | $variable, |
bool | $defaultValue ) |
Definition at line 59 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getPropertyInt | ( | string | $variable, |
int | $defaultValue ) |
Definition at line 63 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::getPropertyString | ( | string | $variable, |
string | $defaultValue ) |
Definition at line 67 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::save | ( | ) |
Definition at line 127 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::setConfigBool | ( | string | $variable, |
bool | $value ) |
Definition at line 123 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::setConfigInt | ( | string | $variable, |
int | $value ) |
Definition at line 93 of file ServerConfigGroup.php.
pocketmine\ServerConfigGroup::setConfigString | ( | string | $variable, |
string | $value ) |
Definition at line 80 of file ServerConfigGroup.php.