A Minecraft plugin which is used for tickets.
- Download the least release and put it into the "plugins" folder
- Run the server
- Use /linkdb in game to link MySql
- Edit config.yml to change other behaviors of the plugin
- About the vendor machine:
- First line: [ticket]
- Second line: Get card: Get your spud++!; charge: Charge your spud++!; check balance:Check money left
- About the gate:
- First line: [gate]
- Second line: Station number ("line serial:station serial", eg: "1.01")
- Third line: Direction, structure: put a block behind the sign, and place oak fence gate in its left or right. left: <-; right: ->
- Forth line: Operation, Get in: in; Get out:out
- Please use /linkdb only as the username and the password of the database is stored encrypted.
- Use the signs by left click, if you need to destroy it, please run /breaksign, and /donebreaksign after finished.
- We use "ticket" table to store the information of the card, and "deals" to store the uses of the card (get in, get out, charge).
- The usage of the sign:
- About build versions (from v1.1): (1)min: Only include compiled files of the plugin. (2)complete: include compiled files of both the plugin and the md5 algorithm.(use this when min version does not work)
- The charging system will genarate commands with unrecognizable suffix.
- Give card out automatically
- Automatically pay while getting out
- Limit the player to get in if the balance is below 10
- Use Vault to manage the balance
- Different cost to different distance
- Refund
- Single journey ticket
- Automatically remove cards which dose not have any operation of a period of time and have a balance of 0
- Fork the repository
- Commit your code
- Create Pull Request