mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-30 09:44:23 +00:00
Online editor (#267)
* web editor * editor command help * editor sync cmd * removed same user restriction * removed player executed restriction * no server identifier sent to server * editor url updated * config harsher verification + send world names to editor api * no more session controls * addons editor commands * moved rtp to /betterrtp-core to create a better env for maven compiling * bettersync lib * Own core and addon editor schemas with BetterSync validation * Simplify editor metadata and publish core and addon schemas on release * Release core and addons together using their Maven versions * Exclude unavailable ProtocolLib executor snapshot from Addons build * betterrtp compiling * log upload commands fixed - upload to mclo.gs website * Fix deferred player lookups retaining disconnected sessions (#265) * Fix RTP operation retention on cancellation and failure (#266)
This commit is contained in:
1 parent
c8c5a04a59
commit
a9e821497c
35 files changed
+941
-287
No files matched your search
@@ -16,6 +16,12 @@ Sync validates config.yml, saves a backup in `editor-backups`, then replaces the
|
||||
|
||||
Shared behavior, deployment, and verification are documented in the [webapp repository](https://github.com/RonanPlugins/BetterRTP-Webapp/blob/main/docs/web-editor.md).
|
||||
|
||||
## Support log uploads
|
||||
|
||||
The logger, info, and queue upload actions share logs through `https://mclo.gs`. Uploads are manual and use the mclogs JSON API at `https://api.mclo.gs/1/log`. Files larger than 5 MiB are rejected locally. Uploads have connection/read timeouts, and failed or malformed responses show an upload error instead of a broken link.
|
||||
|
||||
No self-hosted log service, DNS setup, account pairing, or API key is required. Logs are uploaded to the third-party mclo.gs service only when the administrator chooses the upload action. Server owners need an updated BetterRTP JAR to use this endpoint.
|
||||
|
||||
## Where's the Lang files?/Want to Contribute translating?
|
||||
All language files are located [here](BetterRTP-Core/src/main/resources/lang)
|
||||
feel free to fork one of the language files and help translate!
|
||||
@@ -31,7 +37,7 @@ BetterRTP uses and is compiled with the following libraries:
|
||||
|
||||
From this directory, run `mvn clean package` to build BetterRTP followed by BetterRTP Addons. Maven resolves Addons against the BetterRTP built in the same run; a separate `install` step is unnecessary.
|
||||
|
||||
- BetterRTP JAR: `dist/BetterRTP-3.6.13.jar`
|
||||
- BetterRTP JAR: `dist/BetterRTP-3.6.15.jar`
|
||||
- Addons JAR: `dist/BetterRTPAddons-1.8.10.jar`
|
||||
|
||||
Both server-ready JARs are collected in `dist/`. `mvn clean` removes each selected plugin’s previous JARs from this folder; intermediate build files stay in `target/`. The `dev` profile still outputs directly to its configured server plugins folder.
|
||||
@@ -89,10 +95,10 @@ Use the website's schema-version database migrations before deploying these clie
|
||||
|
||||
### Automatic Maven releases
|
||||
|
||||
`.github/workflows/release.yml` runs on pushes to `online-editor` (or manually from
|
||||
`.github/workflows/release.yml` runs on pushes to `master` (or manually from
|
||||
that branch). It reads only the Core POM version, builds and verifies BetterRTP Core,
|
||||
runs the editor tests, and publishes a stable GitHub release with exactly one plugin
|
||||
JAR. For the current Core POM the title is `BetterRTP 3.6.13` and the tag is `v3.6.13`.
|
||||
JAR. For the current Core POM the title is `BetterRTP 3.6.15` and the tag is `v3.6.15`.
|
||||
This single-JAR release is compatible with the website's GitHub release importer.
|
||||
|
||||
Both Core and Addons editor-schema JSON files remain attached for the website editor.
|
||||
|
||||
Reference in new issue
Block a user