### Module lifecycle event method Source: https://github.com/cloudnetservice/cloudnet/wiki/Module-API Example of a method that can be called when a module is loaded, started, or disabled, using the @ModuleTask annotation. ```java @ModuleTask(event = ModuleLifeCycle.STARTED) public void enable() { // ... } ``` -------------------------------- ### Tab List Header/Footer Placeholders Source: https://github.com/cloudnetservice/cloudnet/wiki/SyncProxy-module List of available placeholders for customizing the tab list header and footer in the SyncProxy module. ```text %proxy% ---------------------- The name of the proxy the player is connected to %proxy_uniqueId% ------------- The UUID of the proxy the player is connected to %server% --------------------- The name of the server the player is connected to %online_players% ------------- The current amount of online players on the network %max_players% ---------------- The current amount of max players on the network %proxy_task_name% ------------ The name of the task of the proxy the player is connected to %name% ----------------------- The name of the player %ping% ----------------------- The current ping of the player %time% ----------------------- The current time - Format: Hour:Minute:Second %group% ---------------------- The name of the players highest permission group (Only with the CloudPerms module) %prefix% --------------------- The prefix of the players highest permission group (Only with the CloudPerms module) %suffix% --------------------- The suffix of the players highest permission group (Only with the CloudPerms module) %display% -------------------- The display of the players highest permission group (Only with the CloudPerms module) %color% ---------------------- The color of the players highest permission group (Only with the CloudPerms module) ``` -------------------------------- ### Maven Repositories Source: https://github.com/cloudnetservice/cloudnet/wiki/Maven Maven repository configurations for CloudNet releases and snapshots. ```xml cloudnet-releases https://repo.cloudnetservice.eu/repository/releases/ cloudnet-snapshots https://repo.cloudnetservice.eu/repository/snapshots/ ``` -------------------------------- ### Create User Source: https://github.com/cloudnetservice/cloudnet/wiki/Permissions Command to create a new user with a specified password and potency. ```bash perms create user Dytanic pw1234 100 ``` -------------------------------- ### MOTD Placeholders Source: https://github.com/cloudnetservice/cloudnet/wiki/SyncProxy-module List of available placeholders for customizing the Message of the Day (MOTD) in the SyncProxy module. ```text %proxy% ---------------------- The name of the proxy the MOTD has been sent from %proxy_uniqueId% ------------- The uniqueId of the proxy the MOTD has been sent from %task% ----------------------- The name of the task of the proxy the MOTD has been sent from %node% ----------------------- The node of the proxy the MOTD has been sent from is running on %online_players% ------------- The current amount of online players on the network %max_players% ---------------- The current amount of max players on the network ``` -------------------------------- ### LabyMod Emote Configuration Explanation Source: https://github.com/cloudnetservice/cloudnet/wiki/NPC-module Explanation of the LabyMod emote configuration parameters. ```text emoteIds ---------------- A list of LabyMod emote ids which will be played randomly minEmoteDelayTicks ------ The minimum amount of time (in ticks) between the emote-play-sequences maxEmoteDelayTicks ------ The maximum amount of time (in ticks) between the emote-play-sequences onJoinEmoteIds ---------- A list of LabyMod emote ids which will be played randomly to a new joined player playEmotesSynchronous --- If all NPCs should play the same emote ``` -------------------------------- ### Default Configuration Source: https://github.com/cloudnetservice/cloudnet/wiki/LabyMod-Module The default configuration file for the LabyMod module, showing various settings for Discord rich presence, join/spectate buttons, and game mode messages. ```json { "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" } } ``` -------------------------------- ### Sign Layout Placeholders Source: https://github.com/cloudnetservice/cloudnet/wiki/Signs-module A list of all available placeholders that can be used within the SignLayout configuration for the CloudNet Signs Module. These placeholders dynamically display information about the server services. ```text %task% ----------------------- The name of the task of the server on the sign %task_id% -------------------- The id of the service (example: Lobby-1 -> 1) %group% ---------------------- The target group of the sign %name% ----------------------- The name of the service on the sign %uuid% ----------------------- The UUID of the service on the sign %node% ----------------------- The name of the node the service on the sign is running on %environment% ---------------- The environment of the service on the sign %life_cycle% ----------------- The current life cycle of the service on the sign %runtime% -------------------- The runtime of the service on the sign (Normally "jvm") %port% ----------------------- The port of the service on the sign %cpu_usage% ------------------ The current CPU usage of the service on the sign %threads% -------------------- The current amount of threads of the service on the sign %online% --------------------- "Online" or "Offline" %online_players% ------------- The current amount of online players of the service on the sign %max_players% ---------------- The current amount of max players of the service on the sign %motd% ----------------------- The current motd of the service on the sign %extra% ---------------------- The current extra of the service on the sign (can only be set with the API) %state% ---------------------- The current state of the service on the sign (can only be set with the API) %version% -------------------- The server version of the service on the sign %whitelist% ------------------ "Enabled" or "Disabled" - Spigots whitelist ``` -------------------------------- ### Create Group Source: https://github.com/cloudnetservice/cloudnet/wiki/Permissions Command to create a new group with a specified potency. ```bash perms create group Admin 100 ```