Skip to content

aecsocket/demeter

Repository files navigation

Demeter banner

1.1.0-SNAPSHOT: build

Provides several features which imitate real-life natural effects, such as seasons, weather types, and temperature.

Features

  • Time dilation for day/night, influenced by season
  • Fully configurable seasons, able to change foliage colour
  • Dynamic climate, determining temperature/humidity at positions in the world
  • Crop fertility based on climate
  • Expanded weather effects like rain, snowstorms, sandstorms
  • ...and everything is able to be exposed in a display e.g. boss/action bar
  • All licensed under GNU GPL v3

Possibly:

  • PAPI support?

Usage

Downloads

Dependencies

Paper

Packages

Using any package from the GitHub Packages registry requires you to authorize with GitHub Packages.

To create a token:

  1. Visit https://github.com/settings/tokens/new
  2. Create a token with only the read:packages scope
  3. Save that token as an environment variable and use that in builds

Note: Never include your token directly in your build scripts! Always use an environment variable (or similar).

Maven

In ~/.m2/settings.xml

<servers>
  <server>
    <id>github-demeter</id>
    <username>[username]</username>
    <password>[token]</password>
  </server>
</servers>

In pom.xml

Repository

<repositories>
  <repository>
    <id>github-demeter</id>
    <url>https://maven.pkg.github.com/aecsocket/demeter</url>
    <snapshots>
      <enabled>true</enabled>
    </snapshots>
  </repository>
</repositories>

Dependency

<dependencies>
  <dependency>
    <groupId>com.github.aecsocket</groupId>
    <artifactId>demeter-[module]</artifactId>
    <version>[version]</version>
  </dependency>
</dependencies>
Gradle

The Kotlin DSL is used here.

When building, make sure the GPR_USERNAME and GPR_TOKEN environment variables are set.

Repository

repositories {
    maven {
        url = uri("https://maven.pkg.github.com/aecsocket/demeter")
        credentials {
            username = System.getenv("GPR_USERNAME")
            password = System.getenv("GPR_TOKEN")
        }
    }
}

Dependency

dependencies {
    compileOnly("com.github.aecsocket", "demeter-[module]", "[version]")
}

Documentation

About

Platform-agnostic weather and season effects

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors