diff --git a/Havana-Server/src/main/java/org/alexdev/havana/util/config/writer/GameConfigWriter.java b/Havana-Server/src/main/java/org/alexdev/havana/util/config/writer/GameConfigWriter.java index 8430b29..bb114bd 100644 --- a/Havana-Server/src/main/java/org/alexdev/havana/util/config/writer/GameConfigWriter.java +++ b/Havana-Server/src/main/java/org/alexdev/havana/util/config/writer/GameConfigWriter.java @@ -65,7 +65,7 @@ public class GameConfigWriter implements ConfigWriter { config.put("battleball.ticket.charge", "2"); config.put("battleball.increase.points", "true"); - config.put("snowstorm.create.game.enabled", "false"); + config.put("snowstorm.create.game.enabled", "true"); config.put("snowstorm.start.minimum.active.teams", "2"); config.put("snowstorm.preparing.game.seconds", "10"); // 5, 4, 3, 2, 1 - then destruction of 1 config.put("snowstorm.game.lifetime.seconds", "0"); diff --git a/Havana-Web/src/main/java/org/alexdev/http/util/config/WebServerConfigWriter.java b/Havana-Web/src/main/java/org/alexdev/http/util/config/WebServerConfigWriter.java index 05ad127..85bd901 100644 --- a/Havana-Web/src/main/java/org/alexdev/http/util/config/WebServerConfigWriter.java +++ b/Havana-Web/src/main/java/org/alexdev/http/util/config/WebServerConfigWriter.java @@ -26,7 +26,7 @@ public class WebServerConfigWriter implements ConfigWriter { config.put("mysql.database", "havana"); config.put("template.directory", "tools/www-tpl"); - config.put("template.name", "default"); + config.put("template.name", "default-en"); return config; } diff --git a/tools/havana.sql b/tools/havana.sql index b95c2b4..270e360 100644 --- a/tools/havana.sql +++ b/tools/havana.sql @@ -56040,7 +56040,7 @@ DELETE FROM `rooms`; /*!40000 ALTER TABLE `rooms` DISABLE KEYS */; INSERT INTO `rooms` (`id`, `owner_id`, `category`, `name`, `description`, `model`, `ccts`, `wallpaper`, `floor`, `landscape`, `showname`, `superusers`, `accesstype`, `password`, `visitors_now`, `visitors_max`, `rating`, `icon_data`, `group_id`, `is_hidden`, `created_at`, `updated_at`) VALUES (1, '0', 3, 'Welcome Lounge', 'welcome_lounge', 'newbie_lobby', 'hh_room_nlobby', 0, 0, '0.0', 0, 0, 0, '', 0, 40, 0, '0|0|', 1000, 0, '2018-08-11 07:54:01', '2021-11-02 11:13:09'), - (2, '0', 5, 'Theatredome', 'theatredrome', 'theater', 'hh_room_theater_carneval', 0, 0, '0.0', 0, 0, 0, '', 0, 100, 0, '0|0|', 2398, 0, '2018-08-11 07:54:01', '2022-09-03 12:32:33'), + (2, '0', 5, 'Theatredome', 'theatredrome', 'theater', 'hh_room_theater', 0, 0, '0.0', 0, 0, 0, '', 0, 100, 0, '0|0|', 2398, 0, '2018-08-11 07:54:01', '2022-09-03 12:32:33'), (3, '0', 5, 'Library', 'library', 'library', 'hh_room_library', 0, 0, '0.0', 0, 0, 0, '', 0, 30, 0, '0|0|', 6645, 0, '2018-08-11 07:54:01', '2021-11-02 11:13:32'), (4, '0', 5, 'TV Studio', 'tv_studio', 'tv_studio', 'hh_room_tv_studio_general', 0, 0, '0.0', 0, 0, 0, '', 0, 20, 0, '0|0|', 0, 0, '2018-08-11 07:54:01', '2021-11-02 10:55:29'), (5, '0', 5, 'Cinema', 'habbo_cinema', 'cinema_a', 'hh_room_cinema', 0, 0, '0.0', 0, 0, 0, '', 0, 50, 0, '0|0|', 0, 0, '2018-08-11 07:54:01', '2022-09-03 12:32:42'), diff --git a/tools/www-tpl/default/OLD_install_shockwave.tpl b/tools/www-tpl/default-en/OLD_install_shockwave.tpl similarity index 100% rename from tools/www-tpl/default/OLD_install_shockwave.tpl rename to tools/www-tpl/default-en/OLD_install_shockwave.tpl diff --git a/tools/www-tpl/default/OLD_shockwave_app.tpl b/tools/www-tpl/default-en/OLD_shockwave_app.tpl similarity index 100% rename from tools/www-tpl/default/OLD_shockwave_app.tpl rename to tools/www-tpl/default-en/OLD_shockwave_app.tpl diff --git a/tools/www-tpl/default/account/banned.tpl b/tools/www-tpl/default-en/account/banned.tpl similarity index 100% rename from tools/www-tpl/default/account/banned.tpl rename to tools/www-tpl/default-en/account/banned.tpl diff --git a/tools/www-tpl/default/account/email/account_activated.tpl b/tools/www-tpl/default-en/account/email/account_activated.tpl similarity index 100% rename from tools/www-tpl/default/account/email/account_activated.tpl rename to tools/www-tpl/default-en/account/email/account_activated.tpl diff --git a/tools/www-tpl/default/account/email/account_forgot.tpl b/tools/www-tpl/default-en/account/email/account_forgot.tpl similarity index 100% rename from tools/www-tpl/default/account/email/account_forgot.tpl rename to tools/www-tpl/default-en/account/email/account_forgot.tpl diff --git a/tools/www-tpl/default/account/email/account_recovery.tpl b/tools/www-tpl/default-en/account/email/account_recovery.tpl similarity index 100% rename from tools/www-tpl/default/account/email/account_recovery.tpl rename to tools/www-tpl/default-en/account/email/account_recovery.tpl diff --git a/tools/www-tpl/default/account/email/base/email_footer.tpl b/tools/www-tpl/default-en/account/email/base/email_footer.tpl similarity index 100% rename from tools/www-tpl/default/account/email/base/email_footer.tpl rename to tools/www-tpl/default-en/account/email/base/email_footer.tpl diff --git a/tools/www-tpl/default/account/email/base/email_header.tpl b/tools/www-tpl/default-en/account/email/base/email_header.tpl similarity index 100% rename from tools/www-tpl/default/account/email/base/email_header.tpl rename to tools/www-tpl/default-en/account/email/base/email_header.tpl diff --git a/tools/www-tpl/default/account/email/email_activate.tpl b/tools/www-tpl/default-en/account/email/email_activate.tpl similarity index 100% rename from tools/www-tpl/default/account/email/email_activate.tpl rename to tools/www-tpl/default-en/account/email/email_activate.tpl diff --git a/tools/www-tpl/default/account/email/email_recovery.tpl b/tools/www-tpl/default-en/account/email/email_recovery.tpl similarity index 100% rename from tools/www-tpl/default/account/email/email_recovery.tpl rename to tools/www-tpl/default-en/account/email/email_recovery.tpl diff --git a/tools/www-tpl/default/account/email/email_registered.tpl b/tools/www-tpl/default-en/account/email/email_registered.tpl similarity index 100% rename from tools/www-tpl/default/account/email/email_registered.tpl rename to tools/www-tpl/default-en/account/email/email_registered.tpl diff --git a/tools/www-tpl/default/account/email/sent.tpl b/tools/www-tpl/default-en/account/email/sent.tpl similarity index 100% rename from tools/www-tpl/default/account/email/sent.tpl rename to tools/www-tpl/default-en/account/email/sent.tpl diff --git a/tools/www-tpl/default/account/login.tpl b/tools/www-tpl/default-en/account/login.tpl similarity index 100% rename from tools/www-tpl/default/account/login.tpl rename to tools/www-tpl/default-en/account/login.tpl diff --git a/tools/www-tpl/default/account/logout.tpl b/tools/www-tpl/default-en/account/logout.tpl similarity index 100% rename from tools/www-tpl/default/account/logout.tpl rename to tools/www-tpl/default-en/account/logout.tpl diff --git a/tools/www-tpl/default/account/reauthenticate.tpl b/tools/www-tpl/default-en/account/reauthenticate.tpl similarity index 100% rename from tools/www-tpl/default/account/reauthenticate.tpl rename to tools/www-tpl/default-en/account/reauthenticate.tpl diff --git a/tools/www-tpl/default/account/submit.tpl b/tools/www-tpl/default-en/account/submit.tpl similarity index 100% rename from tools/www-tpl/default/account/submit.tpl rename to tools/www-tpl/default-en/account/submit.tpl diff --git a/tools/www-tpl/default/base/ads_container.tpl b/tools/www-tpl/default-en/base/ads_container.tpl similarity index 100% rename from tools/www-tpl/default/base/ads_container.tpl rename to tools/www-tpl/default-en/base/ads_container.tpl diff --git a/tools/www-tpl/default/base/flash_check.tpl b/tools/www-tpl/default-en/base/flash_check.tpl similarity index 100% rename from tools/www-tpl/default/base/flash_check.tpl rename to tools/www-tpl/default-en/base/flash_check.tpl diff --git a/tools/www-tpl/default/base/footer.tpl b/tools/www-tpl/default-en/base/footer.tpl similarity index 100% rename from tools/www-tpl/default/base/footer.tpl rename to tools/www-tpl/default-en/base/footer.tpl diff --git a/tools/www-tpl/default/base/frontpage_header.tpl b/tools/www-tpl/default-en/base/frontpage_header.tpl similarity index 100% rename from tools/www-tpl/default/base/frontpage_header.tpl rename to tools/www-tpl/default-en/base/frontpage_header.tpl diff --git a/tools/www-tpl/default/base/hc_status.tpl b/tools/www-tpl/default-en/base/hc_status.tpl similarity index 100% rename from tools/www-tpl/default/base/hc_status.tpl rename to tools/www-tpl/default-en/base/hc_status.tpl diff --git a/tools/www-tpl/default/base/header.tpl b/tools/www-tpl/default-en/base/header.tpl similarity index 100% rename from tools/www-tpl/default/base/header.tpl rename to tools/www-tpl/default-en/base/header.tpl diff --git a/tools/www-tpl/default/base/tag_cloud.tpl b/tools/www-tpl/default-en/base/tag_cloud.tpl similarity index 100% rename from tools/www-tpl/default/base/tag_cloud.tpl rename to tools/www-tpl/default-en/base/tag_cloud.tpl diff --git a/tools/www-tpl/default/base/tag_search.tpl b/tools/www-tpl/default-en/base/tag_search.tpl similarity index 96% rename from tools/www-tpl/default/base/tag_search.tpl rename to tools/www-tpl/default-en/base/tag_search.tpl index 60d990f..c32206f 100644 --- a/tools/www-tpl/default/base/tag_search.tpl +++ b/tools/www-tpl/default-en/base/tag_search.tpl @@ -29,7 +29,7 @@ {% if habboTag.getUserId() > 0 %} {% set player = habboTag.getUserData() %}