Skip to content

Installation

Make sure you have Vault + an economy plugin installed, and a MySQL/MariaDB database with credentials ready.

  1. Drop dLottery-1.2.jar into plugins/.
  2. Start the server once to generate the config files, then stop it.
plugins/dLottery/
β”œβ”€β”€ settings.yml # lottery behaviour (round length, price, tax, VIP tiers)
β”œβ”€β”€ database.yml # MySQL connection
└── messages.yml # player-facing text

Edit plugins/dLottery/database.yml with your MySQL credentials:

enabled: true
type: MYSQL
host: localhost
port: 3306
database: dlottery
username: root
password: ""

See database.yml.

Edit plugins/dLottery/settings.yml β€” round duration, ticket price, tax, VIP ticket caps and reminders. See settings.yml.

Start the server. The schema is created automatically from schema-mysql.sql on first connect, and a round opens immediately. Verify with:

/lottery

Next: the Quick Start.