mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-30 01:34:45 +00:00
Online editor + auto deployment/releases (#264)
* 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
This commit is contained in:
1 parent
4697f06163
commit
c8c5a04a59
224 files changed
+2041
-388
No files matched your search
@@ -5,6 +5,20 @@
|
||||
BetterRTP-Addons is a paid resource, adding optional middleware to BetterRTP to help financially support the developement of BetterRTP.
|
||||
But this can be compiled free of charge if you know how to compile maven resources!
|
||||
|
||||
## Web configuration editor
|
||||
|
||||
[Open the BetterRTP Addons editor](https://www.minecentral.net/editor/betterrtp-addons) to start with defaults or upload config.yml. Edit addon toggles, menus, command lists, and flashback warnings. Install the matching updated BetterRTP JAR too: Addons shares its editor bridge.
|
||||
|
||||
1. Run `/rtp addons editor` on your server and open the private link it returns.
|
||||
2. Edit the form or YAML and choose **Save and get sync command**.
|
||||
3. Run `/betterrtp addons editorsync <token>` in Minecraft to apply that saved version.
|
||||
|
||||
Console and players with `betterrtp.addon.editor` (default: op) can use both commands. No account or premium is required for editing, downloading, or command sync. Upload links last 24 hours; each sync command works once and expires after 15 minutes. Keep links and commands private.
|
||||
|
||||
Sync validates config.yml, saves a backup in `editor-backups`, then replaces the file and reloads the plugin. Nothing changes until the sync command runs. If reload fails after writing, the new file remains in place and Minecraft reports the error.
|
||||
|
||||
Shared behavior, deployment, and verification are documented in the [webapp repository](https://github.com/RonanPlugins/BetterRTP-Webapp/blob/main/docs/web-editor.md#addons-deployment).
|
||||
|
||||
## Where's the Lang files?/Want to Contribute translating?
|
||||
All language files are located [here](src/main/resources/lang)
|
||||
feel free to fork one of the language files and help translate!
|
||||
@@ -28,3 +42,5 @@ The wiki is available [here](../../../wiki)!
|
||||
<br/>
|
||||
<b><i><a href="https://www.spigotmc.org/resources/authors/superronancraft.13025/">Check out my other plugins!</a></i></b>
|
||||
</p>
|
||||
|
||||
Build both BetterRTP and Addons together by running `mvn clean package` from the parent BetterRTP directory. Both finished JARs are written to the parent directory’s `dist/` folder.
|
||||
Reference in new issue
Block a user