Resource icon

Unmaintained Lottery 1.3

No permission to download

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
The "Unmaintained" prefix is a technical term often used in the development world to signal that a specific piece of code, feature, or a resource is no longer actively managed or updated by its creators. It's similar to a 'Beware' sign on a physical property, warning visitors to proceed with caution.

For instance, if a developer creates a resource for other users to use, but later decides not to continue updating it due to various reasons like time constraints or shifting focus to other projects, they might attach an 'unmaintained' tag to it. This tag serves as a clear indication to other users that while they can still use this resource, they should be aware that it may not be up-to-date with the latest coding standards or security updates.

From a user perspective, an 'unmaintained' tag can help yourself identify resources that may not provide the best experience or security. It signals that the resource in question may have outdated features, potential security vulnerabilities, or bugs that are unlikely to be fixed.
Resource icon
Feel free to join my Discord Server!



This plugin is designed to let players gamble with their points from the ArkShop Plugin.
The winner gets in the config setted percentage of the actual lottery pool
If there are multiple winners this will be splitted up equally


Commands:
/lottery
- Buy yourself a ticket for the current running Lottery

RCON / Console Commands:
startlottery
<ticketPrice> <minutesToRun> <minPlayers>

Configuration:
JSON:
{
    "Interval": 60, // Every 60 seconds it sends "StillOpen" with the remaining time.
    "WinPercentage": 75, // How many percentage of the whole pool the winner(s) should get.
    "AnnounceBuy": false, // Announce in chat that player x has bought a ticket.
    "AutoLottery": {
        "enabled": true, // true = timed lotteries, false = only manually
        "CreatingInterval": 60, // Every 60 Minutes a lottery will be opend
        "TicketPrice" : 100, // ArkShop points cost per ticket
        "MinutesToRun": 5, // 5 Minutes before the lottery winner(s) will be drawn
        "MinPlayers": 1 // Minimum Players for the Lottery to draw a winner
    },
    "Messages": {
        "prefix": "Lottery",
        "StillOpen": "The Lottery is another {} minutes open. Use /lottery to buy a ticket",
        "WinnerMessage": "{} just won the Lottery! ",
        "NotEnoughPlayers": "Not enough players joined the Lottery aborting...",
        "AlreadyRunning": "There is already a Lottery running!",
        "Started": "A Lottery has been started! Ticket price: {} points. Use /lottery to buy a ticket",
        "AlreadyBought": "You've already bought a ticket!",
        "Rolled": "You've rolled a {} Good Luck!",
        "NotEnoughPoints": "You don't have enough points to join the lottery!",
        "NotRunning": "There is currently no lottery running!",
        "BuyAnnouncement": "{} has bought a ticket!"
    }
}


Upcoming Feature(s):
- No more planned features. If you got any ideas how to improve this plugin please contact me


Dependencies:
ArkShop

Latest updates

  1. added Config

    added missing config file from update before
  2. Hotfix

    Fixed a bug that people could buy a ticket but no one getting drawn
  3. Added features..

    Added: - an option for automatically creating a lottery Note #1: Please replace all of your...

Latest reviews

Is there a reload option for this plugin or does the server need to be restarted every time just to get the plugin to reload.
the plugin is fine but it has several bugs like the prefix that doesn't work no matter how many times you change it, it's still /lottery
Tempest Dedicated Servers
Tebex
Back
Top