level properties, moved some settings from server.properties, cmd placeholders

This commit is contained in:
GameHerobrine 2026-04-28 13:57:03 +03:00
parent 581a6a8fb2
commit cf4dc73a6c
10 changed files with 165 additions and 30 deletions

View file

@ -88,6 +88,7 @@ LICENSE;
$config->set("max-players", (int) $this->getInput(self::DEFAULT_PLAYERS));
echo "[*] ".$this->lang->spawn_protection_info."\n";
echo "[?] ".$this->lang->spawn_protection." (Y/n): ";
//TODO remove spawn prot from here
if(strtolower($this->getInput("y")) == "n"){
$config->set("spawn-protection", -1);
}else{