From 13fedc4437d1c8c88c31b7c0a93923799f907ff3 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 2 Jul 2020 08:46:23 +1200 Subject: [PATCH] Add more defaults to plugin.yml --- .../commands/libsdisguises/LDUploadLogs.java | 5 ++--- src/main/resources/plugin.yml | 21 ++++++++++++++++++- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java b/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java index eff6fcb1..5acceeb6 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java +++ b/src/main/java/me/libraryaddict/disguise/commands/libsdisguises/LDUploadLogs.java @@ -212,8 +212,8 @@ public class LDUploadLogs implements LDCommand { sender.spigot().sendMessage(builder.create()); } else { sender.sendMessage( - ChatColor.GOLD + "Log: " + latestPaste + "\nConfig: " + configPaste + - "\nDisguises: " + disguisesPaste); + ChatColor.GOLD + "Please provide the three links! Log: " + latestPaste + + "\nConfig: " + configPaste + "\nDisguises: " + disguisesPaste); } } }.runTask(LibsDisguises.getInstance()); @@ -230,7 +230,6 @@ public class LDUploadLogs implements LDCommand { } } - private boolean isTooBig(File file) { return file.exists() && file.length() >= 512 * 1024; } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index d6c1cc67..7f586641 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -154,39 +154,58 @@ permissions: libsdisguises.seecmd.grabhead: true libsdisguises.seecmd.disguiseviewself: description: See the /disguiseviewself command in tab-completion + default: true libsdisguises.seecmd.disguise: description: See the /disguise command in tab-completion + default: true libsdisguises.seecmd.disguiseentity: description: See the /disguiseentity command in tab-completion + default: true libsdisguises.seecmd.disguisehelp: description: See the /disguisehelp command in tab-completion + default: true libsdisguises.seecmd.disguiseplayer: description: See the /disguiseplayer command in tab-completion + default: true libsdisguises.seecmd.disguiseradius: description: See the /disguiseradius command in tab-completion + default: true libsdisguises.seecmd.undisguise: description: See the /undisguise command in tab-completion + default: true libsdisguises.seecmd.undisguiseentity: description: See the /undisguiseentity command in tab-completion + default: true libsdisguises.seecmd.undisguiseplayer: description: See the /undisguiseplayer command in tab-completion + default: true libsdisguises.seecmd.undisguiseradius: description: See the /undisguiseradius command in tab-completion + default: true libsdisguises.seecmd.disguiseclone: description: See the /disguiseclone command in tab-completion + default: true libsdisguises.seecmd.disguisemodify: description: See the /disguisemodify command in tab-completion + default: true libsdisguises.seecmd.disguisemodifyplayer: description: See the /disguisemodifyplayer command in tab-completion + default: true libsdisguises.seecmd.disguisemodifyradius: description: See the /disguisemodifyradius command in tab-completion + default: true libsdisguises.seecmd.disguisemodifyentity: description: See the /disguisemodifyentity command in tab-completion + default: true libsdisguises.seecmd.copydisguise: description: See the /copydisguise command in tab-completion + default: true libsdisguises.seecmd.grabskin: description: See the /grabskin command in tab-completion + default: true libsdisguises.seecmd.savedisguise: description: See the /savedisguise command in tab-completion + default: true libsdisguises.seecmd.grabhead: - description: See the /grabhead command in tab-completion \ No newline at end of file + description: See the /grabhead command in tab-completion + default: true \ No newline at end of file