Totem Counter
Keep track of players' totem usages. Totem pops aren't tracked when the mod is disabled, so toggling it on mid-game could result in a mismatch.
Integration
How to toggle the mod
public void toggleTotemCounterExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModTotemCounter.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SHOW_FOR_SELF
- Config Key:
show-for-self
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
SHOW_TAB_LIST
- Config Key:
show-tab-list
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
FLIP
- Config Key:
flip
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
COUNT_COLOR
- Config Key:
count-color
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
SHOW_NAMETAG
- Config Key:
show-nametag
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
SHOW_PREFIX
- Config Key:
show-prefix
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SEPARATE_NAMETAG
- Config Key:
separate-nametag
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
RENDER_FIRST
- Config Key:
render-first
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
PREFIX_COLOR
- Config Key:
prefix-color
- Values
- Type:
String
- Default:
#FFFFFF55
- Type:
- Config Key: