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
- Type:
- Config Key:
-
POSITION_ONE_COLOR
- Config Key:
position-one-color
- Values
- Type:
String
- Default:
#FF0000FF
- Type:
- Config Key:
-
POSITION_TWO_COLOR
- Config Key:
position-two-color
- Values
- Type:
String
- Default:
#FFFF0000
- Type:
- Config Key:
-
OUTLINE_COLOR
- Config Key:
outline-color
- Values
- Type:
String
- Default:
#FF00FF00
- Type:
- Config Key: