Lottery
[IMG]

High-End Minecraft fun plugin, where players bet own in-game money and one of them can win whole pot. For more information read below.

[IMG]


[IMG]


[IMG]

Java8 is the minimum requirement. You can also use latest versions.
ProfileStorage plugin is available here
ADL (Library) is available here


[IMG]


[IMG]



[IMG]


[IMG]



[IMG]


[IMG]

[IMG]



[IMG]


[IMG]


[IMG]
Config:
Localization:
GUI:
Options:
Provided own placeholders:
  • %lottery_round_draw_in% - Remaining time of the round parsed to digital format.​
  • %lottery_pot_cash_amount% - Total amount of cash in the pot of current round.​
  • %lottery_pot_bonus% - Separated amount of bonus in the pot of current round.​
  • %lottery_pot_ticket_count_summary% - Total count of tickets in the pot of current round.​
  • %lottery_pot_ticket_count_personal% - Player's count of tickets in the pot of current round.​
Personal stats:
  • %lottery_stats_personal_round_participated% - Count of participated rounds.​
  • %lottery_stats_personal_round_won% - Count of won rounds.​
  • %lottery_stats_personal_round_last_when% - Date of last won round.​
  • %lottery_stats_personal_round_last_amount% - Cash amount of last won round.​
  • %lottery_stats_personal_cash_total_won_amount% - Total won cash amount.​
  • %lottery_stats_personal_cash_highest_won_amount% - The highest won cash amount.​
  • %lottery_stats_personal_transaction_spent_amount% - Cash amount spent for tickets.​
  • %lottery_stats_personal_transaction_purchased_ticket% - Count of purchased tickets.​
Do you want another placeholders or places where to support this API? Contact me.
[IMG]

https://wiki.innouniq.com/en/spigot-plugin/lottery


[IMG]

Code (Java):
package com.innouniq.minecraft.Lottery.API;

/**
* Method to get remaining time to draw.
*
* @return Remaining time, or null if round is not running.
*/
(int) LotteryAPI.get().getRemainingTime();

/**
* Method to get parsed remaining time to draw to digital format.
* Format: HH:MM:SS. Where HH represents Hours, MM minutes and SS seconds.
*
* @return Parsed remaining time, or null if round is not running.
*/
(String) LotteryAPI.get().getDigitalFormatOfRemainingTime();

/**
* Method to get parsed remaining time to draw to described format.
* E.g.:
* 1 Hour, 23 Minutes and 10 Seconds
* 1 Hour and 10 Minutes
* 1 Hour
* 10 Minutes
* 30 Seconds
*
* @return Parsed remaining time, or null if round is not running.
*/
(String) LotteryAPI.get().getDescribedFormatOfRemainingTime();

/**
* Creates LotteryGUI. There player can see current round status, purchase tickets or look at personal/summary stats.
*
* @param player Target, whom to open GUI.
*/
(void) LotteryAPI.get().openLotteryGUI(target);


[IMG]

Spoiler: Screenshots
[IMG]


[IMG]


[IMG]


[IMG]


[IMG]

[IMG]

[IMG]

spigot.minecraft.innouniq.com


[IMG]


[IMG]
[IMG]

I want to resolve all problems. So please, do not review the plugin with "Plugin does not work!". At first, please write me message. I will help you
:)


[IMG]
  1. As default at installing this plugin, you agree with sending anonymous analytics data about this plugin to developer. These data could help in future development. There is just collected plugin version, server version and data from options file. Nothing more. Example of collected analytics data are available at https://wiki.innouniq.com/en/spigot-plugin/lottery#analytics
  2. You are NOT allowed to -Redacted- this plugin in any form, including as a part of any software package​
  3. You are NOT allowed to decompile or modify this plugin. If you want add new features, please send me a request.​
  4. You also acknowledge that there will be NO REFUNDS issued and you will not file a chargeback, dispute, or claim through PayPal.​
  5. Do NOT post negative reviews, if you did not try to solve the issue at the discussion! You can also contact me on Discord or via Private Message.​
  6. We reserve the right to change these Terms at any time, and you agree to abide by the most recent version of this​
  7. Terms valid from 18.10.2016. Last update 16.5.2021.​

[IMG]

Development of spigot plugins is my huge passion. I am trying to do my best and fulfill you requests as much as possible. Also at supporting on Discord.

By releasing the resource, story does not end! There are regularly updates and almost nonstop support during the whole resource lifetime.

If you appreciate my time and what I am doing, please support me with a donation at https://ko-fi.com/sobky.


[IMG]
If you like this awesome plugin or this update, you can rate it. Thanks
:)
Author
LeakedSquid
Downloads
186
Views
2,745
Extention type
zip
File size
3.8 MB
Hash
e319ce8ec261ebf670d674ba6e7dee93
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from LeakedSquid

Share this resource

Latest updates

  1. 5.0.0

    5.0.0
Top