ProJackpots is a plugin which allows players to bet against each other in a cumulative pot where the players chances are determined by the amount they enter. This can also be used as a lottery style system with the ability to define and customize the actions to be executed once a player wins.
Requirements:
- Vault & Vault based economy
- Compiled and tested for Spigot 1.7.10 and above, support for earlier versions will not be provided.
Some of just many features that this plugin includes are:
- Customizable menu system
- Create an unlimited amounts of jackpots
- Completely customizable rewards
- Chances based off entry amount
- Auto-completing timers
- Minimum entries requirement
- Action based reward system
- JavaScript actions for additional configurability
- Customizable messages
- Built-in jackpot placeholders
- Vault integration
- And much more!
The plugin does not feature too many commands as it is all mainly menu based. Below are the commands that are in the plugin:
Main command: /projackpots
Aliases: [jackpot, jackpots, pjackpot, projackpot]
There are multiple permissions that are found throughout the plugin which give access to commands and other features.
Actions:
Actions are what will be executed when the player is eligible to receive a reward. Actions range from player commands, to console commands, and even more such as whether or not a sound will play. They are completely configurable to your liking however when defining them know that they are CaSe-Sensitive.
Example action:
- '[Delay=5] [ConsoleCommand] op %player%'
The above action would wait 5 seconds after the action has been sent to receive their rewards, then it would run command 'op %player%' giving operator status to whoever was the receiver of the reward
JavaScript Actions:
You can also use JavaScript in your actions to further enhance what you can do with your rewards and other parts of the plugin.
Objects:
- BukkitPlayer - The player who the action is being executed for
- ProJackpots - The instance of the plugin
Example:
Code (Text):
[ConsoleCommand] eco give %player% [JavaScript=%current_pot% * 0.75]
Placeholders:
In the plugin there are a few placeholders you can choose from for use in either item lore, messages, or actions. They can be very useful when trying to execute complex or even basic rewards.