Giter Club home page Giter Club logo

dankboard's Introduction

dankboard

dankboard is a Bukkit scoreboard API for plugin developers. It provides a base way to create scoreboards, assign them to players, and create different 'labels'. Using this library, you can achieve very advantage, and object oriented scoreboard setups, for multiple players, just one, etc. The possibilities are endless. There are a few available examples within this repo (see below), and are not necessary. Aswell, the entire 'frontend' package is an example implementation: while you may use it, it is designed for a specific situation in which I was using it. I suggest making your own implementation of the classes within the 'backend' package.

For examples on how to use this library, see the example package (https://github.com/Shawckz/dankboard/tree/master/src/main/java/com/shawckz/dankboard/example)

The backend package is where all of the XScoreboard library is stores, which provides the base.

I suggest you look at XScoreboard.java and other classes in that package to get an understanding.

** PLEASE NOTE THAT ALL OF THE "DANK" IMPLEMENTATIONS ARE EXAMPLES. FOR MOST USAGES, YOU WILL WANT TO CREATE YOUR OWN IMPLEMENTATIONS OF 'XScoreboardLabel', 'XScoreboardTimer', 'XScoreboard', ETC! **

Most of the "dank" implementations are just examples, while you can use them; I suggest making your own implementations.

Example.java in the example package should help you get started - theres lots of comments in there. ExamplePlayer.java is a simple player object wrapper wherein I am using it to store a Dankboard instance assuming that in that example I am using a per-player scoreboard situation.

Enjoy

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.