diff --git a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/TrustedPlugin.java b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/TrustedPlugin.java index bf0b3d4..ab7791c 100644 --- a/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/TrustedPlugin.java +++ b/src/main/java/land/chipmunk/chayapak/chomens_bot/plugins/TrustedPlugin.java @@ -40,6 +40,13 @@ public class TrustedPlugin extends PlayersPlugin.PlayerListener { public void playerJoined (MutablePlayerListEntry target) { if (!trusted.contains(target.profile().getName())) return; + bot.chat().tellraw( + Component.empty() + .append(Component.text("Hello, ").color(NamedTextColor.GREEN)) + .append(Component.text(target.profile().getName()).color(NamedTextColor.GOLD)) + .append(Component.text("!").color(NamedTextColor.GREEN)) + ); + broadcast( Component.translatable( "Trusted player %s is now online",