Sueta
PR

PrivateLibrary

v1.7.28

Custom Library. A must if you want to use my plugins

·Plugin

WhatIsIt.png

PrivateLibrary is my private API. I use it on every plugin.

It encloses some SuperClass and so much method I (and you, if you want) use. Instead of rewrite everything, I use this. It has no a specified category.

HowToUse.png

Some Methods (from ItemUtils) :

saveInventoryToFile(Inventory inventory);
getInventoryFromFile(String path);
addLore(ItemStack item, String[] lore);
createNewItem(Material material, String name, String[] lore, short data, int amount);
fillInventory(Inventory inventory, ItemStack itemStack, boolean replaceItem, int min, int max);

Some Methods (from FileUtils) :

createFile(Plugin plugin, String fileLocation, String name, boolean replace, boolean pluginFile);
getCustomConfiguration(Plugin plugin, String name, String location);
write(Plugin plugin, String fileName, String string, Object object);

Method (from MainUtils) :

getLag(),
fromArrayToArrayList(Object[] objects),
fromArrayListToArray(ArrayList<Object> list),
getMainUtils();

List of a class which contains only static method:

EntityUtils,
PlayerUtils,
ErrorsUtils,
ItemUtils,
LocationUtils (Beta),
MathUtils,
StringUtils,
MainUtils.

SuperClass (Constructor):
Human (I want to say I didn't create this class. I put into PrivateLibrary because it's really useful. I found it here: https://bukkit.org/threads/spawning-fake-players.261799/),
ItemConstructor (Beta) (Inspired by ItemBuilder),
DynamicScoreboard (Found here: https://www.spigotmc.org/threads/scoreboard-length-problem.42122/),
CustomCommand,
CustomEvent,
Plugin,
LagUtils (It's too easy to find online, I really don't know who created it),

TimerRunner (If you want to use this plugin as library, don't use this class); Installation.png

It's easy:
- Download
- Put it into plugins folder
- Reload / Restart your server

Depends.png

To know more, watch this:

YouTube

PrivateLibrary has no particular depends.
Plugins which is using PrivateLibrary:
- Developing...
- More Soon...

This version is for 1.8.8

If you find any bugs, please report it through pm.
Don't forget to leave a rating

Similar projects

Plugin →