diff --git a/README.md b/README.md index 3fe5947..d505685 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # HeadDB [![](https://jitpack.io/v/TheSilentPro/HeadDB.svg)](https://jitpack.io/#TheSilentPro/HeadDB)
-Thousands of heads in one plugin! +Database with thousands of heads in one plugin! # Downloading You may download it either via the [Releases Page](https://github.com/TheSilentPro/HeadDB/releases) or [Spigot](https://www.spigotmc.org/resources/free-headdb-head-database.84967/). @@ -9,5 +9,4 @@ You may download it either via the [Releases Page](https://github.com/TheSilentP You may report issues on the [Issue Tracker](https://github.com/TheSilentPro/HeadDB/issues). # API -All API methods can be found in the [HeadAPI](https://github.com/TheSilentPro/HeadDB/blob/master/src/main/java/tsp/headdb/core/api/HeadAPI.java) class.
-Alternatively you may view the [javadocs](https://javadocs.pages.dev/headdb/4.0.0/tsp/headdb/api/HeadAPI). +All API methods can be found in the [HeadAPI](https://github.com/TheSilentPro/HeadDB/blob/master/src/main/java/tsp/headdb/core/api/HeadAPI.java) class.
\ No newline at end of file diff --git a/pom.xml b/pom.xml index dc0e6f2..ab1b66e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ tsp.headdb HeadDB - 5.0.0-rc.3 + 5.0.0-rc.4 jar HeadDB @@ -67,7 +67,7 @@ com.google.code.gson gson - 2.10 + 2.10.1 provided diff --git a/src/main/java/tsp/headdb/core/util/HeadDBLogger.java b/src/main/java/tsp/headdb/core/util/HeadDBLogger.java index 190d15c..f8395e8 100644 --- a/src/main/java/tsp/headdb/core/util/HeadDBLogger.java +++ b/src/main/java/tsp/headdb/core/util/HeadDBLogger.java @@ -3,10 +3,11 @@ package tsp.headdb.core.util; import org.bukkit.Bukkit; import tsp.smartplugin.utils.StringUtils; +@SuppressWarnings("unused") public class HeadDBLogger { - + private final boolean debug; - + public HeadDBLogger(boolean debug) { this.debug = debug; } @@ -34,14 +35,14 @@ public class HeadDBLogger { if ((level == LogLevel.DEBUG || level == LogLevel.TRACE) && !debug) { return; } - Bukkit.getConsoleSender().sendMessage(StringUtils.colorize(level.getColor() + "[" + level.name() + "]: " + message)); + Bukkit.getConsoleSender().sendMessage(StringUtils.colorize("&cHeadDB &8>> " + level.getColor() + "[" + level.name() + "]: " + message)); } public boolean isDebug() { return this.debug; } - public static enum LogLevel { + public enum LogLevel { INFO, WARNING, ERROR, @@ -58,5 +59,5 @@ public class HeadDBLogger { }; } } - + }