Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/weihao/itemraffle


https://github.com/weihao/itemraffle

bukkit bukkit-plugin economy server-economy spigot spigot-plugin

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# ItemRaffle

## Description

- IR(ItemRaffle) is a **chance based jackpot** system
- Players can deposit to a pool for a chance to win a prize.
- When the pool drawing timer is up, and let's say there are only two participating players: player Alice and player Bob.
- Player Alice deposits `$100` and player Bob deposits `$100`.
- Total value of the jackpot is `$200`.
- Player Alice has a winning chance of `Player Alice deposit / total value` = `100 / 200 = 50%`.
- Player Bob has a winning chance of `Player Bob deposit / total value` = `100 / 200 = 50%`.

## Why ItemRaffle?

- Players can compete using economy
- Players can win prizes using economy
- Players can get rare and high value items
- Self served way to keep server economy in balance
- Reduce the inflation in the server economy

## Functionality

- Menus
- Commands and Permissions
- Config files
- Language files
- Supports NBT
- Offline player prize delivery
- Auto draw prize
- Auto select next prize
- Unlimited deposit value

## Instructions
- Use `depository.yml` to create pools
- For admins in the game, right click a pool to deposit items.
- For players in the game, left click a pool to deposit money.

## Commands

- /ir help
- /ir menu

## Permission

- itemraffle.admin

## Demo

## Planned
- Show prize item in chat by hover over
- Show more info in past winners
- Engraving the jackpot value to the prize item lore
- Show player head in the deposits

## Links

- [Repo](https://github.com/weihao/itemraffle)
- [Lang](https://github.com/weihao/itemraffle/blob/main/src/main/resources/lang_en.yml)