Memory Usage
Displays your total and free memory usage.
Integration
How to toggle the mod
public void toggleMemoryUsageExample(Player viewer, boolean value) {
Optional<ApolloPlayer> apolloPlayerOpt = Apollo.getPlayerManager().getPlayer(viewer.getUniqueId());
apolloPlayerOpt.ifPresent(apolloPlayer -> this.modSettingModule.getOptions().set(apolloPlayer, ModMemory.ENABLED, value));
}
Available options
-
ENABLED
- Config Key:
enabled
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
SCALE
- Config Key:
scale
- Values
- Type:
Float
- Default:
1.0F
- Minimum:
0.5F
- Maximum:
1.5F
- Type:
- Config Key:
-
TEXT_SHADOW
- Config Key:
text-shadow
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BRACKETS
- Config Key:
brackets
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
BRACKET_COLOR
- Config Key:
bracket-color
- Values
- Type:
String
- Default:
#FFFFFFFF
- Type:
- Config Key:
-
BACKGROUND
- Config Key:
background
- Values
- Type:
Boolean
- Default:
true
- Type:
- Config Key:
-
STATIC_BACKGROUND_WIDTH
- If this is disabled the background will change size with the text.
- Config Key:
static-background-width
- Values
- Type:
Boolean
- Default:
true
- Type:
-
STATIC_BACKGROUND_HEIGHT
- If this is disabled the background will change size with the text.
- Config Key:
static-background-height
- Values
- Type:
Boolean
- Default:
true
- Type:
-
BACKGROUND_WIDTH
- Config Key:
background-width
- Values
- Type:
Integer
- Default:
56
- Minimum:
46
- Maximum:
62
- Type:
- Config Key:
-
BACKGROUND_HEIGHT
- Config Key:
background-height
- Values
- Type:
Integer
- Default:
18
- Minimum:
10
- Maximum:
22
- Type:
- Config Key:
-
BORDER
- Config Key:
border
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
BORDER_THICKNESS
- Config Key:
border-thickness
- Values
- Type:
Float
- Default:
0.5F
- Minimum:
0.5F
- Maximum:
3.0F
- Type:
- Config Key:
-
BORDER_COLOR
- Config Key:
border-color
- Values
- Type:
String
- Default:
#9F000000
- Type:
- Config Key:
-
BACKGROUND_COLOR
- Config Key:
background-color
- Values
- Type:
String
- Default:
#6F000000
- Type:
- Config Key:
-
TEXT_COLOR
- Config Key:
text-color
- Values
- Type:
String
- Default:
#FFFFFFFF
- Type:
- Config Key:
-
COLOR_BASED_ON_USAGE
- Config Key:
color-based-on-usage
- Values
- Type:
Boolean
- Default:
false
- Type:
- Config Key:
-
LOW_MEM_COLOR
- Config Key:
low-mem-color
- Values
- Type:
String
- Default:
#FFFF0000
- Type:
- Config Key:
-
MED_MEM_COLOR
- Config Key:
med-mem-color
- Values
- Type:
String
- Default:
#FFFFFF00
- Type:
- Config Key:
-
HIGH_MEM_COLOR
- Config Key:
high-mem-color
- Values
- Type:
String
- Default:
#FF00FF00
- Type:
- Config Key: