From b88f4a0e5c5b2e8e361d96fe4c05cf37d92b6684 Mon Sep 17 00:00:00 2001 From: Misterzym Date: Thu, 28 Jun 2018 14:17:36 +0300 Subject: [PATCH] teeeest --- plugin.yml | 2 +- setspawn/SetSpawn.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin.yml b/plugin.yml index e1c315b..d9df120 100644 --- a/plugin.yml +++ b/plugin.yml @@ -12,7 +12,7 @@ commands: description: Go to the spawn! ssreload: usage: / - description: Reload the config! + description: Reload the config permissions: spawn.set: diff --git a/setspawn/SetSpawn.java b/setspawn/SetSpawn.java index 9d76a08..392a41c 100644 --- a/setspawn/SetSpawn.java +++ b/setspawn/SetSpawn.java @@ -21,6 +21,7 @@ public class SetSpawn extends JavaPlugin implements Listener { public void onEnable() { Bukkit.getPluginManager().registerEvents(this, this); getLogger().info("Spawn has been enabled!"); + getConfig().addDefault("Spawn-Message", "&0[&fСпавн&0]&r: &2Вы на спавне!"); getConfig().addDefault("Set-Spawn-Message", "&0[&fСпавн&0]&r: &eВы установили спавн!"); getConfig().addDefault("No-Spawn-Message", "&0[&fСпавн&0]&r: &cСпавн не установлен!");