Skip to content
NordBots.
Back to MiniLottery

MiniLottery configuration editor

Set everything with sliders and toggles, then export your config.json. Your progress saves in this browser as you go. See the docs for what each setting does.

Ready to edit

Templates

Save the current settings as a named template, then load it any time. Stored in this browser.

No templates yet.

General

Debug

Debug: set to true to write extra lines to ArkApi.log. Leave it false for normal play.

Commands

Commands: the word players type. It has sub actions: /lottery show the pot, your tickets, odds, time to draw, and recent winners /lottery buy <n> buy n tickets /lottery verify show the last draw's seed and hash so you can check it was fair

BuyCMD

Lottery

Lottery: the rules.

TicketPrice

TicketPrice: how many ArkShop points one ticket costs. 100 means each ticket is 100 points.

DrawEveryMinutes

DrawEveryMinutes: how often a draw happens, in minutes. 60 means once an hour.

MaxTicketsPerPlayer

MaxTicketsPerPlayer: the most tickets one player can hold in a round. This stops one rich player from owning every draw. 50 is a fair cap. Set to 0 for no cap.

MinPlayers

MinPlayers: the fewest different players needed for a real draw. If fewer than this bought in, the pot rolls over to the next round instead of paying out. 2 means you need at least two players. Set to 1 to always draw when at least one ticket is sold.

HouseCutPct

HouseCutPct: the share the server keeps from the pot. 0.0 means the winner gets the whole pot. 0.1 means the server keeps 10 percent and the winner gets 90.

AnnounceBuys

AnnounceBuys: set to true to tell the whole server when someone buys tickets, to build hype. Set to false to keep buys quiet.

WarnBeforeMinutes

WarnBeforeMinutes: a list of minute marks to shout a reminder before each draw. [10, 1] warns ten minutes and one minute before the draw. Set to [] for no warnings.

RecentWinnersShown

RecentWinnersShown: how many past winners /lottery shows for hype. 3 is a good number.

HistoryKept

HistoryKept: how many past draws to keep on file. 20 is plenty.

PingPayoutAtOrAbove

PingPayoutAtOrAbove: when a payout is this big or bigger, the Discord winner post adds an @here ping. Set very high to never ping.

Permissions

Permissions: gate who can play. Needs Permissions.dll.

Enabled

Enabled: set to true to check Permissions. If off or missing, everyone can play.

UsePermission

UsePermission: leave "" so everyone can play. Set a node to limit the lottery to players who have it.

ArkShop

ArkShop: the points economy. The lottery needs it to charge for tickets and pay the winner.

Enabled

Enabled: set to true to use ArkShop. If off or missing, the lottery can not run.

Discord

Discord: announces winners and rollovers.

Enabled

Enabled: set to true to send Discord posts. Leave false to keep it in game.

WebhookURL

WebhookURL: the Discord webhook for the channel.

Username

Username: the name the webhook posts under.

ServerName

ServerName: shown in the footer. Set it to your server name.