Set up the Volt client
Volt is the web client for PlusEMU hotels. The installer sets it up. Use this page to install, configure, build or update Volt manually.
Volt is built on Volt-Renderer, which is bundled into every Volt release.
Install a release
Section titled “Install a release”Recommended. No build step is needed.
-
Download
volt-client.zipfrom the latest Volt release. -
Unzip it into the folder of your web server.
-
Create your configuration files. In the
configuration/folder, copy these three files:Copy this example To this file renderer-config.json.example.jsonrenderer-config.jsonui-config.exampleui-config.jsonclient-mode.exampleclient-mode.json -
Open
renderer-config.jsonand setsocket.urlto the WebSocket address of PlusEMU. See connect to PlusEMU. -
Open the client with a login ticket:
https://your-domain/index.html?sso=TICKET. Your website normally does this for the player.
Configuration files
Section titled “Configuration files”All files are in the configuration/ folder.
| File | Main settings |
|---|---|
renderer-config.json |
socket.url (game server WebSocket), api.url, asset.url, image.library.url, hof.furni.url, gamedata.url, and the URL of each game data file |
ui-config.json |
thumbnails.url, url.prefix, habbopages.url, catalogue and interface options |
client-mode.json |
secureAssetsEnabled, secureApiEnabled, distObfuscationEnabled, apiBaseUrl, plainConfigBaseUrl, plainGamedataBaseUrl |
Text files (UITexts_*.jsonc.example, QuestUITexts.jsonc.example) and hotlooks.example are in the same folder. Copy them and remove .example from the name to use them.
Feature settings
Section titled “Feature settings”These settings turn on or tune single features. New installs get the values below. plusemu-update adds a missing setting with its default, and keeps the value your file already has.
How plusemu-update merges renderer-config.json, ui-config.json and client-mode.json:
- A setting that is missing in your file is added from Volt’s example file.
- A value in your file always wins. Objects are merged key by key, so a new key inside an object such as
notificationis added. - A list in your file, such as
chat.stylesorcamera.available.effects, is kept as it is. New list entries from a release are not added. Compare the list with the example file by hand. - A file with comments or trailing commas is not plain JSON. The update keeps it as it is and adds no new settings. It shows a warning.
- The update never reads values from the database. Keep the server values equal by hand.
| File | Setting | What it does | Default |
|---|---|---|---|
renderer-config.json |
habbicons.asset.hash |
The folder with the habbicon images. See habbicons. | habbo-225e1f8a |
renderer-config.json |
system.fps.max |
The highest frame rate. See frame rate. | 60 |
ui-config.json |
recycler.number_of_slots |
The number of Furni-Matic slots. Keep it equal to the server. See Furni-Matic. | 8 |
ui-config.json |
image.library.dailytasks.url |
Where the daily task icons are. Without it, Volt uses the dailytasks/ folder under image.library.url. |
${image.library.url}dailytasks/ |
ui-config.json |
dailytasks.enabled |
true shows Daily tasks in the toolbar menu. See daily tasks. |
not set |
ui-config.json |
toolbar.hide.quests |
false shows Quests in the toolbar menu. See quests. |
true |
ui-config.json |
builders.club.enabled |
false hides the Builders Club. See Builders Club. |
not set (on) |
ui-config.json |
landing.view.* |
The hotel view background and widgets. See hotel view. | empty |
ui-config.json |
wired.* |
Wired tool options. See Wired. |
Settings that must match the server
Section titled “Settings that must match the server”Volt shows these values, but PlusEMU decides. When they differ, players see wrong numbers or get errors.
ui-config.json setting |
Must match |
|---|---|
recycler.number_of_slots |
recycler_settings.slots. See Furni-Matic. |
recycler.ducket_cost |
recycler_settings.cost_duckets |
recycler.timeout_seconds |
recycler_settings.cooldown_seconds |
motto.max.length |
38, the motto limit of PlusEMU |
bot.name.max.length |
15, the bot name limit of PlusEMU |
system.currency.types |
The activity point types your hotel uses |
catalog.links, catalog.clothes.page, avatareditor.pets.catalog.page.name, avatareditor.effects.buy.button.catalog.page.name |
Catalogue page names that exist in catalog_pages |
camera.available.effects |
The effect names in Camera.Effects of the emulator’s Config/config.json |
Habbicons
Section titled “Habbicons”Volt ships two habbicon folders in habbicons/: default and habbo-225e1f8a. Only habbo-225e1f8a has the zombie habbicons, which are reward track prizes. Use it:
"habbicons.asset.hash": "habbo-225e1f8a"plusemu-update changes default to habbo-225e1f8a for you. It keeps any other value, because that is your own choice. If you update by hand, change default yourself.
Since Volt 1.0.8 and Volt Renderer 1.0.4, habbicons.json uses Habbo’s own format. If you made your own habbicon folder, start again from a copy of habbo-225e1f8a.
Frame rate
Section titled “Frame rate”Volt draws at most 60 frames per second. Change the default with system.fps.max in renderer-config.json.
Players can change it for their own session with the :fps chat command, like in the AIR client. For example, :fps 30 sets 30 frames per second. The value can be 5 to 10000. :togglefps turns the limit off and on.
Link events
Section titled “Link events”A link event is a short text that opens a part of Volt. Use link events in hotel view widgets, in texts and in buttons.
| Link event | Opens |
|---|---|
openView/calendar |
The campaign calendar |
catalog/open |
The catalogue |
catalog/open/<page> |
A catalogue page, by page name or page ID |
catalog/open/offerId/<id> |
The page of an offer |
catalog/show/builders_club |
The Builders Club catalogue |
catalog/warehouse/<page> |
A page of the Builders Club catalogue |
navigator/show, navigator/toggle |
The navigator |
navigator/goto/<room id> |
Goes to a room. navigator/goto/home goes to the home room. |
navigator/search/<text> |
A navigator search |
navigator/create |
The create room window |
inventory/show, inventory/toggle |
The inventory. Add /furni, /pets, /badges or /bots for one tab. |
achievements/toggle |
Achievements |
questengine/achievements/<category> |
One achievement category |
quests/toggle |
Quests |
dailytasks/open |
Daily tasks |
reward_track/open |
Reward tracks |
habboUI/open/hccenter |
The Habbo Club center |
avatar-editor/show |
The avatar editor |
friends/show |
The friends list |
groups/create |
The create group window |
games/toggle |
The game center |
collectibles/open |
The Collectibles hub |
user-settings/show |
The user settings |
help/show |
The help window |
habbopages/<page> |
A Habbo page from habbopages.url |
Connect to PlusEMU
Section titled “Connect to PlusEMU”socket.url: the WebSocket address of PlusEMU. It is theNitrosection in PlusEMU’sConfig/config.json(default port 2096). Usews://127.0.0.1:2096on your own computer. Usewss://behind a TLS proxy on a live server.api.url: the HTTP address for login, maintenance and authentication.furnidata.url: see furniture data.- Login ticket: the client reads it from the
?sso=part of the address.
JSON or JSONC files
Section titled “JSON or JSONC files”Volt reads its configuration and game data files in one of three modes:
| Mode | What it accepts |
|---|---|
legacy |
Strict JSON only. Comments and trailing commas cause an error. |
jsonc |
JSON with comments and trailing commas |
auto |
Strict JSON first, then JSONC. This is the default. |
A file whose name ends in .jsonc is always read as JSONC.
The mode is fixed when Volt is built. To choose it, run yarn configure (it asks you and writes .volt-build.json), or set it for one build:
VOLT_JSON_MODE=jsonc yarn buildSingle-quoted strings and unquoted keys are not accepted in any mode. Change them to normal JSON.
Split game data
Section titled “Split game data”A game data file (FurnitureData, FigureData, FigureMap, EffectMap, ProductData, HabboAvatarActions, ExternalTexts or UITexts) can be one big file, or a folder of small files. Small files are easier to edit and to share.
Point the URL at the folder. End it with a slash:
"furnidata.url": "https://example.com/gamedata/furnidata/"The folder looks like this:
furnidata/ manifest.jsonc optional: { "tiers": ["core", "custom", "seasonal"] } core/ manifest.jsonc required: { "files": ["a.jsonc", "b.jsonc"] } a.jsonc b.jsonc custom/ optional manifest.jsonc overrides.jsonc seasonal/ optional manifest.jsonc xmas.jsonc- Without the top
manifest.jsonc, Volt uses the ordercore,custom,seasonal. - Volt skips a tier that has no
manifest.jsonc. - Later tiers and later files override earlier ones.
How Volt joins two parts:
| Two parts | Result |
|---|---|
| Two objects | Joined key by key, going deeper |
| Two lists of objects with the same id key | Joined by id. The later one wins. |
| Two lists without an id key | One longer list |
| Anything else | The later value wins |
The id keys are id, classname and name, in this order.
To split an old single file into the core/ tier, run this in the Volt source folder:
node scripts/split-gamedata.mjs --input FurnitureData.json --output gamedata/furnidatanode scripts/split-gamedata.mjs --helpBuild from source
Section titled “Build from source”Build from source only if you change Volt. For a normal hotel, install a release.
You need:
- Node.js 22.12 or newer
- Yarn 4, through Corepack (
corepack enable) - Git
- A game server such as PlusEMU, and the converted client assets
With the install script
Section titled “With the install script”Run install.sh (Linux and macOS) or install.bat (Windows) in the Volt folder. It does these steps:
- Checks your Node.js version.
- Clones Volt-Renderer to
../Volt-Rendererif it is missing. - Runs
yarn installin both folders. - Links the renderer into Volt.
- Copies the three configuration files.
- Asks for the JSON mode and the URLs.
- Runs
yarn build.
Run node install.mjs --help to see the options. For an unattended run, use --non-interactive with --socket-url=... and the other URL options.
By hand
Section titled “By hand”Put Volt and Volt-Renderer next to each other. Volt reads the renderer from ../Volt-Renderer.
git clone https://github.com/plus-emulator/Volt.gitgit clone https://github.com/plus-emulator/Volt-Renderer.gitcorepack enable(cd Volt-Renderer && yarn install)(cd Volt && yarn install)Then create the three configuration files in Volt/public/configuration/ as described above, and start the development server:
cd Voltyarn startIn development, /api/* goes to AUTH_PROXY_TARGET, or else to api.url, or else to http://127.0.0.1:2096. Assets can come from a ../Nitro-Files/ folder: nitro-assets/ appears at /nitro-assets and swf/ at /swf.
Build commands
Section titled “Build commands”| Command | What it does |
|---|---|
yarn vite build |
A plain build into dist/. The release uses this. |
yarn build |
A build, then scripts/minify-dist.mjs. It makes the JSON smaller and writes gzip .dat copies of the JavaScript and CSS for the obfuscated loader. |
yarn build:prod |
Updates the browser list, then runs yarn build. |
yarn preview |
Shows dist/ on your computer. |
Upload the contents of dist/ and your configuration files to your web server. Set VITE_BASE to change the base path (default ./).
Update Volt
Section titled “Update Volt”With the installer
Section titled “With the installer”Run sudo plusemu-update (Linux) or plusemu-update (Windows). It keeps your configuration files. See update PlusEMU.
By hand, from a release
Section titled “By hand, from a release”- Back up your
configuration/folder. - Download the newest
volt-client.zip. - Replace the old files with the new ones. Keep your own
renderer-config.json,ui-config.json,client-mode.jsonand text files. - Compare your files with the new
.examplefiles. Add any new settings. - Reload the hotel page in the browser.
Update PlusEMU and Volt together, because their packet versions must match. Read the changelog first.
By hand, from source
Section titled “By hand, from source”cd Volt-Renderer && git pull && yarn installcd ../Volt && git pull && yarn installyarn buildRun yarn install in Volt-Renderer every time it changes the pixi.js version. If the installed version does not match, the Volt build stops with an error.