For the complete documentation index, see llms.txt. This page is also available as Markdown.

📑CustomOnlineLottery

Configures the automatic lottery among all online players, which drops an item for the winner at a point on the map. Supports up to 24 independent lotteries (Index). The drawn items come from another file (Lottery.txt, from the Event Item Bag system) — here you only configure the schedule, the map, and the extra currency rewards.

Block 0 — times when the lottery triggers

Column

Accepted values

What it is

Index

Number from 0 to 23

The lottery to which this time belongs. There can be multiple lines with the same Index.

Year / Month / Day / DoW / Hour / Minute / Second

Number, or *

Date/time when the lottery happens. * = any value works.

Block 1 — general lottery data

Column

Accepted values

What it is

Index

Number from 0 to 23

The lottery to which this line belongs (only one line per lottery).

Name

Text in quotation marks

Name of the lottery, used in chat announcements.

DropMap

Number

Map where the winner's item will drop.

AlarmTime

Number (minutes)

How long before the lottery that players are notified.

Block 2 — extra currency rewards

Column

Accepted values

What it is

Index

Number from 0 to 23

The lottery to which this line belongs.

WC

Number

Extra WCoinC given to the winner.

WP

Number

Extra WCoinP given to the winner.

GP

Number

Extra Goblin Point given to the winner.

Notes

  • If the lottery is started manually through the GameServer menu (instead of waiting for the time in block 0), the rewards used are always those of Index 0.

  • Unlike CustomEventDrop.txt and CustomQuiz.txt, this file does not have an event duration column — the draw is instantaneous as soon as the scheduled time arrives, there is no configurable time window here.

  • The item actually drawn (which item, level, options) is defined in Lottery.txt of the Event Item Bag system, not in this file.

Last updated