LotteryTicket

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

Cover art

LotteryTicket

Somebody requested this on the forums.

Features

  • With the command "/lt" you can get a ticket
  • By doing "/scratch" you consume 1 ticket, and it will open a custom inventory, with the prize in it
  • The inventory can't be closed, until all the items are removed from it
  • Customizable prizes (config file) This includes: maximum amount, that can be won, chance (out of 1000), and the item itself

Commands

  • /lotteryticket - Sends the player a help message about the commands
  • /lt - Gives the player a ticket
  • /scratch - Consumes the ticket in the players hand

Permissions

  • lotteryticket.lt - Allows the player, to use the "lt" command, default: op
  • lotteryticket.scratch - Allows the player, to use the "scratch" command, default: everyone

How to customize the prizes

  1. Go into the lotteryticket folder, and opent the config file (/plugins/LotteryTicket/config.yml)
  2. Copy the basic "diamond" prize and paste it after it (you can delete the original one, if you want to)
  3. Set the arguments to you likings (maxamount: The maximum amount, the player can get; chance: the chance out of 1000, that the player will get this item; material: The item name (Always use capital letters))
  4. Save the config file and exit from it
  5. Done!

How to install

  1. Download the plugin
  2. Start the server
  3. After everything is done, stop the server
  4. Customize the prizes
  5. Start the server again
  6. Done!

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    95490
  • Created
    Oct 9, 2015
  • Last Released File
    Oct 9, 2015
  • Total Downloads
    334
  • License

Categories

Members

Recent Files