Improved the "successfully-loaded" message

This commit is contained in:
Florian CUNY 2019-01-03 18:12:32 +01:00
parent 4b4ee1646e
commit 000d556c7f
2 changed files with 16 additions and 6 deletions

View File

@ -8,7 +8,9 @@ import org.bukkit.plugin.java.JavaPlugin;
import world.bentobox.bentobox.api.configuration.Config;
import world.bentobox.bentobox.api.events.BentoBoxReadyEvent;
import world.bentobox.bentobox.api.localization.TextVariables;
import world.bentobox.bentobox.api.user.Notifier;
import world.bentobox.bentobox.api.user.User;
import world.bentobox.bentobox.commands.BentoBoxCommand;
import world.bentobox.bentobox.hooks.MultiverseCoreHook;
import world.bentobox.bentobox.hooks.PlaceholderAPIHook;
@ -172,12 +174,9 @@ public class BentoBox extends JavaPlugin {
isLoaded = true;
Bukkit.getServer().getPluginManager().callEvent(new BentoBoxReadyEvent());
instance.log("#############################################");
instance.log(instance.getDescription().getFullName() + " has been fully enabled.");
instance.log("It took: " + (System.currentTimeMillis() - startMillis + "ms"));
instance.log("Thanks for using our plugin !");
instance.log("- Tastybento and Poslovitch, 2017-2019");
instance.log("#############################################");
User.getInstance(Bukkit.getConsoleSender()).sendMessage("successfully-loaded",
TextVariables.VERSION, instance.getDescription().getVersion(),
"[time]", String.valueOf(System.currentTimeMillis() - startMillis));
});
}

View File

@ -798,3 +798,14 @@ language:
panel-title: "Select your language"
selected: "&aCurrently selected."
edited: "&aChanged your language to &e[lang]&a."
successfully-loaded: |
&6 ____ _ ____
&6 | _ \ | | | _ \ &7by &atastybento &7and &aPoslovitch
&6 | |_) | ___ _ __ | |_ ___ | |_) | _____ __ &72017 - 2019
&6 | _ < / _ \ '_ \| __/ _ \| _ < / _ \ \/ /
&6 | |_) | __/ | | | || (_) | |_) | (_) > < &bv&e[version]
&6 |____/ \___|_| |_|\__\___/|____/ \___/_/\_\ &8Loaded in &e[time]&8ms.