diff --git a/Core/src/main/java/com/plotsquared/core/command/Backup.java b/Core/src/main/java/com/plotsquared/core/command/Backup.java index 5ba71cc03..bf4f47efe 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Backup.java +++ b/Core/src/main/java/com/plotsquared/core/command/Backup.java @@ -322,7 +322,7 @@ public final class Backup extends Command { Template.of("reason", error.getMessage()) ); } else { - player.sendMessage(TranslatableCaption.of("backup_load_success")); + player.sendMessage(TranslatableCaption.of("backups.backup_load_success")); } })); } diff --git a/Core/src/main/java/com/plotsquared/core/command/Grant.java b/Core/src/main/java/com/plotsquared/core/command/Grant.java index a40c45ca8..a80ed4a49 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Grant.java +++ b/Core/src/main/java/com/plotsquared/core/command/Grant.java @@ -124,6 +124,10 @@ public class Grant extends Command { String key = "grantedPlots"; byte[] rawData = Ints.toByteArray(amount); DBFunc.addPersistentMeta(uuid.getUuid(), key, rawData, replace); + player.sendMessage( + TranslatableCaption.of("grants.added"), + Template.of("grants", String.valueOf(amount)) + ); } } }); diff --git a/Core/src/main/resources/lang/messages_en.json b/Core/src/main/resources/lang/messages_en.json index 6229c9752..6c26eb616 100644 --- a/Core/src/main/resources/lang/messages_en.json +++ b/Core/src/main/resources/lang/messages_en.json @@ -471,6 +471,7 @@ "category.command_category_administration": "Admin", "grants.granted_plots": "Result: grants left.", + "grants.added": " grant(s) have been added.", "events.event_denied": " Cancelled by external plugin.",