▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Lottery

Lottery

Lottery: is a plugin that gives players the opportunity to buy lottery tickets.

574
5

Lottery 1.5.0

release25 сентября 2024 г.

New Features:

Manual or Random Ticket Purchases:

Players can now choose between buying a ticket with a random number or manually entering a number.

Configuration: allow_custom_numbers enables or disables this option.

Commands:

/lt buyticket or /lt bt buys a random ticket. /lt buyticket or /lt bt allows purchasing a ticket with a custom number, if enabled. Configurable Partial Prizes:

A partial prize system is now available, allowing players to win if they partially match the winning number.

Configuration:

partial_prizes.enabled: Enables or disables partial prizes.

partial_prizes.levels: Defines the matching levels and prize percentages based on the number of matching digits.

Example:

partial_prizes: enabled: true levels: - digits: 4 percentage: 20 - digits: 3 percentage: 10 - digits: 2 percentage: 5

Improvements:

Persistent Ticket Storage:

Purchased tickets are now saved in the tickets.yml file, allowing ticket data to persist even after a server restart.

Tickets are automatically loaded and saved when the server starts or stops.

Logging Winners in a Log File:

Every time there's a winner, their name, winning ticket number, and prize amount are recorded in a log file (winners.log).

Logged information:

Winner's name.

Winning ticket number.

Prize amount.

Date of the draw.

Minor Adjustments:

Enhanced Messaging System:

Messages related to ticket purchases, prize notifications, and lottery draws have been improved for clarity and are now customizable via the configuration file.

Added the option to display the remaining time for the draw using the boss bar (BossBar).

Bug Fixes:

Fixed Logic for Draws and Partial Prize Distribution: Improved the logic to prevent a player from receiving multiple partial prizes if they already won a higher matching level.

Partial prizes are now distributed correctly according to the configured percentage for each matching level.

Lottery 1.0.6

release31 мая 2024 г.

Нет описания изменений

Lottery 1.0.5

release27 апреля 2024 г.

Нет описания изменений

Совместимость

Minecraft: Java Edition

1.20.x

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:1 год назад
Обновлён:1 год назад
Главная