PvP Info
Displays various PvP statistics
Integration
How to toggle the mod
public void togglePvPInfoExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModPvpInfo.ENABLED, value));
}Available options
-
ENABLED- Config Key:
enabled - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key:
-
RESET_ON_WORLD_CHANGE- Config Key:
reset-on-world-change - Values
- Type:
Boolean - Default:
false
- Type:
- Config Key: