Implemented QueryRegenerateEvent

This commit is contained in:
Shoghi Cervantes
2014-10-07 11:02:05 +02:00
parent b83c6fbfa3
commit 0b79d74a2f
3 changed files with 236 additions and 44 deletions

View File

@ -290,14 +290,14 @@ class Server{
* @return string
*/
public function getIp(){
return $this->getConfigString("server-ip", "");
return $this->getConfigString("server-ip", "0.0.0.0");
}
/**
* @return string
*/
public function getServerName(){
return $this->getConfigString("server-name", "Unknown server");
return $this->getConfigString("motd", "Unknown server");
}
/**