Repository navigation
Building and Contributing
Filip Skerik edited this page Nov 15, 2026
·
1 revision
| Module | Purpose |
|---|---|
core/ |
Storage (Database, append-only Migrations, DAOs), crypto (secrets, proxy token signer, TOTP, Argon2id + legacy hashers), AuthService, importers. No Bukkit / Paper / proxy dependencies |
editor/ |
AES-256-GCM Web Editor snapshot / diff engine and relay client |
paper/ |
Paper / Folia plugin: dialogs, Brigadier commands, listeners, config, messages |
velocity/ |
Velocity companion plugin |
bungee/ |
BungeeCord / Waterfall companion plugin |
Requires a JDK that can compile --release 21.
./gradlew build # compile all modules (-Xlint:all -Werror) and run all tests
./gradlew :paper:shadowJar # shaded Paper jar
./gradlew :velocity:shadowJar # shaded Velocity jar
./gradlew :bungee:shadowJar # shaded BungeeCord jar
./scripts/smoke-test.sh # clean Paper boot, checks banner, schema and logs
./scripts/render-assets.sh # regenerate docs/assets and docs/gallery PNGsOutput jars: paper/build/libs/JustLogin-<version>.jar, velocity/build/libs/JustLogin-Velocity-<version>.jar, bungee/build/libs/JustLogin-Bungee-<version>.jar.
Run a dev server: ./gradlew :paper:runServer.
- Java compiled with
-Xlint:all -Werror. - Never use
Bukkit.getScheduler(); use theSchedulerabstraction. All database, hashing and HTTP I/O stays off the main thread. - No hard-coded player text – add keys to
messages_en.yml,messages_cs.ymlandmessages_sk.yml(a test enforces parity). - New config options: bump
config-version, comment them inline, addConfigUpdater.RENAMESentries for renames, and extendConfigUpdaterTestandSettingsTest. -
Migrations.VERSIONSis append-only; never edit an existing block, add a new one and test the upgrade. - Keep the security defaults (sessions off, auto-detect off, fail-closed proxy checks, constant-time comparisons, no passwords in logs) and keep the security tests free of mocks that hide real logic.
- Don't commit secrets (
secrets.key,*.db, real database passwords).
- Open an issue first for larger changes.
- Keep PRs focused, update
CHANGELOG.md, and make sure./gradlew buildand./scripts/smoke-test.shpass. - By contributing you agree your code is licensed under the project's MIT license.
Maintainers tag vX.Y.Z; a GitHub Action builds, runs the smoke test, publishes a GitHub Release (the changelog is the release body) and publishes to Modrinth. Release checklist: docs/RELEASE_CHECKLIST.md.
JustLogin is MIT licensed · justlogin.net · GitHub · Security policy
Getting started
For players
For admins
Reference