IDLogger

IDLogger

120 Downloads

This is an API that creates a table in a MySQL or SQLite database, as configurable through the config.yml

The logo I picked for this project is entirely random. Pls dont judge I'm not a graphic designer :(

Dependency for:

  vShop Remastered

To use the API:

Add the jar file to your build path.

Use the following line below to import:

import me.arifBanai.idLogger.IDLogger;

Define the IDLogger instance as such:

IDLogger idLogger = (IDLogger) Bukkit.getPluginManager().getPlugin("IDLogger");

 There are but two methods that should be used

public String getNameByUUID(String playerUUID)
public String getUUIDByName(String playerName)

The UUID's and Names are stored as Strings and returned as Strings. If you want to convert a String playerUUID into an actual UUID, you should use:

java.util.UUID.fromString(String UUID)

When using the plugin on a server:

Run the server once with the plugin installed to generate the config.yml

Edit the config.yml to connect to your MySQL database or to use SQLite.

Everything should work as normal. However, if you encounter issues or have some feedback, leave a comment or send me a message!