Giter Site home page Giter Site logo

framework's Introduction


Framework

licence GitHub commits since latest release (by date) GitHub Workflow Status

An expanded plugin library which allows more effective and rapid plugin development.
Latest version: 2.3.1

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Documentation

https://github.com/Negative-Games/Framework/wiki
https://framework.docs.negative.games/

License

We use the MIT licence for this project. Please read it here.

Metrics Usage

If you would like to help us gather statistical & usage data for Framework via Metrics, please add the following in your onEnable() method:

enableFrameworkUsageTracking()

Maven & Gradle Repositories

✨Maven Repository✨

Repository

<repository>     
    <id>negative-games</id>
    <url>https://repo.negative.games/repository/negative-games/</url>
</repository>

Dependency

<dependency>
      <groupId>games.negative.framework</groupId>
      <artifactId>Framework</artifactId>
      <version>{VERSION}</version>
      <scope>compile</scope>
</dependency>

Build Configuration

Add this to your build configuration for this to work correctly.

<configuration>
  <relocations>
    <relocation>
      <pattern>games.negative.framework</pattern>
      <shadedPattern>{YOUR PACKAGE NAME}</shadedPattern>
    </relocation>
  </relocations>
</configuration>

Example

An example would be:

<configuration>
  <relocations>
    <relocation>
      <pattern>games.negative.framework</pattern>
      <shadedPattern>me.name.myplugin.framework</shadedPattern>
    </relocation>
  </relocations>
</configuration>

To view an example in a full pom, head to this link.

✨Gradle Repo✨

Repository

repositories {
    mavenCentral()
    maven { url 'https://repo.negative.games/repository/negative-games/' }
}

Dependencies

dependencies {
    implementation 'games.negative.framework:Framework:{VERSION}'
}

To mask the dependency, add this to your plugins section

plugins {
    id 'java'
    id "com.github.johnrengelman.shadow" version "7.1.2"
}

And then make a shadowJar section and put the following

shadowJar {
    archiveBaseName.set("${id}-${version}")
    archiveClassifier.set("")
    archiveVersion.set("")
    
    relocate "games.negative.framework", "${group}.libs.plugin"
}

If you are wondering what ${group} and ${id} are, it is this:

def id = "MyPlugin" // Replace with the plugin name
def group = 'games.negative' // Replace with your group id
def version = '1.0-SNAPSHOT' // Replace with the version

Support

For support, join https://discord.negative.games, create an issue card or email us at [email protected].

Feedback

If you have any feedback, please reach out to us at https://discord.negative.games

Authors

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.