[ECON] Ticket V0.5 - Get a ticket system for your amusement park or a Lottery!! [953]

Discussion in 'WIP and Development Status' started by greatman, Jul 1, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    greatman

    Ticket - Get a ticket system for your amusement park!
    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!

    Permissions nodes (open)

    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 (open)

    /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 (open)

    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 (open)

    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

    Show 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 :p

    Updated to 0.3

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  2. Offline

    Z-Sonxx

    I think I could really use this plugin on my server, (Aleanweb), but I have some suggestions.

    1. MySQL support! It's soooooo useful for web interfaces!
    2. Pay for tickets
    3. Events in other plugins (Stats and Achievements, Jail, iConomy, mcMMO, anything with a api, MySQL database changes, anything I'm not thinking of)
    4. A 1 in 1000 chance of getting a cake with a ticket.
     
  3. Offline

    greatman

    MySQL support is technicly already added. Just need to test it.

    For the others. I'm gonna check that out.

    EDIT: What do you want to do with those other plugins? convert their info into Tickets?

    Version 0.3.5 released
    • Added MySQL support.

    Version 0.4 released
    • Added iConomy support. You can now /ticket pay tickets.

    Version 0.4.3 released:
    • Added a SQLite => MySQL converter
    Version 0.4.6 released:
    • BOSEconomy support.

    And we got a update to 0.5!:
    • New lottery system is on!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  4. Offline

    Z-Sonxx


    MySQL support? AWESOME

    I want to be able to, say, be able to use a Residence area when they redeem a ticket.

    So one could make a command system that could do a command when they redeem a ticket
    (Check "Command Sign"'s code if your not sure how to do this.)
    OR you could edit a config file when you redeem a ticket? (How could this be hard?)

    Also add ticket redemption. :)

    Tryin to help,

    Zeke
     
  5. Offline

    greatman

    Check my new post (In signature). You will get the latest working version

    EDIT: Direct link: http://forums.bukkit.org/threads/ec...r-your-amusement-park-or-a-lottery-953.25014/
     
Thread Status:
Not open for further replies.

Share This Page