BetterGiveaways 1.0

Simple and easy to use Minecraft giveaway system

  1. kartonixon
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Source Code:
    https://github.com/kartonixon/better-giveaways
    [​IMG]

    Introduction


    A Minecraft Spigot plugin that allows players to create simple giveaways. The winner will always be chosen at random, making the giveaways fair for participants.

    The plugin should work on other Minecraft versions. I will be checking that gradually.


    Commands
    • /giveaway - Does not require any permissions. Joins the ongoing giveaway.
    • /giveaway start - Requires bettergiveaways.manage permission. Starts the giveaway.
    • /giveaway end - Requires bettergiveaways.manage permission. Ends the giveaway and randomly picks a winner.
    • /giveaway list - Requires bettergiveaways.manage permission. Displays a list of players that joined the giveaway.
    Permissions
    • bettergiveaways.manage - default for op
    Configuration

    You can customize almost all messages sent by this plugin in custom.yml file, that generates automagically inside the /plugins/BetterGiveaways folder. Config supports usual Minecraft-style text formatting.

    Code (YAML):
    # ---------------------------------
    # MESSAGES BROADCASTED TO EVERYBODY
    # ---------------------------------

    # Prefix is used only for broadcasted messages
    chat-prefix
    : '&6[&rGIVEAWAY&6]&r '

    giveaway-start
    :
     - '&6&lA NEW GIVEAWAY STARTS RIGHT NOW!!!'
      - '&rUse &6/giveaway&r to join!'

    # Use {winner} to display winner's nickname
    # Use {count} to display number of players that joined the giveaway
    giveaway-end-winner
    :
     - '&6{count} players joined the giveaway. And the winner is... &l{winner}'

    giveaway-end-empty
    :
     - '&6Nobody joined the giveaway :('

    # Use {count} to display number of players that joined the giveaway
    giveaway-on-player-join
    :
     - '&6{count} players currently in the giveaway'

    # In order to prevent flooding the chat, increase every-x-joined
    every-x-joined
    : 5

    # ---------------------------------
    # MESSAGES SENT DIRECTLY TO PLAYERS
    # ---------------------------------

    giveaway-joined
    :
     - '&6You are in the giveaway! Wish you luck!'

    giveaway-already-in
    :
     - '&cYou already joined the giveaway!'

    giveaway-not-found
    :
     - '&cThere are no giveaways currently :('
     

    Contribution

    If you have any issues with this plugin or any ideas on how to improve it, please use GitHub Issues section! Thank you ❤