mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-29 04:27:46 +01:00
Improved the "successfully-loaded" message
This commit is contained in:
parent
4b4ee1646e
commit
000d556c7f
@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user