mmLottery

Logo

mmLottery

Description

This is a Simple plugin to make a lottery and set a prize to the winner

How to install

To install the plugin, you just need to drag and drop it to your plugins folder, or user 'wget' direct to your plugins folder on Linux!

If you want full funcionality You need to download this -> plugin

Commands

The commands are the following:
  • /mcreatelottery [price]* [numberorword] [prize]** [stack] - Creates a lottery
  • * price only works with you have VAULT installed, price can be '0'
  • ** prize can be money, just put it as 0 and stack as the quantity of money
  • /mlottery [numberorword] - Tries the lottery
  • /mcancellottery - Cancel the lottery

Permissions

  • mmlottery.createlottery
  • mmlottery.trylottery

How to translate the strings

Run the plugin once, close the server, and edit the config.yml file created on your plugins/mmlottery folder.

To-Do list

  • Turn it TRANSLATABLE DONE!
  • Fix the error that allows to use letters on <itemId> and <stack> DONE!
  • Fix the error that allows to use <itemId> that doesn't exists DONE!
  • Command to end the lottery! DONE!
  • Integration with economy DONE!
  • Put a price to try the lottery DONE!
  • Put collored strings DONE!

Changelog

  • 1.0 - Release version
  • 1.1 - Minor bug fix, allow translating through config.yml
  • 1.2 - Fix error that allows to user letters on <itemId> and <stack>
  • 1.3 - Fix the error that allows to use <itemId> that doesn't exists; Command to end the lottery!
  • 1.4 - Integration with economy (VAULT)
  • 2.0 - Re-wrote the code, price to try the lottery, collored strings

Help US!

If you have any ideas, just tell me and I try to merge it with the plugin :D

Servers

--Under Construction-- If your server uses this plugin, send me a PM with the IP Address and the name of the server =D

Special Thanks

Special thanks to guigon121 that gave me some ideas about what to integrate with the plugin!

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of jessejl jessejl Dec 20, 2013 at 21:12 UTC - 0 likes

    IS it possible to alter this plugin so if one person buys a piece of food it enters their name into the lottery by the district they are from and by gender.

  • Avatar of MatheusMarxx MatheusMarxx Mar 28, 2013 at 20:30 UTC - 0 likes

    @roughtoast: Go

    Look you must use the command like that: - /mcreatelottery [price] [numberorword] [prize] [stack]

    Examples:

    MONEY AS PRIZE

    (10 is the price to try the lottery) (water is the correct word) (0 means money) (10000 is the amount of money that the winner will receive) - /mcreatelottery 10 water 0 10000

    ITEM AS PRIZE

    (10 is the price to try the lottery) (lava is the correct word) (264 is the DIAMOND ID) (64 is the amount of DIAMONDS that the winner will receive) - /mcratelottery 10 lava 264 64

    If you need help or special modifications for you just add me on my Skype: matheus.marques131
  • Avatar of roughtoast roughtoast Mar 09, 2013 at 11:51 UTC - 0 likes

    i cant get the drift of the command to set it up plz do tell me properly like a example explaining how also could u make it automated with cash for normal economy plugins and with random numbers between 100-1

  • Avatar of roughtoast roughtoast Mar 09, 2013 at 09:28 UTC - 0 likes

    ill try it out,if its any good ill keep it for my server and u can add my server to ur servers list :) Toasty

  • Avatar of MatheusMarxx MatheusMarxx Feb 24, 2013 at 06:33 UTC - 1 like

    Who likes this plugin like this comment =D

  • Avatar of MatheusMarxx MatheusMarxx Feb 16, 2013 at 20:14 UTC - 0 likes

    @Harkvore: Go

    It's because a mistake that I made while renaming my eclipse's projects, and mmTeleport is a Teleport plugin that I am developing =D

  • Avatar of Harkvore Harkvore Feb 15, 2013 at 02:27 UTC - 0 likes

    Why is the file called mmTeleport?

  • Avatar of cruciel710 cruciel710 Feb 09, 2013 at 01:01 UTC - 0 likes

    how to add cost for the lottery?

    Last edited Feb 09, 2013 by cruciel710
  • Avatar of MatheusMarxx MatheusMarxx Feb 08, 2013 at 07:41 UTC - 1 like

    If you are having problems with the 1.4 version, just download the vault plugin here -> http://dev.bukkit.org/server-mods/vault/

  • Avatar of MatheusMarxx MatheusMarxx Feb 06, 2013 at 23:14 UTC - 1 like

    @dhffl33: Go

    Thanks Dude, if you have any suggestion tell me, and if you use it in your server, send me your ip address =D

Facts

Date created
Jan 30, 2013
Categories
Last update
Feb 18, 2013
Development stage
Release
Language
  • deDE
  • enUS
  • esES
  • esMX
  • frFR
  • itIT
  • jaJP
  • koKR
  • plPL
  • ptBR
  • ruRU
  • zhCN
  • zhTW
License
All Rights Reserved
Curse link
mmLottery
Downloads
2,826
Recent files
  • R: 2.0 for CB 1.4.7-R1.0 Feb 18, 2013
  • R: 1.4 for CB 1.4.7-R1.0 Feb 08, 2013
  • R: 1.3 for CB 1.4.7-R1.0 Feb 05, 2013
  • R: 1.2 for CB 1.4.7-R1.0 Feb 05, 2013
  • R: 1.1 for CB 1.4.7-R1.0 Feb 05, 2013

Authors