Commit Graph
45 Commits
Author SHA1 Message Date
NotAlexNoyle 97205b5c8a Point submodules at canonical Gitea repositories 2026-11-01 12:50:58 -05:00
NotAlexNoyle 85f2c48eec Update canonical Gitea links 2026-10-29 09:17:23 -04:00
NotAlexNoyle 18409233ba Exclude CODEOWNERS from language statistics 2026-10-28 15:32:11 -04:00
NotAlexNoyle 9200aa1ed7 Add CODEOWNERS (one staff approval) 2026-10-28 15:32:10 -04:00
NotAlexNoyle f411be36ae Update BkCommonLib API 2026-10-18 15:01:49 -04:00
NotAlexNoyle 33f61a7e9d Update dependencies 2026-10-18 13:10:20 -04:00
NotAlexNoyle 2baf35e35b Store only creative inventories per MyWorlds group and leave survival to MyWorlds 2026-10-02 11:51:32 -04:00
NotAlexNoyleandClaude Fable 5 2dc348ff18 Two-line kts and config comments, refresh README
License headers unchanged. Convert build script banners to // form,
trim config comments to two lines, document commands and permissions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-17 16:17:04 -04:00
NotAlexNoyle 3f6d7bbca2 Fix logic 2026-08-17 10:44:08 -04:00
NotAlexNoyle 2c09c3a6ea Fix region crossing 2026-08-12 07:08:22 -04:00
NotAlexNoyleandClaude Fable 5 d9b4dc94bb Trust pre-validated internal gamemode switches
The LOWEST listener cancelled every disallowed creative switch, including
plugin-driven ones flagged internal, contradicting the comments claiming
internal switches skip the cancel. /gmic and the published policy's
changeGameMode now pre-validate against GameModePolicy before switching,
and the listener trusts internal switches so an authority-approved
restore (Spawn-OG /spawnback) can no longer be self-cancelled.
changeGameMode returns whether the switch stuck.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 08:46:23 -04:00
NotAlexNoyle 4918fa4d3a Fix spawn rules 2026-08-08 10:39:54 -04:00
NotAlexNoyle 9b5bceceed Fix experience rewards with VotingPlugin 2026-08-03 09:27:56 -04:00
NotAlexNoyleandClaude Opus 5 970caf7eaf Require the toggle permission for creative, not just a region
Being inside a creative region was licence enough, so an ordinary player
who reached creative by any other route kept it there. Creative now needs
gamemodeinventories.toggle as well: the permission says who, the region
says where. gamemodeinventories.anywhere still ignores both.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 23:48:45 -04:00
NotAlexNoyleandClaude Opus 5 bdc47e5cd0 Refuse adventure in survival worlds, drop the config defaults map
Adventure was the one gamemode nothing corrected: the policy never
sanctioned it, but no enforcement point acted on that, so it stuck until
the player's next login. onGameModeChange now cancels it in the worlds
listed under restrict_adventure_worlds. Minigame worlds stay off that list
because BuildBattle-OG, Duels-OG, and Spleef-OG put their players in
adventure deliberately.

config.yml is the only description of what this plugin reads. The defaults
map was a second copy of that list in code, kept in step by hand, so the
bundled config.yml is now the schema the deployed one is checked against.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 23:40:08 -04:00
NotAlexNoyleandClaude Opus 5 5ded3f116b Publish GameModePolicy as the single gamemode authority
Region and permission rules were duplicated between this plugin's listener
and every consumer that needed the same answer. GameModePolicy now owns
them, the listener delegates, and the policy is registered with the Bukkit
services manager so other plugins enforce the same rule.

Login is deferred to Spawn-OG when it is installed: it normalizes gamemode
inside a safety transaction that also relocates the player, and forcing
survival underneath it raced that transaction.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 08:39:45 -04:00
NotAlexNoyle a642dea54c Add GameModeInventories.anywhere permission, enhance region messages and region switching behavior 2026-07-27 12:02:06 -04:00
NotAlexNoyle e9dc7932f8 New messages, drop ChatColor API 2026-07-27 11:46:47 -04:00
NotAlexNoyle 9913afdc1a Merge pull request #4 from true-og/agent/restrict-creative-to-worldguard-regions
Restrict creative mode to configured WorldGuard regions
2026-07-24 13:25:30 -04:00
NotAlexNoyle 34bab1ea1a Restrict creative mode to configured regions 2026-07-24 13:20:59 -04:00
NotAlexNoyle ae276e6d26 Configure allowed creative regions 2026-07-24 13:20:15 -04:00
NotAlexNoyle ff5aa3f647 Translate configured color codes 2026-07-24 13:19:55 -04:00
NotAlexNoyle 372b8fb087 Declare WorldGuard creative-region permission 2026-07-24 13:19:35 -04:00
NotAlexNoyle e8bd88e66f Add WorldGuard API dependency 2026-07-24 13:19:25 -04:00
NotAlexNoyle fa561678f6 Spotless formatting 2026-07-24 12:47:49 -04:00
NotAlexNoyle fccc2a224c Merge pull request #3 from true-og/agent/add-gmic-command
Add /gmic creative mode toggle
2026-07-24 12:40:54 -04:00
NotAlexNoyle 12f41844b4 Preserve plugin metadata 2026-07-24 12:39:26 -04:00
NotAlexNoyle 79bab7f408 Implement gmic creative mode toggle 2026-07-24 12:38:56 -04:00
NotAlexNoyle 83db2dfa6a Add gmic command alias and permission 2026-07-24 12:38:19 -04:00
NotAlexNoyle be3a5d5a29 Fix SLF4J once and for all 2026-04-24 11:13:23 -04:00
NotAlexNoyle 316d9466ca Fix SLF4J order 2026-04-24 08:50:26 -04:00
NotAlexNoyle 6b0180912f Fix SLF4J noop warnings 2026-04-23 14:03:57 -04:00
NotAlexNoyle ad9ec1edb8 Fix SLF4J binding 2026-04-23 12:04:39 -04:00
NotAlexNoyle 90f8991290 Release GameModeInventories-OG 2026-04-16 15:02:12 -04:00
NotAlexNoyle 820fdcaacf Copy config file to plugins folder if it does not exist 2026-03-25 10:58:15 -04:00
NotAlexNoyle 170cb092dd Merge pull request #2 from true-og/codex/fix-config-file-reading-and-remove-writing
Load canonical read-only config.yml and stop automatic writes
2026-03-24 11:31:48 -04:00
NotAlexNoyle 92284c7520 Fix config loading to be read-only and file-backed 2026-03-24 11:31:07 -04:00
NotAlexNoyle 04b9c8e839 Formatting 2026-03-23 14:36:28 -04:00
NotAlexNoyle 1386f51859 Merge pull request #1 from true-og/codex/remove-config.yml-modifications
Stop mutating config.yml at runtime
2026-03-23 14:20:56 -04:00
NotAlexNoyle 06e23cf789 Stop mutating config.yml at runtime 2026-03-23 14:20:25 -04:00
NotAlexNoyle 724f01ad74 Add live TrueOG Network config files, update shadow to 8.3.9 2026-03-23 13:54:49 -04:00
NotAlexNoyle bc0a89526e Update gradle to 8.14.3 and shadow to 8.3.6 2025-09-21 08:45:20 -04:00
NotAlexNoyle 232745c824 Maven -> Gradle 2025-07-04 04:17:07 -04:00
NotAlexNoyle 3a360d9dfe Fix build 2024-12-11 07:41:32 -05:00
NotAlexNoyle 6f491fd750 Propose GPLv3 at project root 2023-01-19 15:56:45 -05:00