lordrazen / plugin-utils Goto Github PK
View Code? Open in Web Editor NEWUtils for MC plugins
Utils for MC plugins
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.
Create a good way to handle GUI items with standard methods. Maybe therefor have a look at BossShop or the ArmorstandEditor Plugin
Implement Logger Class.
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.