Skip to content

Improvement - Additional Staff Mods - #313

Open
ItsNature wants to merge 1 commit into
version/1.3.0from
improvement/extra-staff-mods
Open

ItsNature wants to merge 1 commit into
version/1.3.0from
improvement/extra-staff-mods

Conversation

@ItsNature

Copy link
Copy Markdown
Collaborator

Overview

Description:
Add BHop and Nametags Staff Mods.

Changes:
Added BHOP & NAMETAGS to the StaffMod enum

Code Example (If applicable):

public void enableStaffModsExample(Player viewer) {
    if (!viewer.hasPermission("apollo.staff")) {
        return;
    }

    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.staffModModule.enableStaffMods(apolloPlayer,
        Arrays.asList(StaffMod.XRAY, StaffMod.BHOP, StaffMod.NAMETAGS), true));
}

Review Request Checklist

  • Your code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have tested this change myself. (If applicable)
  • I have made corresponding changes to the documentation. (If applicable)
  • The branch name follows the projects naming conventions. (e.g. feature/add-module & bugfix/fix-issue)

@ItsNature ItsNature added the type: Enhancement Feature improvement or addition label Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Enhancement Feature improvement or addition

Development

Successfully merging this pull request may close these issues.

2 participants