Go to file
Jean28518 461822c160 Updating ReadMe 2019-04-21 16:49:16 +02:00
textures Adding Files 2019-03-24 23:10:34 +01:00
LICENSE.md Adding Files 2019-03-24 23:10:34 +01:00
README.md Updating ReadMe 2019-04-21 16:49:16 +02:00
init.lua Moving from atm Mod to jeans economy 2019-04-21 16:47:22 +02:00
mod.conf Moving from atm Mod to jeans economy 2019-04-21 16:47:22 +02:00
pic1.png Adding Files 2019-03-24 23:10:34 +01:00
pic2.png Adding Files 2019-03-24 23:10:34 +01:00

README.md

Minetest Mod: TicketVendingMachine

This mod depends on the mod Jean's Economy: https://github.com/Jean28518/jeans_economy

How does it work?

In Creative Mode you could place some Ticket Vending Machines. There are two options of a ticket. The first one is valid for 20 Minutes, and the second one is valid for two hours. It can be bought with your money account from the atm mod. You can configure the prices, the expire duration and the name of the ticket in the int.lua easiely.

With /check_ticket <playername> you can check, whether the player has a valid ticket or not.

For Developers:

Whith the function ticket_vending_machine_check_ticket(player) you can also check, if the player has an valid ticket. It returns true, false, or nil, if the player isn't online or doesn't exist.

The Information about a valid ticket is stored in the players meta.

Screenshots:

Pic1

Pic1