xDay 图标

xDay

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.5
本资源为搬运资源,原资源地址: https://modrinth.com/mod/xday
资源信息

Minecraft 版本: 1.13 1.13.1 1.13.2 1.14 1.14.1 1.14.2 1.14.3 1.14.4 1.15 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10

平台: bukkit paper spigot

标签: game-mechanics management utility

资源介绍

bannerTotal

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.

✨ 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)

bstats

? 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); } }

Download xDay and take absolute control over your worlds' atmosphere!

下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
CreateBound

价格:0 墨喵币
下载量:0

查看详情
Create: Extended train deco

价格:0 墨喵币
下载量:0

查看详情
Lithium

价格:0 墨喵币
下载量:0

查看详情
Background - Painting

价格:0 墨喵币
下载量:0

查看详情