LabyMod Module
What does the "LabyMod module"?
- It shows to your LabyMod friends whenever someone plays on your server:
- It adds support for your Discord friends to join/spectate through your rich presence
Where can I get it?
The module is located in the extras folder in the CloudNet.zip, you just have to put it into your modules folder and restart CloudNet. It will be automatically installed on your proxies.
Configuration
enabled
Enables (or disables) the LabyMod Module (true
/false
)
displayRPG
enabled
Enables (or disabled) the custom rich presence (true
/false
)
Tip
If you disable the custom rich presence, LabyMod will show the default one:
DOMAIN
Ingame
displayType
Configures what should be replaced by the %display%
variable in the format
Here you can find the available DisplayTypes
format
Sets the message shown in the rich presence.
%display%
will be replaced by the value of the chosen displayType
discordJoinMatch
Here you can configure the "Ask to join" button in the Discord rich presence.
enabled
Enables (or disables) the button totally (true
/false
)
excludedGroups
Here you can disable the "Ask to join" button for specific groups.
Example:
"excludedGroups": [
"Lobby",
"Replay"
]
discordSpectateEnabled
Enables (or disables) the "Spectate" button in the Discord rich presence (true
/false
)
excludedSpectateGroups
Disables the "Spectate" button for specific groups.
Example:
"excludedSpectateGroups": [
"Lobby",
"Community"
]
Info
This option is ignored when discordSpectateEnabled
is set to false
gameModeSwitchMessages
In this section you can configure the gamemode swith message:
enabled
Enables (or disables) the gamemode switch message (true
/false
)
displayType
Configures what should be replaced by the %display%
variable in the format
Here you can find the available DisplayTypes
format
Sets the message shown in LabyMod.
%display%
will be replaced by the value of the chosen displayType
loginDomain
This is the domain on which players will be connected when they click the "Ask to join" or
"Spectate" Button in Discord.
After that they will be sent automatically to the specific server by the module.
permissionsConfig
These are permissions that the LabyMod client uses to enable or (force) disable certain modifications
bannerConfig
The URL from this config section is used to display a banner in the LabyMod client
DisplayTypes
The following DisplayTypes are available:
SERVICE
- the name of the service (e.g.Lobby-1
)TASK
- the name of the task (e.g.Lobby
)FIRST_GROUP
- the name of the first group of the serviceLAST_GROUP
- the name of the last group of the service
Sample Configuration
{
"config": {
"enabled": true,
"discordRPC": {
"enabled": true,
"displayType": "SERVICE",
"format": "Playing on %display%"
},
"discordJoinMatch": {
"enabled": true,
"excludedGroups": []
},
"discordSpectateEnabled": true,
"excludedSpectateGroups": ["Lobby"],
"gameModeSwitchMessages": {
"enabled": true,
"displayType": "SERVICE",
"format": "§bCloud§fNet §8➢ §e%display%"
},
"loginDomain": "mc.example.com",
"permissionConfig": {
"enabled": false,
"labyModPermissions": {
"BLOCKBUILD": true,
"CHAT": true,
"GUI_ALL": true,
"ANIMATIONS": true,
"REFILL_FIX": false,
"IMPROVED_LAVA": false,
"CROSSHAIR_SYNC": false,
"GUI_POTION_EFFECTS": true,
"SLOWDOWN": false,
"GUI_ARMOR_HUD": true,
"SATURATION_BAR": true,
"GUI_ITEM_HUD": true,
"TAGS": true,
"RANGE": false
}
},
"bannerConfig": {
"enabled": false,
"bannerUrl": "http://dl.cloudnetservice.eu/data/minecraft/CloudNet-LabyMod-Banner.png"
}
}
}