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:
parent
7bf4346750
commit
81bf64c463
21 changed files with 312 additions and 241 deletions
|
|
@ -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")
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue