Skip to content

Releases

Installer 2.5.0

Choose a tag to compare

@DennisObject DennisObject released this 26 Nov 15:36
aa97e89
  • Windows setup now sets folder permissions on non-English versions of Windows.
  • On Linux, the installer can connect the website to the hotel's camera service for avatar images. It enables this when both the camera service and website support it. Hotels keep their custom avatar image address.

Installer changes since 2.4.0

v2.4.0 - Hotel language and the AIR client

Choose a tag to compare

@DennisObject DennisObject released this 25 Nov 16:58
42c3e3c

This release adds the hotel language and the AIR client options, and installs PlusEMU on .NET 11.

  • Hotel language. Run the installer or plusemu-update with --language de (Windows: -Language de). The codes are en, de, nl, fr, es, it, fi, tr and br. The choice is saved. See change the hotel language.
  • AIR client. Run the installer with --with-air (Windows: -WithAir), and players can use the AIR client. The choice is saved. See connect the AIR client.
  • Security. The AIR client routes send the visitor's real address to the emulator, so per-address limits and bans see the player and not the proxy. Setup leaves old AIR blocks alone when it cannot replace them safely.
  • .NET 11. A new install and an emulator update stop before they change anything when the processor cannot run .NET 11. The message names the missing instructions.
  • Habbicons. plusemu-update changes habbicons.asset.hash from default to habbo-225e1f8a. Any other value stays.
  • New hotels get image.library.dailytasks.url in the client settings.

See the changelog for details.

v2.3.1 - Add database IPs without reinstalling

Choose a tag to compare

@DennisObject DennisObject released this 13 Nov 23:08
5bb5e95

Adding or changing the IP addresses that can reach your database no longer reinstalls the hotel. On a hotel that is already installed, --remote-database now changes only the database access. Your website, emulator and client stay as they are, so your own CMS changes are kept.

Add or change the allowed addresses:

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --remote-database 203.0.113.7

Close the database again:

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --remote-database off
  • Fixed: --remote-database on an installed hotel no longer resets Atom CMS, the client or the emulator. It only updates the firewall rules, the hotel database accounts and the MariaDB listen address, then prints the connection details.
  • MariaDB and the emulator still restart once when the database opens or closes, so players are disconnected for a moment.
  • PLUSEMU_REMOTE_DATABASE still belongs to a full install or rerun. Use --remote-database to change only the database access.
  • A full rerun of the installer still resets the website to stock Atom CMS. Keep your own CMS changes in git, or copy /var/www/hotel/cms before you run it again.

v2.3.0 - Camera photos

Choose a tag to compare

@DennisObject DennisObject released this 09 Nov 12:23
44edc35

Players can now take photos on hotels made with the installer. The installer sets up the camera service, which draws the photos and room thumbnails, and serves them at /camera/. This needs PlusEMU v1.0.28 or newer, which the installer downloads.

Already have a hotel? Update it, and the camera comes with the update:

sudo plusemu-update

Is your hotel already on the newest PlusEMU? Set up only the camera:

sudo plusemu-update --install-camera
plusemu-update -InstallCamera
  • New: the camera runs as the plusemu-camera service on Linux and the PlusEMUCamera service on Windows. It only listens on 127.0.0.1.
  • New: photos are kept in /var/www/hotel/camera (Windows: C:\Hotel\camera) and are part of the nightly backup.
  • New: --install-camera / -InstallCamera adds the camera to an installed hotel. Your own changes to the nginx site stay. The emulator restarts once when its camera settings change.
  • New: on Ubuntu 23.10 and newer, an AppArmor profile lets Chromium use its sandbox.
  • When the camera cannot be set up, the installer warns you and the rest of the hotel keeps working.

v2.2.1 - Running the installer again keeps your hotel

Choose a tag to compare

@DennisObject DennisObject released this 07 Nov 19:05
c9c14e8

Running the installer again no longer wipes your hotel. Before this fix, every new run of install.sh or install.ps1, for example with --remote-database or --setup-ssh, deleted the hotel database and installed an empty one. Players, rooms and ranks were lost.

You do not need to do anything. The install command always downloads the newest installer.

  • Fixed: the installer only installs a new database when the database has no accounts. A hotel with players is always kept, on Linux and Windows.
  • Lost your hotel to this bug? Restore a backup from before the rerun. On Linux the nightly backups are in /var/backups/plusemu/nightly/.

v2.2.0 - SSH key login only

Choose a tag to compare

@DennisObject DennisObject released this 06 Nov 11:16
fc95372

You can now lock your Linux server down to SSH key login only. Passwords stop working, so nobody can guess their way in. You do not need to install the hotel again: run the installer once more with --setup-ssh.

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --setup-ssh
  • New: --setup-ssh (or PLUSEMU_SETUP_SSH=1) explains how to make an SSH key on Windows or Linux, asks you to paste your public key and adds it to your account.
  • New: password login goes off only after you logged in with your key in a new window. When the key login does not work, password login comes back on and the key is removed, so you are never locked out.
  • New: PLUSEMU_SSH_KEY gives the public key to an unattended run.
  • Linux servers only. A local install (--local) leaves the SSH settings of your PC alone.

v2.1.0 - Connect to your database from your PC

Choose a tag to compare

@DennisObject DennisObject released this 06 Nov 11:06
5f69554

You can now connect to your hotel database from your own PC, for example with HeidiSQL. You do not need to install the hotel again: run the installer once more on your Linux server with --remote-database and your PC's IPv4 address.

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --remote-database 203.0.113.7
  • New: --remote-database <addresses> (or PLUSEMU_REMOTE_DATABASE) opens port 3306 only to these IPv4 addresses or networks, separated by commas. Every other address stays blocked.
  • New: at the end, the installer prints what to fill in on your PC: the server's IP address, port 3306, user hotel, database plus and the password.
  • New: --remote-database off closes the database again. Later runs keep the saved addresses.
  • Opening or closing the database restarts MariaDB and the emulator, so players are disconnected for a moment.
  • Linux only for now. A local install (--local) does not need it: connect to 127.0.0.1.

v2.0.1 - Updates accept the new Volt version numbers

Choose a tag to compare

@DennisObject DennisObject released this 30 Oct 09:30
1aafdb3

Volt and Volt Renderer now have their own version numbers, starting at v1.0.0. You do not need a new installer for this: sudo plusemu-update (Linux) and plusemu-update (Windows) always download the newest installer, and they install any release whose tag differs from the installed one.

  • New: update checks on Linux and Windows make sure that a client release with a lower or differently shaped tag, for example client-v3.5.1-83b02ae to v1.0.0, is still installed.

v2.0.0 - Protected servers, Cloudflare from one token, local install

Choose a tag to compare

@DennisObject DennisObject released this 24 Oct 17:55
44eb660

Every hotel now gets a protected server, a Cloudflare setup from one API token, health alerts and a local install mode, on Linux and Windows. Run the same install command again on an existing hotel to get all of it; your settings and passwords are kept.

Protected by default (both setup guides)

  • Request limits in nginx and IIS for login, registration, password reset and housekeeping. 20 game connections per visitor.
  • fail2ban bans an address after 5 failed SSH logins. SSH password login goes off only when your login already uses an SSH key.
  • Security updates install every day at 05:00 and restart the server only when needed. Windows gets the same update policy.
  • Nightly backup of the database, the settings and your uploads at 04:00, 7 kept. Logs are rotated and kept 14 days.
  • The hotel answers only Cloudflare's addresses, refreshed every Sunday. Nobody can go around Cloudflare to reach the server.

Cloudflare from one API token

At the end, the installer shows the setup guide and asks for a Cloudflare API token (Enter skips it). With the token it adds the DNS records, installs a 15-year origin certificate, turns on Full (strict), Always Use HTTPS, TLS 1.2+, WebSockets, Browser Integrity Check and Bot Fight Mode, and adds a rate limit and two firewall rules. The guide explains how to create the token and which 6 permissions it needs. The token is used once and never saved.

Health alerts

An optional Discord webhook. A check runs every 5 minutes (emulator, game port, website, database, disk, backup, certificate, Cloudflare refresh) and sends one message when something fails and one when it works again.

CrowdSec (advanced guide, Linux)

An opt-in that reads the nginx and SSH logs, detects attack patterns and uses the shared CrowdSec blocklist, with the firewall and nginx bouncers.

Local install

sudo bash install.sh --local or .\install.ps1 -Local puts the whole hotel on your own PC at http://localhost, on Debian, Ubuntu, Windows 10, 11 or Server. No HTTPS, Cloudflare, firewall, SSH or update changes, and no rate limits. Three questions, Enter accepts each. Ports in use are named before anything is installed.

Emulator

nginx and IIS now pass the visitor address to the emulator on the game connection. PlusEMU reads it since plus-emulator/PlusEMU#690 and limits connections and failed logins per visitor.

v1.7.0 - Updates add new client settings

Choose a tag to compare

@DennisObject DennisObject released this 23 Oct 21:05
7da6523
  • New: plusemu-update now adds the new settings that a client release ships. It reads ui-config.example and renderer-config.json.example.json from the Volt release, adds the settings your hotel lacks, and keeps every value you already set.
  • Fixed (Windows): an update no longer breaks the emulator folder when a program still uses it. The updater ends a leftover shawl.exe, names any other program that still runs from the folder, retries locked moves, and never deletes a folder it cannot replace.