Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
Total
xDay Time & Weather Control per World
Summary (Short Description) Independently control the time and weather of each world. Set worlds to always be day, always night, rain-free, and customize all messages with full HEX color support!
Body (Full Description) Tired of unpredictable weather in your lobby? Want to create a mining world that's perpetually dark and storm-free? xDay is the definitive solution. This extremely lightweight and efficient plugin gives you absolute control over the day-night cycle and the weather, all on a per-world basis.
Its intuitive configuration and total message customization make it an essential tool for any server type, from Survival to minigames.
🔥 Partner 10% discount on your purchases on Website
✨ Key Features
✅ Total Per-World Control: The main event! Assign a fixed time and weather to specific worlds (world, world_nether, lobby, etc.) and let the rest run normally.
⚙️ Simple & Intuitive Configuration: Everything is managed from a very easy-to-understand config.yml file. No complex in-game commands needed!
🎨 100% Customizable Messages: Edit every plugin message from messages.yml. Full support for classic Minecraft color codes (&a) and HEX color codes (<#FF5733>) for unique color palettes!
📖 Dynamic Help Menu: Add or remove lines from the help menu directly in the messages.yml file. Tailor the help message to your server!
🚀 Lightweight & High-Performance: Designed to be as efficient as possible, with no impact on your server's performance.
🤝 Developer API: Includes a simple API for other plugins to hook into xDay and get a world's configuration.
⌨️ Command Tab-Completion: The /xday help and /xday reload commands have tab completion for faster use.
🔧 Configuration The plugin generates two configuration files in the /plugins/xDay/ folder.
config.yml
# _________ _____.__
# \_ ___ \ ____ _____/ ____\__| ____
# / \ \/ / _ \ / \ __\| |/ ___\
# \ \___( <_> ) | \ | | / /_/ >
# \______ /\____/|___| /__| |__\___ /
# \/ \/ /_____/
# Hecho con amor por 777 Studios - xPlugins
# Configuración por defecto para mundos que no estén en la lista de abajo.
default-settings:
lock-weather: 'disabled' # Opciones: 'clear', 'rain', 'disabled'
set-time: 'disabled' # Opciones: 'day', 'noon', 'night', 'disabled', o un número (0-24000)
# Configuración para mundos específicos.
worlds:
# Mundo principal normal
world:
lock-weather: 'clear'
set-time: 'day'
# Mundo del Nether
world_nether:
lock-weather: 'disabled'
set-time: 'disabled'
# Mundo del End
world_the_end:
lock-weather: 'disabled'
set-time: 'disabled'
# Ejemplo para un mundo de minería donde siempre es de noche:
# minas:
# lock-weather: 'clear'
# set-time: 'night'
Messanges:
# _____ ____ ____ ___________ |__| ____ ______
# / \_/ __ \ / \ / ___/\__ \ | |/ __ \ / ___/
# | Y Y \ ___/| | \\___ \ / __ \_ | \ ___/ \___ \
# |__|_| /\___ >___| /____ >(____ /\__| |\___ >____ >
# Hecho con amor por 777 Studios - xPlugins
# Usa colores HEX (<#RRGGBB>) o de Minecraft (&a, &b, etc.)
prefix: "<#FFB347> [xDay] "
reload: "<#77DD77>¡La configuración y los mensajes han sido recargados!"
no-permission: "<#FF6961>No tienes permiso para ejecutar este comando."
help-message:
- "&7-----------------&f Ayuda de <#FFB347>xDay &7--------------------"
- ''
- "<#AEC6CF> /xday help <#878787>➛&f Muestra este mensaje de ayuda."
- "<#AEC6CF> /xday reload <#878787>➛&f Recarga la configuración del plugin."
- ""
- "<#C3B1E1>💕 Plugin creado por WillfryDev. 💕"
- ''
- "&7---------------------------------------"
💻 Commands & Permissions /xday help (Alias: /xd)
Description: Displays the configurable help menu.
Permission: xday.help (granted to all by default).
/xday reload
Description: Reloads the config.yml and messages.yml files without a server restart.
Permission: xday.reload (granted to OPs by)
📘 For Developers (API)
xDay includes a static API to make integration with other plugins easy.
1. Add softdepend to your plugin.yml:
YAML
softdepend: [xDay]
2. Access the API in your code:
Java
// Check if xDay is on the server
if (getServer().getPluginManager().getPlugin("xDay") != null) {
// Get the API instance
jn.willfrydev.xday.api.xDayAPI api = jn.willfrydev.xday.xDay.getApi();
// Example Usage
World lobbyWorld = Bukkit.getWorld("lobby");
if (lobbyWorld != null) {
String weather = api.getLockedWeather(lobbyWorld); // Returns "clear", "rain", or "disabled"
String time = api.getLockedTime(lobbyWorld); // Returns "day", "night", etc.
System.out.println("The weather in the lobby is locked to: " + weather);
// You can also force an update
api.forceUpdate(lobbyWorld);
}
}
</details>
Download xDay and take absolute control over your worlds' atmosphere!



