Welcome to BetterRTP's repository!

## Web configuration editor [Open the BetterRTP editor](https://www.minecentral.net/editor/betterrtp) to start with defaults or upload config.yml. Edit world settings, teleport ranges, cooldowns, and supported lists. 1. Run `/rtp 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 editorsync ` in Minecraft to apply that saved version. Console and players with `betterrtp.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). ## 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! ## Libraries BetterRTP uses and is compiled with the following libraries: - [ParticleLib](https://github.com/ByteZ1337/ParticleLib) (included) - Particles library by ByteZ1337. Find all supported particles [here](https://github.com/ByteZ1337/ParticleLib/blob/master/src/main/java/xyz/xenondevs/particle/ParticleEffect.java) - [PaperLib](https://github.com/PaperMC/PaperLib) (included) - Library for interfacing with PaperMC specific APIs, used for async chunk loading. - [FoliaLib](https://github.com/TechnicallyCoded/FoliaLib) (included) - Library for interfacing with Folia specific APIs, used for cross-platform timers. ## Build instructions on Ubuntu 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` - 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. The root `pom.xml` aggregates both modules. Core plugin dependencies and build settings live in `BetterRTP-Core/pom.xml`; its sources live in `BetterRTP-Core/src/`. To build only the core plugin, use `mvn -pl :BetterRTP clean package`. Existing `-Deditor.website=...`, `-Deditor.buildSuffix=...`, and `-Pdev` options remain available. ## Where's the Wiki? The wiki is available [here](../../wiki)!

Chat with us on Discord
Discord
Have a Suggestion? Make an issue!
GitHub issues

Thank you for viewing the Wiki for BetterRTP!
Did this wiki help you out? Please give it a Star so I know it's getting use!

Check out my other plugins!

## Shared editor library The web editor uses [BetterSync](https://github.com/RonanPlugins/BetterSync), downloaded by Maven from JitPack as `com.github.RonanPlugins:BetterSync:2.0.0`. No local BetterSync project or manual Maven install is required. Release `2.0.0` is published on JitPack. Update `bettersync.version` in the plugin and editor-test POMs together when upgrading. Shade bundles and relocates the library into the plugin JAR; server owners do not install a separate BetterSync plugin. The plugin retains its scheduler, permissions, reload callbacks, and filtered `editor.website` setting. Editor transport and configuration validation are maintained in BetterSync. ### Editor schema ownership Each plugin module owns `src/main/resources/META-INF/editor-schema.json` and packages it in its JAR. It describes field types, lists, defaults and form collection hints. BetterSync checks basic types and required sections; it does not enforce business rules such as ranges, material names or relationships between fields. When a stable GitHub release is published, `.github/workflows/publish-editor-schema.yml` attaches the schema from that exact release tag to this repository's release. BetterRTP publishes both Core and Addons schemas. The workflow uses the built-in GitHub token; no cross-repository publishing secret is needed. Release tags must include the workflow and the schema resource. Do not replace a published schema; increment `schemaVersion` when changing field metadata. Website builds discover this repository's latest stable release and download its schema. No plugin checkout or local Maven install is needed. The website uses a build-only token with Contents read access for private repositories. It must be rebuilt after the schema publication workflow succeeds. An unsupported plugin schema version is rejected until the corresponding website build is deployed. Use the website's schema-version database migrations before deploying these clients.