Tickets - Get a ticket system for your amusement park or a lottery! Version: v0.5 This plugin is fairly simple. It is a ticket system for your amusement park or whatever you want that use tickets like lottery. You can think of a economy system but not related to money. Features: Can give/take tickets (Admin) Can send tickets Can buy tickets Can check semeone's else ticket amount Can play lottery to win a item! Requirements: This plugin requires Permissions 2.7+ (3.1 compatible) There is support for iConomy/BOSEconomy (To be able to buy tickets) but it is not required The config file changed in 0.5. Please delete your config.yml. A new will be generated. Download here! Source Code The most latest version can always be downloaded here but they can be REALLY buggy! Having problem? Post in the issue manager! Permissions nodes (Move your mouse to reveal the content) Permissions nodes (open) Permissions nodes (close) ticket.give - Ability for admin to give ticket ticket.take - Ability for admin to take ticket ticket.send - Ability to send ticket ticket.check - Ability to check semeone's else ticket amount. ticket.buy - Buy tickets with money ticket.lottery - Access to the lottery system Commands (Move your mouse to reveal the content) Commands (open) Commands (close) /ticket <Name> - Check semeone's else ticket amount /ticket give <Name> <Amount> - Give ticket to semeone (Admin) /ticket take <Name> <Amount> - Take ticket from semeone (Admin) /ticket send <Name> <Amount> - Send ticket to semeone /ticket buy <Amount> - Buy tickets (No amount gives the cost) /ticket lottery <Number> - Win a item with ticket lottery! Configuration file (Move your mouse to reveal the content) Configuration file (open) Configuration file (close) Database.type : Put sqlite for sqlite and mysql for MySQL Database.convert: if set to true, convert your SQLite database to a MySQL database. Ticket.cost : The cost of 1 ticket Lottery.chance : The maximum number semeone can choose Lottery.itemid : The itemid of the item to win. Rest are self explanary. Todo: Ability to create cuboids that tickets are automaticly taken Your ideas! Changelog: Version 0.5 Added a lottery system! Version 0.4.6 Added BOSEconomy support Version 0.4.3 Added SQLite => MySQL convert Old Changelog (Move your mouse to reveal the content) Old Changelog (open) Old Changelog (close) Version 0.4 Added iConomy support Version 0.3.5 Added MySQL support. Version 0.3 Can now check semeone's else ticket Fix: Readded text in /ticket take Version 0.2 Public release Ability to send tickets Version 0.1 Internal release of the plugin (Only on my server) Credits Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler sk89q - Use of his player name finder Tagette - His wonderful template Alta189 - His SQL plugin Any comments/remarks are welcome! This is my actual first java project
New version on his way! New features are: Business support. Have multiple ticket accounts! (60% Missing Adding/Removing a business) Some business can be only for lottery! Each will be able to set his own chance rate and winning item (0%) Possibility to block certain winning items for admin in the config file. (0%) Huge code overhaul for better maintenance You can download that current version <Edit by Moderator: Redacted mediafire url> You need this <Edit by Moderator: Redacted mediafire url> database file[/URL] to work as the layout changed a lot and there is currently no way to make a upgrade. Beware tho, /ticket pay/lottery/buy is not enabled. Also, MySQL is not working.
Last version coming very soon! Just having problem with CommandException handling and everything is good to go!
You should add a feature, so that one can create a gate/door, and when someone tries to get trough it, it will take an given amount of tickets, or deny access if the player does not have enough tickets(or maybe, gives the player a buy option). That would be very useful for, as you say, amusement parks, or in my case, access to my minecart system Edit: Just saw it at your todo list xD
can you make it so you can toggle the lotter/ticket system on and off? in case we use a different lotter plugin like i do
pouvez vous enlevez les bouton pour avoir les commande, car je les vois pas! ^^ ps: you are speak and read french thank's
cant download it keeps on saying oops koopa.virtual-info.eu:8080/job/Tickets/95/com.lebelw$Tickets/artifact/com.lebelw/Tickets/0.5-SNAPSHOT/Tickets-0.5-SNAPSHOT.jar