Closed ItsNature closed 8 months ago
Description: The Nick Hider module allows you to interact with the Nick Hider mod.
Code Example:
Override the nick for a specific player
public void overrideNickExample(Player viewer) { Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId()); apolloPlayerOpt.ifPresent(apolloPlayer -> this.nickHiderModule.overrideNick(apolloPlayer, "Notch")); }
Reset the nick for a specific player
public void resetNickExample(Player viewer) { Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId()); apolloPlayerOpt.ifPresent(this.nickHiderModule::resetNick); }
feature/add-module
bugfix/fix-issue
Overview
Description: The Nick Hider module allows you to interact with the Nick Hider mod.
Code Example:
Override the nick for a specific player
Reset the nick for a specific player
Review Request Checklist
feature/add-module
&bugfix/fix-issue
)