mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-01 05:57:54 +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.configuration.Config;
|
||||||
import world.bentobox.bentobox.api.events.BentoBoxReadyEvent;
|
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.Notifier;
|
||||||
|
import world.bentobox.bentobox.api.user.User;
|
||||||
import world.bentobox.bentobox.commands.BentoBoxCommand;
|
import world.bentobox.bentobox.commands.BentoBoxCommand;
|
||||||
import world.bentobox.bentobox.hooks.MultiverseCoreHook;
|
import world.bentobox.bentobox.hooks.MultiverseCoreHook;
|
||||||
import world.bentobox.bentobox.hooks.PlaceholderAPIHook;
|
import world.bentobox.bentobox.hooks.PlaceholderAPIHook;
|
||||||
@ -172,12 +174,9 @@ public class BentoBox extends JavaPlugin {
|
|||||||
isLoaded = true;
|
isLoaded = true;
|
||||||
Bukkit.getServer().getPluginManager().callEvent(new BentoBoxReadyEvent());
|
Bukkit.getServer().getPluginManager().callEvent(new BentoBoxReadyEvent());
|
||||||
|
|
||||||
instance.log("#############################################");
|
User.getInstance(Bukkit.getConsoleSender()).sendMessage("successfully-loaded",
|
||||||
instance.log(instance.getDescription().getFullName() + " has been fully enabled.");
|
TextVariables.VERSION, instance.getDescription().getVersion(),
|
||||||
instance.log("It took: " + (System.currentTimeMillis() - startMillis + "ms"));
|
"[time]", String.valueOf(System.currentTimeMillis() - startMillis));
|
||||||
instance.log("Thanks for using our plugin !");
|
|
||||||
instance.log("- Tastybento and Poslovitch, 2017-2019");
|
|
||||||
instance.log("#############################################");
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -798,3 +798,14 @@ language:
|
|||||||
panel-title: "Select your language"
|
panel-title: "Select your language"
|
||||||
selected: "&aCurrently selected."
|
selected: "&aCurrently selected."
|
||||||
edited: "&aChanged your language to &e[lang]&a."
|
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