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!
- Reply
- #10
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
- Reply
- #9
roughtoast Mar 09, 2013 at 11:51 UTC - 0 likesi 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
- Reply
- #8
roughtoast Mar 09, 2013 at 09:28 UTC - 0 likesill try it out,if its any good ill keep it for my server and u can add my server to ur servers list :) Toasty
- Reply
- #7
MatheusMarxx Feb 24, 2013 at 06:33 UTC - 0 likesWho likes this plugin like this comment =D
- Reply
- #6
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
- Reply
- #5
Harkvore Feb 15, 2013 at 02:27 UTC - 0 likesWhy is the file called mmTeleport?
- Reply
- #4
cruciel710 Feb 09, 2013 at 01:01 UTC - 0 likeshow to add cost for the lottery?
- Reply
- #3
MatheusMarxx Feb 08, 2013 at 07:41 UTC - 1 likeIf you are having problems with the 1.4 version, just download the vault plugin here -> http://dev.bukkit.org/server-mods/vault/
- Reply
- #2
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
- Reply
- #1
dhffl33 Feb 06, 2013 at 07:44 UTC - 1 likeoh~ so good :)~