Apollo
Developers
Mods
WorldeditCui

WorldEdit CUI

A client-side user interface for the WorldEdit plugin allowing you to see your selected region in-game in real time.

Integration

How to toggle the mod

public void toggleWorldEditCUIExample(Player viewer, boolean value) {
    Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
    apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModWorldeditCui.ENABLED, value));
}

Available options

  • ENABLED

    • Config Key: enabled
    • Values
      • Type: Boolean
      • Default: false
  • POSITION_ONE_COLOR

    • Config Key: position-one-color
    • Values
      • Type: String
      • Default: #FF0000FF
  • POSITION_TWO_COLOR

    • Config Key: position-two-color
    • Values
      • Type: String
      • Default: #FFFF0000
  • OUTLINE_COLOR

    • Config Key: outline-color
    • Values
      • Type: String
      • Default: #FF00FF00