Policies now provide their own checks to whether the player applies or not.

Added GlobalPolicy.

Revamped config YAML structure for more consistency.

Added ChatColor back to commands, should be correctly implemented in the future.

Build environment is now passed to plugin manifest.

Added workflow to automatically build releases.
This commit is contained in:
天クマ 2025-12-15 14:16:07 -03:00
commit 81bf64c463
21 changed files with 312 additions and 241 deletions

View file

@ -4,7 +4,7 @@ plugins {
}
group = "io.github.adrianvic"
version = System.getenv("NEMESIS_VERSION_NAME") ?: "1.0.3-SNAPSHOT"
version = System.getenv("NEMESIS_VERSION_NAME") ?: "unknown"
repositories {
mavenCentral()
@ -77,7 +77,8 @@ mcVersions.forEach { ver ->
manifest {
attributes(
"Nemesis-Impl-Version" to ver
"Nemesis-Impl-Version" to ver,
"Nemesis-Environment" to (System.getenv("NEMESIS_BUILD_CHANNEL") ?: "dev")
)
}