Nick Hider Module
Overview
The Nick Hider module allows you to interact with the Nick Hider mod.
- Pass in a nickname you want to hide for the user.
Integration
Sample Code
Explore each integration by cycling through each tab, to find the best fit for your requirements and needs.
Override a Nick
public void overrideNickExample(Player viewer) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.nickHiderModule.overrideNick(apolloPlayer, "Notch"));
}
Reset a Nick
public void resetNickExample(Player viewer) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(this.nickHiderModule::resetNick);
}