diff --git a/Admin/welcome.tpl b/Admin/welcome.tpl index 10fe562c..456e1732 100644 --- a/Admin/welcome.tpl +++ b/Admin/welcome.tpl @@ -3,4 +3,4 @@ Hello %USER%, Thank you for registering on our server. Since the %START% at %TIME% Romans, Gauls and Teutons attack each other on this game world. Right now, %PLAYERS% players in %ALLI% Alliances are fighting for supremacy. -TravianX Team \ No newline at end of file +Regards, %SERVER_NAME% \ No newline at end of file diff --git a/GameEngine/Admin/welcome.tpl b/GameEngine/Admin/welcome.tpl index 10fe562c..456e1732 100644 --- a/GameEngine/Admin/welcome.tpl +++ b/GameEngine/Admin/welcome.tpl @@ -3,4 +3,4 @@ Hello %USER%, Thank you for registering on our server. Since the %START% at %TIME% Romans, Gauls and Teutons attack each other on this game world. Right now, %PLAYERS% players in %ALLI% Alliances are fighting for supremacy. -TravianX Team \ No newline at end of file +Regards, %SERVER_NAME% \ No newline at end of file diff --git a/GameEngine/Message.php b/GameEngine/Message.php index 150b1432..6950a1c5 100644 --- a/GameEngine/Message.php +++ b/GameEngine/Message.php @@ -358,6 +358,7 @@ $welcomemsg = preg_replace("'%TIME%'", date("H:i", COMMENCE), $welcomemsg); $welcomemsg = preg_replace("'%PLAYERS%'", $database->countUser()-4, $welcomemsg); $welcomemsg = preg_replace("'%ALLI%'", $database->countAlli(), $welcomemsg); + $welcomemsg = preg_replace("'%SERVER_NAME%'", SERVER_NAME, $welcomemsg); $welcomemsg = "[message]".$welcomemsg."[/message]"; return $database->sendMessage($uid, 5, WEL_TOPIC, $welcomemsg, 0); }