Log file name on startup

This commit is contained in:
libraryaddict 2020-07-17 13:42:50 +12:00
parent 976357aa28
commit 35c1882164

View File

@ -94,6 +94,8 @@ public class LibsDisguises extends JavaPlugin {
YamlConfiguration pluginYml = ReflectionManager.getPluginYAML(getFile()); YamlConfiguration pluginYml = ReflectionManager.getPluginYAML(getFile());
buildNumber = StringUtils.stripToNull(pluginYml.getString("build-number")); buildNumber = StringUtils.stripToNull(pluginYml.getString("build-number"));
getLogger().info("File Name: " + getFile().getName());
getLogger().info("Discovered nms version: " + ReflectionManager.getBukkitVersion()); getLogger().info("Discovered nms version: " + ReflectionManager.getBukkitVersion());
getLogger().info("Jenkins Build: " + (isNumberedBuild() ? "#" : "") + getBuildNo()); getLogger().info("Jenkins Build: " + (isNumberedBuild() ? "#" : "") + getBuildNo());