Compare commits
9
Commits
9617e59747
...
43a624bbe7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
43a624bbe7 | ||
|
|
c4532dd340 | ||
|
|
039b46d12b | ||
|
|
43ca6dc4b0 | ||
|
|
45b7a1d9ef | ||
|
|
a741e6103d | ||
|
|
6e27d9c4fe | ||
|
|
e5de0b53d4 | ||
|
|
cb91fbef6c |
No files matched your search
@@ -24,9 +24,11 @@ jobs:
|
|||||||
PREV_TAG="$(git -C "$BARE" tag --sort=-creatordate | head -2 | tail -1 || echo '')"
|
PREV_TAG="$(git -C "$BARE" tag --sort=-creatordate | head -2 | tail -1 || echo '')"
|
||||||
|
|
||||||
if [ -n "$PREV_TAG" ] && [ "$PREV_TAG" != "$VERSION" ]; then
|
if [ -n "$PREV_TAG" ] && [ "$PREV_TAG" != "$VERSION" ]; then
|
||||||
CHANGELOG="$(git -C "$BARE" log --oneline --no-decorate "${PREV_TAG}..${VERSION}")"
|
CHANGELOG="$(git -C "$BARE" log --oneline --no-decorate --max-count=50 "${PREV_TAG}..${VERSION}")"
|
||||||
|
[ -z "$CHANGELOG" ] && CHANGELOG="No commit changes since ${PREV_TAG}"
|
||||||
else
|
else
|
||||||
CHANGELOG="$(git -C "$BARE" log --oneline --no-decorate "${VERSION}")"
|
TOTAL="$(git -C "$BARE" rev-list --count "${VERSION}" 2>/dev/null || echo '?')"
|
||||||
|
CHANGELOG="Initial release of EpicNext-CMS (${TOTAL} commits)."
|
||||||
fi
|
fi
|
||||||
[ -z "$CHANGELOG" ] && CHANGELOG="Initial release"
|
[ -z "$CHANGELOG" ] && CHANGELOG="Initial release"
|
||||||
|
|
||||||
@@ -37,14 +39,147 @@ jobs:
|
|||||||
EMU_REF="$(git ls-remote https://github.com/duckietm/Polaris-Emulator.git main 2>/dev/null | awk '{print $1}')"
|
EMU_REF="$(git ls-remote https://github.com/duckietm/Polaris-Emulator.git main 2>/dev/null | awk '{print $1}')"
|
||||||
|
|
||||||
{
|
{
|
||||||
echo "## EpicNext-CMS ${VERSION}"
|
echo "# EpicNext-CMS ${VERSION}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "### Changes"
|
echo "> Modern, high-performance CMS for Habbo hotel emulators — built on Next.js 16, React 19 and Prisma 7. Integrates with Polaris / Arcturus Morningstar databases."
|
||||||
|
echo ""
|
||||||
|
echo "## Menu"
|
||||||
|
echo "- [What is EpicNext-CMS?](#what-is-epicnext-cms)"
|
||||||
|
echo "- [System Requirements](#system-requirements)"
|
||||||
|
echo "- [Installation Wizard](#installation-wizard)"
|
||||||
|
echo "- [How it is used](#how-it-is-used)"
|
||||||
|
echo "- [Changes](#changes)"
|
||||||
|
echo "- [Linked repositories](#linked-repositories)"
|
||||||
|
echo ""
|
||||||
|
echo '<a id="what-is-epicnext-cms"></a>'
|
||||||
|
echo "## What is EpicNext-CMS?"
|
||||||
|
echo ""
|
||||||
|
echo "EpicNext-CMS is a full public-facing hotel website plus an administrative panel. It features NextAuth authentication (argon2id/bcrypt with MD5 upgrade), real-time RCON communication with the emulator, Server-Sent Events for live radio, smooth page transitions and extensive extensibility. Full documentation: https://gitlab.epicnabbo.nl/remco/EpicNext-Cms/src/branch/main/README.md"
|
||||||
|
echo ""
|
||||||
|
echo '<a id="system-requirements"></a>'
|
||||||
|
echo "## System Requirements"
|
||||||
|
echo ""
|
||||||
|
echo "What you need to install before running the CMS:"
|
||||||
|
echo ""
|
||||||
|
echo "| Component | Version | Notes |"
|
||||||
|
echo "| --------- | ------- | ----- |"
|
||||||
|
echo "| Node.js | >= 22 | Required by Next.js 16 |"
|
||||||
|
echo "| pnpm | >= 10.33.4 | Package manager (npm/yarn not supported) |"
|
||||||
|
echo "| MySQL / MariaDB | 8.0+ / 10.6+ | Shared with the emulator |"
|
||||||
|
echo "| Redis | 7.x+ | Optional — caching, rate limiting, SSE |"
|
||||||
|
echo "| Java | 17+ | Only if building the emulator |"
|
||||||
|
echo "| Maven | 3.9+ | Only if building the emulator |"
|
||||||
|
echo ""
|
||||||
|
echo "The CMS shares its database with the Polaris / Arcturus emulator. It only reads/writes emulator-owned tables and never alters them."
|
||||||
|
echo ""
|
||||||
|
echo '<a id="installation-wizard"></a>'
|
||||||
|
echo "## Installation Wizard"
|
||||||
|
echo ""
|
||||||
|
echo "A complete hotel stack = **EpicNext-CMS** (this repo) + **Polaris Emulator** + **Nitro V3 client** + **Catalogus** data. Follow the steps in order."
|
||||||
|
echo ""
|
||||||
|
echo "**Quick links:** [Full setup guide](https://github.com/duckietm/Complete-Retro-on-Ubuntu) · [EpicNext-CMS repo](https://gitlab.epicnabbo.nl/remco/EpicNext-Cms) · [Reference configs in this repo](https://gitlab.epicnabbo.nl/remco/EpicNext-Cms/src/branch/main/setup)"
|
||||||
|
echo ""
|
||||||
|
echo "### 1. Clone & Install the CMS"
|
||||||
|
echo '```bash'
|
||||||
|
echo "git clone https://gitlab.epicnabbo.nl/remco/EpicNext-Cms.git"
|
||||||
|
echo "cd EpicNext-Cms"
|
||||||
|
echo "pnpm install"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "### 2. Database Setup"
|
||||||
|
echo ""
|
||||||
|
echo "The CMS shares the emulator database. Import the Polaris/Arcturus database first, then create the CMS schema:"
|
||||||
|
echo '```sql'
|
||||||
|
echo "CREATE DATABASE IF NOT EXISTS epicnext_cms CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "### 3. Configure Environment"
|
||||||
|
echo '```bash'
|
||||||
|
echo "cp .env.example .env"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "Edit .env with at minimum: DATABASE_URL, AUTH_SECRET, HOTEL_NAME and APP_URL. See .env.example for RCON, email, Redis, OAuth and PayPal options."
|
||||||
|
echo ""
|
||||||
|
echo "### 4. Generate Prisma Client"
|
||||||
|
echo '```bash'
|
||||||
|
echo "pnpm prisma:generate"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "### 5. Run CMS Migrations"
|
||||||
|
echo '```bash'
|
||||||
|
echo "pnpm db:migrate"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "Creates all CMS-owned tables (website_*, radio_*, acl_*, admin_audit_log). Emulator tables are never touched. Check status with pnpm db:migrate:status."
|
||||||
|
echo ""
|
||||||
|
echo "### 6. Polaris Emulator"
|
||||||
|
echo ""
|
||||||
|
echo "Clone and build the emulator (requires Java 17+ and Maven 3.9+):"
|
||||||
|
echo '```bash'
|
||||||
|
echo "git clone https://github.com/duckietm/Polaris-Emulator.git /var/www/emulator"
|
||||||
|
echo "cd /var/www/emulator/Emulator"
|
||||||
|
echo "mvn clean package"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "Place the built Habbo-*-jar-with-dependencies.jar next to **config.ini** (see [setup/emulator/config.ini](https://gitlab.epicnabbo.nl/remco/EpicNext-Cms/src/branch/main/setup/emulator/config.ini)), then create a systemd unit from [setup/emulator/emulator.service](https://gitlab.epicnabbo.nl/remco/EpicNext-Cms/src/branch/main/setup/emulator/emulator.service) with the [emulator](https://gitlab.epicnabbo.nl/remco/EpicNext-Cms/src/branch/main/setup/emulator/emulator) launcher so it starts on boot. The bundled update-Nitrov3.sh in this repo automates cloning, building and updating the emulator and Nitro — run it any time to pull the latest commits and rebuild:"
|
||||||
|
echo '```bash'
|
||||||
|
echo "./update-Nitrov3.sh"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "### 7. Nitro V3 & Renderer"
|
||||||
|
echo ""
|
||||||
|
echo "Clone both Nitro repos and build the client:"
|
||||||
|
echo '```bash'
|
||||||
|
echo "git clone https://github.com/duckietm/Nitro_Render_V3.git /var/www/Nitro_Render_V3"
|
||||||
|
echo "git clone https://github.com/duckietm/Nitro-V3.git /var/www/Nitro-V3"
|
||||||
|
echo "cd /var/www/Nitro_Render_V3 && yarn install && yarn link"
|
||||||
|
echo "cd /var/www/Nitro-V3 && yarn install && yarn link \"@nitrots/nitro-renderer\" && yarn build"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "Copy the reference configs from [setup/nitro/](https://gitlab.epicnabbo.nl/remco/EpicNext-Cms/src/branch/main/setup/nitro) into /var/www/Nitro-V3/public/configuration, keep them as *.json, and replace **MY_DOMAIN** with your domain, API URL and gamedata paths (see the Full setup guide, NitroV3_And_Emulator.md)."
|
||||||
|
echo ""
|
||||||
|
echo "### 8. Catalogus (catalog & gamedata)"
|
||||||
|
echo ""
|
||||||
|
echo "Catalogus holds the daily-updated catalog/gamedata. Clone the Beta-3 branch alongside the other components:"
|
||||||
|
echo '```bash'
|
||||||
|
echo "git clone -b Beta-3 https://gitlab.epicnabbo.nl/remco/Epicnabbo-Catalogus-Updated-Daily.git /var/www/catalogus"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "### 9. Build & Start the CMS"
|
||||||
|
echo '```bash'
|
||||||
|
echo "# Development (hot reload)"
|
||||||
|
echo "pnpm dev"
|
||||||
|
echo ""
|
||||||
|
echo "# Production"
|
||||||
|
echo "pnpm build && pnpm start"
|
||||||
|
echo '```'
|
||||||
|
echo ""
|
||||||
|
echo "Open http://localhost:3000 in your browser."
|
||||||
|
echo ""
|
||||||
|
echo "### 10. First Login"
|
||||||
|
echo ""
|
||||||
|
echo "1. Register at /register, or log in with an existing emulator account."
|
||||||
|
echo "2. Grant admin access: UPDATE users SET rank = 7 WHERE username = 'yourname';"
|
||||||
|
echo "3. Visit /admin and configure your hotel via Admin -> CMS Settings."
|
||||||
|
echo ""
|
||||||
|
echo '<a id="how-it-is-used"></a>'
|
||||||
|
echo "## How it is used"
|
||||||
|
echo ""
|
||||||
|
echo "- Public site: browse the hotel, news, radio and the Nitro client at /client."
|
||||||
|
echo "- Admin panel: /admin for CMS settings, theming (12 presets), users, radio and more."
|
||||||
|
echo "- Background jobs: run pnpm jobs:worker for daily backups and cleanup."
|
||||||
|
echo "- Optional: Cloudflare Turnstile / reCAPTCHA, OpenAI moderation and email/PayPal via .env."
|
||||||
|
echo ""
|
||||||
|
echo '<a id="changes"></a>'
|
||||||
|
echo "## Changes"
|
||||||
echo '```'
|
echo '```'
|
||||||
echo "${CHANGELOG}"
|
echo "${CHANGELOG}"
|
||||||
echo '```'
|
echo '```'
|
||||||
echo ""
|
echo ""
|
||||||
echo "### Linked repositories (exact commits)"
|
echo '<a id="linked-repositories"></a>'
|
||||||
|
echo "## Linked repositories (exact commits)"
|
||||||
|
echo ""
|
||||||
|
echo "The game components below are pinned to the exact commits used by this release and are deployed alongside the CMS:"
|
||||||
echo ""
|
echo ""
|
||||||
echo "| Component | Repository | Commit |"
|
echo "| Component | Repository | Commit |"
|
||||||
echo "|-----------|------------|--------|"
|
echo "|-----------|------------|--------|"
|
||||||
@@ -53,13 +188,13 @@ jobs:
|
|||||||
echo "| Nitro-Render-V3 | https://github.com/duckietm/Nitro_Render_V3 | ${RENDER_REF:-?} |"
|
echo "| Nitro-Render-V3 | https://github.com/duckietm/Nitro_Render_V3 | ${RENDER_REF:-?} |"
|
||||||
echo "| Polaris Emulator | https://github.com/duckietm/Polaris-Emulator | ${EMU_REF:-?} |"
|
echo "| Polaris Emulator | https://github.com/duckietm/Polaris-Emulator | ${EMU_REF:-?} |"
|
||||||
echo ""
|
echo ""
|
||||||
|
echo "**[Nitro-V3](https://github.com/duckietm/Nitro-V3)** · **[Nitro Renderer](https://github.com/duckietm/Nitro_Render_V3)** · **[Polaris Emulator](https://github.com/duckietm/Polaris-Emulator)** · **[Catalogus](https://gitlab.epicnabbo.nl/remco/Epicnabbo-Catalogus-Updated-Daily)**"
|
||||||
|
echo ""
|
||||||
echo "---"
|
echo "---"
|
||||||
echo "*Automated release from Gitea Actions*"
|
echo "*Automated release from Gitea Actions*"
|
||||||
} > /tmp/release-body.md
|
} > /tmp/release-body.md
|
||||||
|
|
||||||
BODY="$(jq -Rs '.' < /tmp/release-body.md)"
|
PAYLOAD="$(jq -Rs --arg v "${VERSION}" '{tag_name: $v, name: $v, body: ., draft: false, prerelease: false}' < /tmp/release-body.md)"
|
||||||
|
|
||||||
PAYLOAD="$(printf '%s' "$BODY" | jq -Rs '{tag_name: $v, name: $v, body: ., draft: false, prerelease: false}' --arg v "${VERSION}")"
|
|
||||||
|
|
||||||
TOKEN="${GITEA_TOKEN:-${{ secrets.GITEA_TOKEN }}}"
|
TOKEN="${GITEA_TOKEN:-${{ secrets.GITEA_TOKEN }}}"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,66 @@
|
|||||||
|
# ===========================================================================
|
||||||
|
# Polaris Emulator — reference config.ini
|
||||||
|
# Copy this to /var/www/emulator/Emulator/target/config.ini and fill in the
|
||||||
|
# values marked CHANGE_ME. The emulator reads this file on startup.
|
||||||
|
# Full guide: https://github.com/duckietm/Complete-Retro-on-Ubuntu
|
||||||
|
# ===========================================================================
|
||||||
|
|
||||||
|
# ---- Database configuration ----
|
||||||
|
db.hostname=127.0.0.1
|
||||||
|
db.port=3306
|
||||||
|
db.database=habbo # DB name (shared with the CMS)
|
||||||
|
db.username=root # Username
|
||||||
|
db.password=CHANGE_ME # Password
|
||||||
|
db.params=?characterEncoding=utf8&useSSL=false&serverTimezone=Europe/Amsterdam
|
||||||
|
db.pool.minsize=25
|
||||||
|
db.pool.maxsize=100
|
||||||
|
db.pool.connection_timeout_ms=10000
|
||||||
|
db.pool.idle_timeout_ms=600000
|
||||||
|
db.pool.max_lifetime_ms=1800000
|
||||||
|
db.pool.validation_timeout_ms=5000
|
||||||
|
db.pool.leak_detection_ms=20000 # set to 0 to disable leak detection
|
||||||
|
|
||||||
|
# ---- Game configuration ----
|
||||||
|
# Host IP. Use 0.0.0.0 in most cases. Use 127.0.0.1 for LAN only.
|
||||||
|
game.host=0.0.0.0
|
||||||
|
game.port=3000
|
||||||
|
|
||||||
|
# ---- RCON configuration ----
|
||||||
|
# Leave host at 127.0.0.1 if the CMS runs on the same server as the emulator.
|
||||||
|
rcon.host=127.0.0.1
|
||||||
|
rcon.port=3001
|
||||||
|
rcon.allowed=127.0.0.1;127.0.0.2
|
||||||
|
|
||||||
|
# ---- Nitro secure runtime assets (disabled by default) ----
|
||||||
|
nitro.secure.assets.enabled=false
|
||||||
|
nitro.secure.api.enabled=false
|
||||||
|
nitro.secure.session_ttl_sec=900
|
||||||
|
nitro.secure.config.root=
|
||||||
|
nitro.secure.gamedata.root=
|
||||||
|
# Set a persistent secret when using Cloudflare or multiple backend requests.
|
||||||
|
nitro.secure.master_key=change-me-to-a-long-random-secret
|
||||||
|
|
||||||
|
# ---- Login ----
|
||||||
|
login.remember.enabled=true
|
||||||
|
login.remember.duration.days=30
|
||||||
|
# Optional: set a persistent remember-me JWT secret here.
|
||||||
|
login.remember.jwt.secret=
|
||||||
|
login.news.limit=5
|
||||||
|
|
||||||
|
# ---- Secure runtime ECDH session TTL in seconds ----
|
||||||
|
# (kept for compatibility; unused when secure assets are disabled)
|
||||||
|
|
||||||
|
# ---- WebSockets (Nitro client) ----
|
||||||
|
ws.enabled=true
|
||||||
|
ws.host=0.0.0.0
|
||||||
|
ws.port=2096
|
||||||
|
# Header used to obtain the real client IP when behind a proxy
|
||||||
|
# (usually X-Forwarded-For, or CF-Connecting-IP behind Cloudflare).
|
||||||
|
ws.ip.header=X-Forwarded-For
|
||||||
|
|
||||||
|
# ---- Console / emulator_settings ----
|
||||||
|
# Run these SQL statements ONCE, after importing the emulator database:
|
||||||
|
# USE habbo;
|
||||||
|
# UPDATE emulator_settings SET `value` = '0' WHERE `key` = 'console.mode';
|
||||||
|
# UPDATE emulator_settings SET `value` = 'MY_DOMAIN.COM,*.MY_DOMAIN.COM,localhost,127.0.0.1' WHERE `key` = 'websockets.whitelist';
|
||||||
|
# console.mode MUST be 0 and the whitelist MUST match your domain.
|
||||||
Executable
+17
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Launcher for the Polaris emulator.
|
||||||
|
# Place at /var/www/emulator/Emulator/target/emulator and chmod +x.
|
||||||
|
# Update the JAR name to match the version built by `mvn clean package`.
|
||||||
|
|
||||||
|
file_name_emulator=emulator.log
|
||||||
|
current_time=$(date "+%H%M_%d-%m-%Y")
|
||||||
|
file_name=$file_name_emulator.$current_time
|
||||||
|
|
||||||
|
# Rotate the previous log
|
||||||
|
mkdir -p /var/log/emu
|
||||||
|
mv /var/log/emu/emulator.log /var/log/emu/$file_name 2>/dev/null || true
|
||||||
|
|
||||||
|
# -Xmx4096m = 4 GB. 1 GB=1024, 2 GB=2048, 3 GB=3072, 4 GB=4096
|
||||||
|
java -Dfile.encoding=UTF8 -Xmx4096m \
|
||||||
|
-jar /var/www/emulator/Emulator/target/Habbo-*-jar-with-dependencies.jar \
|
||||||
|
>/var/log/emu/emulator.log
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Habbo Emulator
|
||||||
|
|
||||||
|
# Make sure the database has started before the emulator can start
|
||||||
|
After=mariadb.service
|
||||||
|
Requires=mariadb.service
|
||||||
|
|
||||||
|
# If you want to run as a less privileged account, change User below.
|
||||||
|
# Make sure that account has the right permissions on the working directory and target folders.
|
||||||
|
[Service]
|
||||||
|
User=root
|
||||||
|
|
||||||
|
# Working directory where config.ini and the JAR live
|
||||||
|
WorkingDirectory=/var/www/emulator/Emulator/target
|
||||||
|
|
||||||
|
# The launcher script we created below. It is a shell wrapper that calls the JAR.
|
||||||
|
ExecStart=/var/www/emulator/Emulator/target/emulator
|
||||||
|
|
||||||
|
SuccessExitStatus=143
|
||||||
|
TimeoutStopSec=10
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"distObfuscationEnabled": false,
|
||||||
|
"secureAssetsEnabled": false,
|
||||||
|
"secureApiEnabled": false,
|
||||||
|
"apiBaseUrl": "https://MY_DOMAIN:2096",
|
||||||
|
"plainConfigBaseUrl": "https://MY_DOMAIN/configuration/",
|
||||||
|
"plainGamedataBaseUrl": "https://MY_DOMAIN/gamedata/"
|
||||||
|
}
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
{
|
||||||
|
"socket.url": "wss://MY_DOMAIN.COM:2096",
|
||||||
|
"crypto.ws.enabled": false,
|
||||||
|
"crypto.ws.signing.enabled": false,
|
||||||
|
"crypto.ws.signing.public_key": "",
|
||||||
|
"api.url": "https://MY_DOMAIN.COM:2096",
|
||||||
|
"asset.url": "https://MY_DOMAIN.COM/gamedata",
|
||||||
|
"image.library.url": "http://MY_DOMAIN.COM/gamedata/c_images/",
|
||||||
|
"hof.furni.url": "https://MY_DOMAIN.COM",
|
||||||
|
"images.url": "${asset.url}/images",
|
||||||
|
"gamedata.url": "${asset.url}",
|
||||||
|
"sounds.url": "${asset.url}/sounds/%sample%.mp3",
|
||||||
|
"external.texts.url": [
|
||||||
|
"${gamedata.url}/config/ExternalTexts.json?v=1",
|
||||||
|
"${gamedata.url}/config/UITexts.json?v=1"
|
||||||
|
],
|
||||||
|
"external.samples.url": "${gamedata.url}/sounds/sound_machine_sample_%sample%.mp3",
|
||||||
|
"furnidata.url": "${gamedata.url}/config/FurnitureData.json?v=1",
|
||||||
|
"productdata.url": "${gamedata.url}/config/ProductData.json?v=1",
|
||||||
|
"avatar.actions.url": "${gamedata.url}/config/HabboAvatarActions.json?v=1",
|
||||||
|
"avatar.figuredata.url": "${gamedata.url}/config/FigureData.json?v=1",
|
||||||
|
"avatar.figuremap.url": "${gamedata.url}/config/FigureMap.json?v=1",
|
||||||
|
"avatar.effectmap.url": "${gamedata.url}/config/EffectMap.json?v=1",
|
||||||
|
"avatar.asset.url": "${asset.url}/clothes/%libname%.nitro",
|
||||||
|
"avatar.asset.effect.url": "${asset.url}/effect/%libname%.nitro",
|
||||||
|
"furni.asset.url": "${asset.url}/furniture/%libname%.nitro",
|
||||||
|
"furni.asset.icon.url": "http://MY_DOMAIN.COM/gamedata/icons/%libname%%param%_icon.png",
|
||||||
|
"pet.asset.url": "${asset.url}/pets/%libname%.nitro",
|
||||||
|
"generic.asset.url": "${asset.url}/bundled/generic/%libname%.nitro",
|
||||||
|
"room.asset.url": "${asset.url}/room/%libname%/%libname%.json",
|
||||||
|
"badge.asset.url": "${image.library.url}album1584/%badgename%.gif",
|
||||||
|
"badge.asset.group.url": "http://MY_DOMAIN.COM/habbo-imaging/badge/%badgedata%",
|
||||||
|
"badge.asset.group.external.url": "",
|
||||||
|
"badge.asset.grouparts.url": "https://MY_DOMAIN.COM/gamedata/badgeparts/badgepart_%part%.png",
|
||||||
|
"furni.rotation.bounce.steps": 20,
|
||||||
|
"furni.rotation.bounce.height": 0.0625,
|
||||||
|
"room.color.skip.transition": false,
|
||||||
|
"enable.avatar.arrow": false,
|
||||||
|
"system.animation.fps": 60,
|
||||||
|
"system.limits.fps": false,
|
||||||
|
"system.dispatcher.log": false,
|
||||||
|
"system.packet.log": false,
|
||||||
|
"system.pong.manually": true,
|
||||||
|
"system.pong.interval.ms": 20000,
|
||||||
|
"room.color.skip.transition": true,
|
||||||
|
"user.badges.group.slot.enabled": true,
|
||||||
|
"timezone.settings": "Europe/Amsterdam",
|
||||||
|
"login.screen.enabled": true,
|
||||||
|
"login.endpoint": "${api.url}/api/auth/login",
|
||||||
|
"login.register.endpoint": "${api.url}/api/auth/register",
|
||||||
|
"login.forgot.endpoint": "${api.url}/api/auth/forgot-password",
|
||||||
|
"login.logout.endpoint": "${api.url}/api/auth/logout",
|
||||||
|
"login.health.endpoint": "${api.url}/api/auth/health",
|
||||||
|
"login.check-email.endpoint": "${api.url}/api/auth/check-email",
|
||||||
|
"login.check-username.endpoint": "${api.url}/api/auth/check-username",
|
||||||
|
"login.room_templates.endpoint": "${api.url}/api/auth/room-templates",
|
||||||
|
"login.remember.endpoint": "${api.url}/api/auth/remember",
|
||||||
|
"login.server_key.endpoint": "${api.url}/api/auth/server-key",
|
||||||
|
"login.sso-token.endpoint": "${api.url}/api/auth/sso-token",
|
||||||
|
"login.refresh.endpoint": "${api.url}/api/auth/refresh",
|
||||||
|
"badges.custom.list.endpoint": "${api.url}/api/badges/custom",
|
||||||
|
"badges.custom.create.endpoint": "${api.url}/api/badges/custom",
|
||||||
|
"badges.custom.update.endpoint": "${api.url}/api/badges/custom/%badgeId%",
|
||||||
|
"badges.custom.delete.endpoint": "${api.url}/api/badges/custom/%badgeId%",
|
||||||
|
"badges.custom.texts.endpoint": "${api.url}/api/badges/custom/texts",
|
||||||
|
"account.change-password.endpoint": "${api.url}/api/auth/change-password",
|
||||||
|
"account.change-email.endpoint": "${api.url}/api/auth/change-email",
|
||||||
|
"account.change-username.endpoint": "${api.url}/api/auth/change-username",
|
||||||
|
"login.health.method": "GET",
|
||||||
|
"login.news.url": "${asset.url}/news/news.json",
|
||||||
|
"login.turnstile.enabled": false,
|
||||||
|
"login.turnstile.sitekey": "",
|
||||||
|
"avatar.mandatory.libraries": ["bd:1", "li:0"],
|
||||||
|
"avatar.mandatory.effect.libraries": ["dance.1", "dance.2", "dance.3", "dance.4"]
|
||||||
|
}
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"image.library.notifications.url": "${image.library.url}notifications/%image%.png",
|
||||||
|
"achievements.images.url": "${image.library.url}Quests/%image%.png",
|
||||||
|
"camera.url": "https://MY_DOMAIN.COM/camera/photo",
|
||||||
|
"thumbnails.url": "https://MY_DOMAIN.COM/camera/photo/thumb/%thumbnail%.png",
|
||||||
|
"url.prefix": "",
|
||||||
|
"habbopages.url": "/gamedata/habbopages/",
|
||||||
|
"group.homepage.url": "${url.prefix}/groups/%groupid%/id",
|
||||||
|
"guide.help.alpha.groupid": 0,
|
||||||
|
"chat.viewer.height.percentage": 0.4,
|
||||||
|
"widget.dimmer.colorwheel": false,
|
||||||
|
"avatar.wardrobe.max.slots": 10,
|
||||||
|
"user.badges.max.slots": 5,
|
||||||
|
"camera.publish.disabled": false,
|
||||||
|
"hc.disabled": false,
|
||||||
|
"badge.descriptions.enabled": true,
|
||||||
|
"motto.max.length": 38,
|
||||||
|
"bot.name.max.length": 15,
|
||||||
|
"wired.action.bot.talk.to.avatar.max.length": 64,
|
||||||
|
"wired.action.bot.talk.max.length": 64,
|
||||||
|
"wired.action.chat.max.length": 100,
|
||||||
|
"wired.action.kick.from.room.max.length": 100,
|
||||||
|
"wired.action.mute.user.max.length": 100,
|
||||||
|
"game.center.enabled": false,
|
||||||
|
"catalog.style.new": true,
|
||||||
|
"show.google.ads": false,
|
||||||
|
"loginview": {
|
||||||
|
"images": {
|
||||||
|
"background": "${asset.url}/c_images/reception/stretch_blue.png",
|
||||||
|
"background.colour": "#6eadc8",
|
||||||
|
"sun": "${asset.url}/c_images/reception/sun.png",
|
||||||
|
"drape": "${asset.url}/c_images/reception/drape.png",
|
||||||
|
"left": "${asset.url}/c_images/reception/ts.png",
|
||||||
|
"right": "${asset.url}/c_images/reception/US_right.png",
|
||||||
|
"right.repeat": "${asset.url}/c_images/reception/US_top_right.png"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user