diff --git a/src/main/java/io/github/ladysnake/blabber/impl/common/BlabberCommand.java b/src/main/java/io/github/ladysnake/blabber/impl/common/BlabberCommand.java index 078aca9b..0d6c471a 100644 --- a/src/main/java/io/github/ladysnake/blabber/impl/common/BlabberCommand.java +++ b/src/main/java/io/github/ladysnake/blabber/impl/common/BlabberCommand.java @@ -64,8 +64,10 @@ private static int startDialogue(ServerCommandSource source, Identifier dialogue int count = 0; for (ServerPlayerEntity player : players) { PlayerDialogueTracker.get(player).startDialogue(dialogue); + source.sendFeedback(new TranslatableText("blabber:commands.dialogue.start.success", dialogue, player.getDisplayName()), true); count++; } + return count; } } diff --git a/src/main/resources/assets/blabber/lang/en_us.json b/src/main/resources/assets/blabber/lang/en_us.json index 7f332de9..7bf3b5af 100644 --- a/src/main/resources/assets/blabber/lang/en_us.json +++ b/src/main/resources/assets/blabber/lang/en_us.json @@ -1,4 +1,5 @@ { "blabber:commands.dialogue.start.invalid": "There is no dialogue with type \"%s\"", + "blabber:commands.dialogue.start.success": "Initiated dialogue \"%s\" for %s", "blabber:dialogue.instructions": "Hover or press [%s]/[%s] to select a choice, then click or press [%s] to confirm it" } \ No newline at end of file diff --git a/src/main/resources/assets/blabber/lang/fr_fr.json b/src/main/resources/assets/blabber/lang/fr_fr.json index 0bacf49b..698b42ef 100644 --- a/src/main/resources/assets/blabber/lang/fr_fr.json +++ b/src/main/resources/assets/blabber/lang/fr_fr.json @@ -1,4 +1,5 @@ { "blabber:commands.dialogue.start.invalid": "Il n'y a pas de dialogue \"%s\"", + "blabber:commands.dialogue.start.success": "Le dialogue \"%s\" a été initié pour %s", "blabber:dialogue.instructions": "Survolez ou utilisez [%s]/[%s] pour sélectionner un choix, puis clickez ou utilisez [%s] pour confirmer" } \ No newline at end of file