Giter Club home page Giter Club logo

plugin-utils's People

Contributors

bmack94 avatar lordrazen avatar

Watchers

 avatar  avatar

plugin-utils's Issues

Create Basic Structure

Create the basic infrastructure for the library so it can be implemented in other projects easily.

Add a documentation for this in the Readme file.

GUI Handler

Create a good way to handle GUI items with standard methods. Maybe therefor have a look at BossShop or the ArmorstandEditor Plugin

Logger

Implement Logger Class.

  • Add Plugin Präfix on initialization
  • Create method to post in the log
  • Add documentation about the logger in the Readme

Präfix

Add Präfix to Language Handler.

Care: Präfix only need to be added to chat messages:
-> new method for chat message
OR
-> optional argument "isChatMessage" which adds a präfix.

Rename getMessage() with this issue.

Language Handler

Implement a Language Handler to the utils.

Parameters on initialization:

  • Plugin Logger Instance

  • Language Shortforms (as enums within the utils?)

  • Path to language folder

  • Throw Log Message if the language key is not found

  • Throw Log Message if the language key is valid but the language file is not found

  • As a first start, we can simply takeover the language handler from LCP as it is.


For lateron, we should think about further improvement of the language handler (can be part of a new issue, depending on the effort and our ideas):

https://github.com/LordRazen/armorstand-editor-light/blob/main/src/main/java/com/minecraftheads/ArmorStandEditorPro/utils/Lang.java
=> Language Strings as Enums in the plugin (not the library)?

https://github.com/LordRazen/armorstand-editor-light/blob/main/src/main/java/com/minecraftheads/ArmorStandEditorPro/utils/LangUtils.java
=> Implements methods for Prefix etc as an example

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.