Installation
1. Prerequisites
Section titled β1. PrerequisitesβMake sure you have Vault + an economy plugin installed, and a MySQL/MariaDB database with credentials ready.
2. Generate the config
Section titled β2. Generate the configβ- Drop
dLottery-1.2.jarintoplugins/. - 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 text3. Configure the database
Section titled β3. Configure the databaseβEdit plugins/dLottery/database.yml with your MySQL credentials:
enabled: truetype: MYSQLhost: localhostport: 3306database: dlotteryusername: rootpassword: ""See database.yml.
4. Configure the lottery
Section titled β4. Configure the lotteryβEdit plugins/dLottery/settings.yml β round duration, ticket price, tax, VIP ticket caps and reminders. See settings.yml.
5. Start
Section titled β5. StartβStart the server. The schema is created automatically from schema-mysql.sql on first connect, and a round opens immediately. Verify with:
/lotteryNext: the Quick Start.