Skip to content

Conversation

@CellFone
Copy link

@CellFone CellFone commented Feb 6, 2025

This pull request adds the NameDetect.java to the cc.aabss.eventutils.commands package, ensuring consistency with the existing command structure. The detectname command allows users to search for player names containing a specified substring within the online player list.

.count();

// Send the result message to the player
source.getPlayer().sendMessage(Text.of("§7Found §4§o§l" + count + "§r§7 player(s) with '" + searchTerm + "' in their name."), false);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output can be changed to fit the style of Event Utils better.

@CellFone CellFone marked this pull request as draft February 6, 2025 18:19
@CellFone CellFone marked this pull request as ready for review February 6, 2025 18:36
@CellFone CellFone marked this pull request as draft February 6, 2025 19:27
@CellFone CellFone marked this pull request as ready for review February 6, 2025 19:27
@srnyx srnyx added the enhancement New feature or request label Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants