DKLib
a usefull Lib with a lot of helpfull utils
Features:
You don't need any dependencies for this lib! But some classes depends on ProtocolLib (like BubblelessPotionEffect.java ) [look in the javadocs above the class in github, if you want to know if a class depends on Protocollib or not], if you want to use these, you have to install also the plugin ProtocolLib on your server.
For Developers: How to use DKLib in your plugin
First include the jar file as a library and install DKLib to your servers plugin folder. Then add this line to the plugin.yml of you plugin:
For Developers: Example for using the command system
Create a class like this .
Then register the command in your main class like this:
Github (not updated):
https: github.com/michidk/DKLib
a usefull Lib with a lot of helpfull utils
Features:
- Open source on Github
- New Command system: don't need to register the commands in the plugin.yml
- MySQL utils
- Custom events like: PlayerBlockMoveEvent
- Many of other helpfull utils
You don't need any dependencies for this lib! But some classes depends on ProtocolLib (like BubblelessPotionEffect.java ) [look in the javadocs above the class in github, if you want to know if a class depends on Protocollib or not], if you want to use these, you have to install also the plugin ProtocolLib on your server.
For Developers: How to use DKLib in your plugin
First include the jar file as a library and install DKLib to your servers plugin folder. Then add this line to the plugin.yml of you plugin:
Code (Text):
depend: [DKLib]
Create a class like this .
Then register the command in your main class like this:
Code (Text):
CommandManager cm;
@Override
public void onEnable(){
//command test
cm = new CommandManager(this);
cm.registerCommand(new TestCommand(cm));
//add a prefix for usage message, etc. default is ""
cm.PREFIX = "§f[§4TEST§f] ";
}
@Override
public void onEnable(){
//command test
cm = new CommandManager(this);
cm.registerCommand(new TestCommand(cm));
//add a prefix for usage message, etc. default is ""
cm.PREFIX = "§f[§4TEST§f] ";
}
https: github.com/michidk/DKLib
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
DKLib is a free Minecraft Java mod. Downloaded 1,139 times (via Spigot). Download it and open it directly in the game.