Coder Social home page Coder Social logo

personalkits's Introduction

Personal Kits

Rework by MattMX


About

Personal Kits was originally a plugin created by Gatligator aimed at crystal practice servers. The plugin was good and functional, even providing a public kits system. However, the saving system was unoptimized, so I created a simple ID system for kits to use.

We can drastically reduce the kit file's size by using an ID system, where we can instead store a pre-made value's abstract ID instead of the "ItemStack" value. We can then take the stored IDs in a kit and decode them to their respective item that is predefined in the Kit Menu room.

For conciseness, we are storing small integers instead of a lot of strings; The bare minimum needed to save a kit.

How the system works


Installation

Simply download the jar and drop it in your plugins folder. Feel free to look through any code or contact me for support.


Developers

For devlopers, you can clone this repository using JitPack.io!

Maven

First add the Jitpack Repository.

<repositories>
  	<repository>
  	    <id>jitpack.io</id>
  	    <url>https://jitpack.io</url>
  	</repository>
  </repositories>

Then add this project as a dependency

<dependency>
      <groupId>com.github.Matt-MX</groupId>
      <artifactId>PersonalKits</artifactId>
      <version>{tag}</version>
  </dependency>

{tag} Being a tag you can select from here.


Gradle

First add the Jitpack Repository.

  allprojects {
  	repositories {
  		...
  		maven { url 'https://jitpack.io' }
  	}
  }

Then add this project as a dependency

  dependencies {
          implementation 'com.github.Matt-MX:PersonalKits:Tag'
  }

{tag} Being a tag you can select from here.


Feel free to clone and make adjustments how you like, please leave credit to me and Gatligator!

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.