▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/✨ mGiveaway | DISCORD ➱ MINECRAFT GIVEAWAYS
✨ mGiveaway | DISCORD ➱ MINECRAFT GIVEAWAYS

✨ mGiveaway | DISCORD ➱ MINECRAFT GIVEAWAYS

mGiveaway is a plugin that allows you to create and manage Discord giveaways from Minecraft. It then automatically rewards the winners in-game. Uses slash commands for easy giveaway creation and button/modal interactions for user-friendly entry.

516
6
Все версииmGiveaway v0.4

mGiveaway v0.4

Release1 г. назад

Список изменений

mGiveaway v0.4 Changelog

This update focuses on adding essential administrative features and improving plugin robustness.

✨ Features

  • /mgwreload Command:
    • Server administrators can now use the /mgwreload command (permission: mgiveaway.reload) to gracefully reload the plugin in-game.
    • This command allows reloading the plugin's configuration, Discord bot connection, and giveaway tasks without requiring a full server restart.
    • Useful for applying configuration changes, especially for Discord bot settings and giveaway definitions, without server downtime.

🐛 Bug Fixes and Improvements

  • Improved Plugin Robustness:

    • Implemented better null checks throughout the plugin to prevent potential NullPointerException errors and improve overall stability.
    • Enhanced error handling, particularly in areas involving Discord API interactions, Vault, PlaceholderAPI, configuration loading, and database operations.
    • Plugin now pauses giveaway processing and logs severe errors to console if critical issues are detected (e.g., database connection failure, missing required config values). Users are prompted to reload the plugin to attempt recovery.
    • Addressed potential issues where plugin might not function correctly after configuration changes, especially related to Discord bot settings.
  • Enhanced Configuration Handling:

    • Improved handling of missing or invalid configuration values during plugin startup and reload.
    • Replaced reliance on "XXX" placeholder default values with more robust null handling and warnings for unset critical configuration options.

🛠️ Technical Changes

  • Lowered api-version in plugin.yml to 1.13:
    • Set api-version: '1.13' in plugin.yml to allow the plugin to be loadable on a wider range of Paper and potentially Spigot servers (API version compatibility).
    • Note: While api-version is lowered for load compatibility, the plugin is still designed and tested primarily for Paper servers running Minecraft 1.17 and higher. Functionality on significantly older versions is not guaranteed.
  • Compiled with Java 17 JDK:
    • Plugin is now compiled using Java 17 JDK to ensure compatibility with Java 17 and newer Java Runtime Environments, which are common for modern Minecraft servers (including Paper 1.17+).
    • Addressed UnsupportedClassVersionError issues encountered when running plugins compiled with newer JDKs on older server versions.

📝 Important Notes

  • Paper Server Recommendation: mGiveaway continues to be designed and optimized for Paper servers (1.17+). While api-version has been lowered for wider load compatibility, best performance and full feature functionality are only guaranteed on Paper servers version 1.17 or higher.
  • Configuration Reload: Use the /mgwreload command after making changes to config.yml to ensure all settings are properly reloaded and applied.

Файлы

mGiveaway-v0.4.jar(24.56 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

v0.4

Загрузчики

Paper
Purpur

Версии игры

1.17–1.21.4

Загрузок

25

Дата публикации

1 г. назад

Загрузил

ID версии

Главная