![[IMG]](//proxy.spigotmc.org/cd41e6665bcfb75989631a9e916492a69d9eb63d/68747470733a2f2f692e696d6775722e636f6d2f7233365863574e2e706e67)
mGiveaway
DISCORD MINECRAFT GIVEAWAY PLUGIN
Boost your server community with exciting giveaways!
mGiveaway seamlessly integrates Discord and Minecraft,
allowing you to create engaging giveaways, set custom rewards,
and automatically deliver prizes to winners in-game.
![[IMG]](//proxy.spigotmc.org/967bfdf5c42142a26cc9dcabf10d7f63380a111e/68747470733a2f2f692e696d6775722e636f6d2f7a49364357715a2e706e67)
- Discord Integration: Slash commands for easy giveaway creation & management in Discord.
- Automated Giveaways: Schedule start/end times for fully automated giveaways.
- Configurable Requirements: Permissions, Groups/Roles (Vault), PlaceholderAPI values.
- In-Game Rewards: Automatic execution of commands for winners.
- Customizable Embeds: JSON configuration for rich Discord embed messages.
- Dynamic Placeholders: Embeds update with time left, entries, winners, etc.
- Giveaway Reminders: In-game broadcasts to notify players.
- Statistics Tracking: Track entries and wins.
- Extensive Text Config: config.yml for messages, UI text, etc.
- Update Checker: In-game notifications for new versions.
![[IMG]](//proxy.spigotmc.org/bfcfa6e8fd65cddff089e9fc2ada07d0ccb43ab3/68747470733a2f2f692e696d6775722e636f6d2f66654c7038556a2e706e67)
- Spigot: 1.17+ [Paper recommended]
- PlaceholderAPI: 2.11.6+
- Vault: 1.7+
![[IMG]](//proxy.spigotmc.org/6acd8db09822f4a02c640378ceaa20b50572a957/68747470733a2f2f692e696d6775722e636f6d2f7a51464f4e6d472e706e67)
- Download & Install: Get mGiveaway-VERSION.jar from GitHub Releases and place in /plugins folder.
- Restart your server
- Configure Discord Bot in config.yml:
- Create Bot at Discord Developer Portal.
- Get Bot Token ("Bot" tab).
- Paste Token into discord.bot.token in plugins/mGiveaway/config.yml
- Configure config.yml
- Reload Plugin: Use /mgwreload or restart server.
![[IMG]](//proxy.spigotmc.org/2d74a2b1ee6b48d7349586d4a565d62cb081c511/68747470733a2f2f692e696d6775722e636f6d2f6d57373953414d2e706e67)
Use [/create_giveaway] (default) to create giveaways.
Code (Text):
/create_giveaway name:<giveaway_name> prize:<prize_description> minecraft_prize:<minecraft_prize_placeholder> duration:<duration_string> winners:<number_of_winners> command:<reward_command> requirements:<true/false>
- name: Internal giveaway name.
- prize: Formatted prize description (Discord).
- minecraft_prize: Plain-text prize (in-game broadcast).
- duration: Duration string (e.g., 2d 30m).
- winners: Number of winners.
- command: First reward command (%player% placeholder).
- requirements: OPTIONAL: true/false (if the giveaway start should wait for requirements)
FOR GIVEAWAY AND GIVEAWAY END EMBEDS:
{TIME-LEFT}, {END-TIME}, {ENTRIES}, {WIN-COUNT},
{PRIZE}, {WINNERS}
FOR LOG EMBED
{GIVEAWAY-NAME}, {ENTRIES-COUNT}, {PRIZE}, {COMMANDS},
{WINNERS-MENTIONS}, {ENTRIES-LIST}
After making any changes to the
config.yml file, remember to use
/mgwreload
Sometimes, the plugin pauses itself
because of runtime errors. To fix it use /mgwreload
![[IMG]](//proxy.spigotmc.org/fc1f5badd19a5ca910f95c6f9e54a9b1cf8152a0/68747470733a2f2f6273746174732e6f72672f7369676e6174757265732f62756b6b69742f6d47697665617761792e737667)