Update README.md
This commit is contained in:
15
README.md
15
README.md
@@ -1,7 +1,16 @@
|
|||||||
# Load Support
|
# Load Support
|
||||||
Shows when the user has to less Java memory allocated, and plays a sound when the game has loaded.<br>
|
Shows when the user has to less Java memory allocated, and plays a sound when the game has loaded.<br>
|
||||||
It is fully configurable in `config/enoughmemory.toml`
|
It is fully configurable in `config/enoughmemory.toml`.
|
||||||
## Directly Shows a warning message
|
## Directly Shows a warning message
|
||||||

|

|
||||||
## Blocks the title screen
|
## Blocks the title screen
|
||||||

|

|
||||||
|
## Config
|
||||||
|
The config in `config/enoughmemory.toml` is pretty self explainatory:
|
||||||
|
```toml
|
||||||
|
startSound = true
|
||||||
|
minMemory = 4.0
|
||||||
|
errorTitle = "Error: Not enough Java memory!"
|
||||||
|
errorDescription = "Please allocate at least {minMemory} GB of Java memory to your Minecraft Instance! You have currently {currentMemory} GB allocated."
|
||||||
|
```
|
||||||
|
The errorDescription does automatic line breaks. `{minMemory}` and `{currentMemory}` get replaced by their actual values.
|
||||||
|
Reference in New Issue
Block a user