Skip to content

Server Link Module - Configurable Button Placement - #291

Merged
ItsNature merged 1 commit into
version/1.2.8from
feature/configurable-server-link-button-placement
Jun 18, 2026
Merged

ItsNature merged 1 commit into
version/1.2.8from
feature/configurable-server-link-button-placement

Conversation

@ItsNature

@ItsNature ItsNature commented Jun 17, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

Description:
Adds options to the ServerLink Module that let servers choose where the Server Links button is placed in the pause menu.

Changes:

  • New options:
    • LEGACY_BUTTON_PLACEMENT: (1.7–1.12). Default NEW_ROW.
    • MODERN_BUTTON_PLACEMENT: (1.16.1+). Default REPLACE_REPORT_BUGS.
  • New enums:
    • LegacyServerLinkPlacement: NEW_ROW, REPLACE_ACHIEVEMENTS, REPLACE_STATISTICS
    • ModernServerLinkPlacement: REPLACE_REPORT_BUGS, REPLACE_ACHIEVEMENTS, REPLACE_STATISTICS

Code Example (If applicable):

public void setButtonPlacementExample() {
    // Legacy pause menu (1.7-1.12): NEW_ROW (default), REPLACE_ACHIEVEMENTS, or REPLACE_STATISTICS
    this.serverLinkModule.getOptions().set(
        ServerLinkModule.LEGACY_BUTTON_PLACEMENT, LegacyServerLinkPlacement.REPLACE_ACHIEVEMENTS);

    // Modern pause menu (1.16.1+): REPLACE_REPORT_BUGS (default), REPLACE_ACHIEVEMENTS, or REPLACE_STATISTICS
    this.serverLinkModule.getOptions().set(
        ServerLinkModule.MODERN_BUTTON_PLACEMENT, ModernServerLinkPlacement.REPLACE_STATISTICS);
}

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 type: Documentation Documentation improvement or issue type: Enhancement Feature improvement or addition labels Jun 17, 2026
@ItsNature ItsNature mentioned this pull request Jun 17, 2026
@ItsNature
ItsNature merged commit c081a26 into version/1.2.8 Jun 18, 2026
2 checks passed
@ItsNature
ItsNature deleted the feature/configurable-server-link-button-placement branch June 18, 2026 05:19
ItsNature added a commit that referenced this pull request Jun 27, 2026
ItsNature added a commit that referenced this pull request Jul 1, 2026
* Deploy as `1.2.8-SNAPSHOT`

* Add `ALLOW_DIG_AND_USE` to Combat Module (#290)

* Add CombatModule#ALLOW_ATTACK_AND_USE

* Update supported versions docs for the ALLOW_ATTACK_AND_USE option

* Rename to `allow-dig-and-use` & add anticheat callout

* Update combat.mdx

---------

Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com>

* Add `ServerlinkModule#LEGACY_BUTTON_PLACEMENT` & `ServerLinkModule#MODERN_BUTTON_PLACEMENT` (#291)

* Optimizations (#294)

* Optimize `EventBus#post`

* Optimize packet broadcasting

* Optimize `Option#getKey`

* Optimize `ApolloWorld#getPlayers`

* Optimize `NetworkOptions#sendOption`

* Avoid streams in packet/recipient conversions

* Remove dead repo

* Add `CombatModule#DISABLE_BLOCK_MISS_PENALTY` (#297)

* StaffMod Module Improvements - Add `enabledByDefault` (#296)

* Add `StaffModModule#enableStaffMods(recipients, mods, enabledByDefault)` & `StaffModModule#enableAllStaffMods(recipients, enabledByDefault)`

* Apply changes from optimizations PR

* Feature - Markers Module (#293)

* Add Marker API classes

* Marker Module Impl

* Add examples and docs

# Conflicts:
#	example/bukkit/json/src/main/java/com/lunarclient/apollo/example/json/util/JsonPacketUtil.java
#	example/bukkit/proto/src/main/java/com/lunarclient/apollo/example/proto/util/ProtobufPacketUtil.java

* Rename loot chest example to display block example

* Publish branch

* add marker overview gif

* add overview gif to marker docs

* Relocate compact mode callout

* Remove dead repo

* Update markers gif

* Use apollo-protos 0.2.0

* Apply changes from optimizations PR

* Remove temp publish

---------

Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com>

* Sync LunarClient Mods & Options (#298)

* Sync LunarClient Mods & Options

* Update version tags to 1.2.8

---------

Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>

* Bump to 1.2.8 (#299)

---------

Co-authored-by: Trentin <25537885+TrentinTheKid@users.noreply.github.com>
Co-authored-by: LunarClient Bot <lc-bot@moonsworth.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Documentation Documentation improvement or issue type: Enhancement Feature improvement or addition

Development

Successfully merging this pull request may close these issues.

3 participants