ItemLottery - Server lottery system icon

ItemLottery - Server lottery system -----

Make sure your players are never bored again



[​IMG]

What is is ItemLottery?
Lottery is an innovative plugin that enhances gameplay allows you to create lottery items for eligible admins or optionally for players along with the ability to set cooldown. Along with a system of logs of created lotteries with the possibility to summon items from the finished events. Our plugin offers an extremely simple player randomization system. The randomization process is very user-friendly graphically. Furthermore, the plugin has logs to ensure no information is skipped.

Installation/Configuration
  • Configure the config.yml in the plugin folder
    (>>/plugins/ItemLottery/config.yml)
  • Default configuration is automatically loaded upon startup but after modified you have to restart server.


[​IMG]
Customizable
You can fully customize the plugin to suit your preferences.
  • Plugin prefix
  • Messages
  • Command cooldown

Cooldown
  • If you want, you can set the renewal time for using the lottery created.
  • Set it for the player for the time set in the config.

Winner prize
If you wish, the player who wins the event can receive a reward.
  • You can set rewards in the form of items.


[​IMG]

/lottery create <time> <price count> <winner count> - creates a lottery, which will execute itself after a lapse of time.

/lottery end draw/force - end raffles with or without prize drawing.

/lottery author - information about author.



[​IMG]

lottery.admin - allows to use all admin commands.

lottery.create - permission to create new lottery.

lottery.history - entitles to search lottery history.

lottery.playeruse - player with this permission can create new lottery.

lottery.bypass - entitlement skips cooldown to create new lottery





[​IMG]


Check out our Discord. There you can ask us for any questions and reoprts bugs. https://discord.gg/vnr7HpmR



Code (YAML):
settings :
  #Annoucment on plugin update?
  updateChecker
: true
  #Player can create lottery?
  playerLotteryUse
: false
  #Set player cooldown on use lottery create in seconds
  cooldownTime
: 300

  Messages
:
    Prefix
: "&7[&9Lottery&7]"
    Usage
: "&8» &cUsage: &7/lottery create/history &ftime/logId"
    Permissions
: "&8» &cYou don't have permission!"
    Cooldown
: "&8» &9Cooldown remaining time to create lottery &7%time%"
    LotteryCommandArgs
:
      ItemInHand
: "&8» &cYou must have item in hand!"
      Time
: "&8» &cYou must set lottery time in seconds and time must be longer than 60 seconds!"
      CommandRun
: "&8» &9Is currently on!"
      LogNotFound
: "&8» &9Log is not found!"
      ForeEndBroadcast
: "&8» &9Lottery has been force ended!"
      ForceEnd
: "&8» &9You have completed the lotteries!"
      Error
: "&8» &cSomething's gone wrong"
    Lottery
:
      StartTitle
: "Lottery"
      StartSubTitle
: "&9&lHas been started!"
      StartBroadCastMessage
: "Has been started on %item_name%!"
      BosBarTitle
: "&aTime to lottery&7: %time%"
      Title
: "Lottery win"
      WinMessage
: "You are win the lottery!"
 
Resource Information
Author:
----------
Total Downloads: 233
First Release: Oct 5, 2023
Last Update: Oct 12, 2023
Category: ---------------
All-Time Rating:
1 ratings
Find more info at starify.tech...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings