✨ mGiveaway | DISCORD ➱ MINECRAFT GIVEAWAYS
v0.7.6mGiveaway 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 butto
v0.7.6latestv0.7.6 | Important fixApr 17, 2025 Added a config option to change the wait time before sending theon_joinin game message Fixed a bug where the database file would get locked if there were multiple giveaways saving entries at one timev0.7.5v0.7.5 | Fixed a placeholderApr 12, 2025 Fixed the%prize%placeholder in theon joingiveaway messagev0.7.4Mar 19, 2025 Placeholder %winners% standarized into %win_count% where neededv0.7.3mGiveaway v0.7.3Mar 5, 2025 Messaging update Added global broadcast messages after: - giveaway start - giveaway end Added a personal message to a player when they join the server and there are giveaways activeConfig will automatically update
v0.7.2v0.7.2 - Important fixFeb 27, 2025 Changed update checker interval from 1h to 2h Fixed command giveaway creation (+ improved error handling)v0.7.1v0.7.1 - UpdateCheck improvementFeb 22, 2025 Improved the updatechecker message and added a config option to change it Your config will automatically updatev0.7v0.7 - Feedback-Driven ReleaseFeb 22, 2025 This update focuses on important changes suggested by people because of request - The plugin now works on Spigot! However it's recommended to use Paper - Removed the notification sent to me if I join a server that's using mGiveaway - Reduced jar size by 5MB - Finally got the update checker to work - Added a new bStats chart - Fixed an issue where you had to restart the server to properly load a giveaway - Fixed the mention message error when there were no giveaway entries Propably coming in v0.8: - Free the config.yml file from giveaways - move them entirely to the database -Implement a command for giveaway editing - Improve the config update feature - Improve error handling
v0.6mGiveaway v0.6Feb 17, 2025 Changelog: [https://github.com/m-surowiec/mGiveaway/releases/tag/v0.6](https://github.com/m-surowiec/mGiveaway/releases/tag/v0.6)v0.5.1mGiveaway v0.5.1Feb 7, 2025 Fixed the update checkerv0.5mGiveaway v0.5Feb 2, 2025 mGiveaway v0.5 Changelog - Enhanced Configurability Update
This update focuses on significantly increasing plugin configurability and improving player data handling for a more robust and user-friendly experience. ✨ Features Extensive Text Configurability:* All User-Facing Text Configurable:* Nearly all text displayed to users, both in-game and in Discord, is now fully configurable through theconfig.ymlfile. Translatable Messages:* Server owners can now easily translate all plugin messages into different languages by editing theconfig.yml. Configurable Message Categories:* Messages are organized into logical sections withinconfig.yml(e.g.,messages.discord,messages.in_game,messages.error,discord_command) for easier management and localization. Configurable Discord Command Options:* Descriptions for all Discord slash command options (name, prize, duration, winners, etc.) are now configurable, allowing for customization and localization of command help text. Configurable Button and Modal Text:* Text for Discord giveaway buttons and join modals (titles, input questions, placeholders) are now configurable. Configurable Discord Log Embeds:* The format and content of giveaway log messages sent to Discord are now fully customizable via the newdiscord.bot.log_embedsection inconfig.yml. Asynchronous Offline Player Handling for Requirements:* Non-Blocking Player Lookups:* Implemented asynchronous API calls to fetchOfflinePlayerdata when players are not cached, preventing the main server thread from blocking during requirement checks. Improved Responsiveness:* Plugin remains responsive even when performing player data lookups for offline players, ensuring a smoother user experience, especially during giveaway entry. Callback-Based Requirement Checks:* Utilizes an asynchronous callback mechanism (checkRequirementsAsync) to handle requirement checks and process results efficiently without freezing the server. Automatic Update Checker:* Stay Up-to-Date:* Implemented an automatic update checker that notifies server operators in-game when a new version of mGiveaway is available on GitHub Releases. Easy Updates:* Provides a direct download link to the latest release for easy plugin updates. 📈 Improvements & Enhancements Robust Configuration Loading:* * Improved config loading and update mechanism (ConfigUtil.updateConfig()) to automatically add new configuration options with default values when updating from older plugin versions, ensuring smoother upgrades. * Enhanced configuration file structure with logical sections for messages and Discord command settings for better organization. 🛠️ Technical Changes Refactored Configuration Structure:* * Significantly restructuredconfig.ymlto includemessagesanddiscord_commandsections, centralizing all configurable text elements. 📝 Important Notes Configuration Reset (Recommended): Due to significant changes in `config.yml` structure, it is highly recommended to delete your old `config.yml` file* and allow the plugin to generate a freshconfig.ymlwith all the new configurable messages and sections. This will ensure you have all the new configuration options available. You can then re-enter your previous settings and customize the new messages as desired. Translation Ready:* mGiveaway v0.5 is now significantly easier to translate to other languages. Server owners can translate all user-facing text directly within theconfig.ymlfile. Performance Considerations:* While asynchronous player lookups improve responsiveness, be mindful of excessive giveaway creation and entry frequency, as Mojang API rate limits may still apply under extreme load.v0.4mGiveaway v0.4Feb 1, 2025 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/mgwreloadcommand (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 potentialNullPointerExceptionerrors 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`:* * Setapi-version: '1.13'inplugin.ymlto allow the plugin to be loadable on a wider range of Paper and potentially Spigot servers (API version compatibility). Note:* Whileapi-versionis 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+). * AddressedUnsupportedClassVersionErrorissues 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+)*. Whileapi-versionhas 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/mgwreloadcommand after making changes toconfig.ymlto ensure all settings are properly reloaded and applied.v0.3.1mGiveaway v0.3.1Feb 1, 2025 First modrith release
Similar projects
Plugin →VeinMiner
Mine the whole vein on mining a single ore/block. Make the tedious mining experience to something satisfying and fun! FTB Ultimine alternative
99.3MSueta
Simple Voice Chat
A working voice chat in Minecraft!
76.8MSueta
Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
Chunky
Pre-generates chunks, quickly and efficiently
18.4MSueta
VeinMiner Enchantment
Veinminer Addon - Adds vineminer enchantment to enchanting tables. Only tools with the enchantment can veinmine
18MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta