Skip to content

Add Refresh (LittleBigPlanet custom server) template - #2121

Open
amp-template-bot[bot] wants to merge 1 commit into
CubeCoders:mainfrom
IceOfWraith:amp-template-bot/1068-refresh-lbp-custom-server-request
Open

amp-template-bot[bot] wants to merge 1 commit into
CubeCoders:mainfrom
IceOfWraith:amp-template-bot/1068-refresh-lbp-custom-server-request

Conversation

@amp-template-bot

Copy link
Copy Markdown
Contributor

Adds a template for Refresh, the LittleBigPlanet custom server, updated for Refresh 3.x, which now stores its data in PostgreSQL. Builds on the draft in Greelan/AMPTemplates dev.

  • Downloads the latest Windows/Linux release from LittleBigRefresh/Refresh, picking the asset with a name regex.
  • New Database settings (host, port, name, user, password) are passed to Refresh through its POSTGRES_CONNECTION_STRING environment variable. The descriptions point users to AMP's PostgreSQL template.
  • bunkum.json (port, binding, external URL, forwarded IP) and refreshGameServer.json (instance name and description, announcement text, URLs, maintenance and read-only modes, registration and login options) are shipped as full default files and mapped with AutoMap. Existing files are never overwritten.
  • BUNKUM_DATA_FOLDER is set to the server folder so all config and data stay inside the instance.
  • Ready matches Refresh's Ready to go! startup line. Refresh only logs it after it connects to the database.

Testing: both rigs went offline partway through setup and were still unreachable after about 40 minutes, so this hasn't been run in AMP yet. Each OS needs a full cycle against a PostgreSQL instance before merging. Checked so far: all JSON files parse, and the release asset names, config keys, environment variable and startup line match Refresh v3.7.2 upstream.

OS Result
Windows ⏭️ skipped: rig unavailable
Linux ⏭️ skipped: rig unavailable

Closes #1068

Based on the Greelan/AMPTemplates dev draft, updated for Refresh 3.x:
PostgreSQL connection settings via POSTGRES_CONNECTION_STRING, shipped
bunkum.json and refreshGameServer.json with AutoMap settings, and
GitHub release download by asset name regex.

Co-Authored-By: amp-template-bot[bot] <357074996+amp-template-bot[bot]@users.noreply.github.com>
@amp-template-bot amp-template-bot Bot mentioned this pull request Nov 22, 2026
5 of 6 tasks
@IceOfWraith

Copy link
Copy Markdown
Collaborator

/bot retest

amp-template-bot Bot added a commit to IceOfWraith/AMPTemplates that referenced this pull request Nov 22, 2026
amp-template-bot Bot added a commit to IceOfWraith/AMPTemplates that referenced this pull request Nov 22, 2026
@amp-template-bot

Copy link
Copy Markdown
Contributor Author

Tested 056d1b3:

OS Result
Windows ✅ pass
Linux ✅ pass

Works on both OSes. With the Database settings pointed at an instance of AMP's PostgreSQL template, Refresh 3.7.2 installed, created and migrated its database, reached Ready on the Ready to go! line, served /api/v3/instance on the assigned port, and stopped cleanly. Changed settings (Instance Name, Maintenance Mode, Read-Only Mode) were written to refreshGameServer.json and took effect. On Linux, AMP assigned a port other than 10061, and bunkum.json and the listener followed it. With the default database user and empty password, Refresh exits with a clear authentication error and AMP marks the instance failed. That's expected.

Optional:

  • The External URL default and placeholder hard-code :10061. When AMP assigns a different port, the default URL is wrong until the user edits it. Consider saying in the description that the port must match the instance's Server Port.

Windows container mode wasn't tested (ContainerPolicy is Supported).

amp-template-bot Bot added a commit to IceOfWraith/AMPTemplates that referenced this pull request Nov 22, 2026
amp-template-bot Bot added a commit to IceOfWraith/AMPTemplates that referenced this pull request Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refresh LBP Custom server request

1 participant