Lottery Creator puts scratch-off lottery machines on your streets. A player walks up to a machine, buys a ticket and scratches it on screen with the mouse — six hidden squares, the sound of a coin on the card, and the prize paid the moment it is revealed. A machine can stay with the server, or be bought and run by a player as a small business: they set the ticket price, restock it and collect what it earns, while the prizes stay on the house.
Every machine is placed in game. An admin opens /lotterycreator, aims at the spot, and the machine stands there with its blip, its ticket price, the account it charges and the jobs allowed to use it — no coordinates typed. The resource ships its own machine and ticket props, a scratch card interface, a phone app for Quasar Smartphone and 41 languages.
Where to start#
Page | What it covers |
|---|---|
Requirements, download, load order, the database, the scratchcard item, creator access and upgrading. | |
Placing machines, buying and scratching tickets, balancing the prize table, player-owned machines, the phone app and every setting. | |
Frameworks, targets, inventories, money accounts, the phone, adding your own framework, and languages. | |
The creator command, plus the events and callbacks for driving it from your own scripts. | |
What each problem means and how to fix it, and every error code the script returns. |
What it does#
Area | Details |
|---|---|
Lottery machines | Placed in game with a live preview of the prop, each with its own name, model, ticket price, payment account (cash, bank or black money), map blip, and an optional job and grade restriction. |
Scratch cards | A usable inventory item. Six squares under a scratch layer, scratched with the mouse; clear a quarter of the card and the rest reveals itself. The player holds a ticket prop while they play. |
Prize table | Weighted rewards in one list: the label printed on the square, the amount paid and its chance. Every square rolls on its own, and the card pays the total of its winning squares. Cards are drawn on the server. |
Player-owned machines | Bought by players at the machine itself. The owner sets the ticket price within your limits, pays to load ticket stock, collects the earnings, follows sales and revenue, and can sell the machine back. |
Server economy | A commission on every ticket an owned machine sells, a cost per ticket to restock, a limit of machines per player, and prizes paid by the system — an owner never loses money on a winning card. |
Phone app | A Lottery app in Quasar Smartphone: buy tickets from anywhere, scratch them on the phone, see the recent winners, your own history and the odds of every prize. |
Creator | One window to create, edit, search, teleport to and delete every machine on the server, open to admins and to the jobs you choose. |
Languages | 41 translations included, with English filling in any line a translation is missing. |
Driving it from your own scripts? A radial menu can open a machine, a reward script can hand out scratchcards, a server event reports every prize that is claimed, and the phone callbacks let you build the app for another phone. See Commands and Exports.



