PinataParty - Interactive Event! ✨ AIO Voting System ✨ [1.12.x - 1.21.x]

VIP Plugins PinataParty - Interactive Event! ✨ AIO Voting System ✨ [1.12.x - 1.21.x] 2.69.3

Pro Download
  • Cleaned up the reward system.
  • Added a "stop" config setting for the reward system.
  • Misc changes.
Config changes

This update is marked as a BETA due to the nature of the reward system being changed and may not work the exact same as previously, however it should not be any noticeable changes.

This update also allows for more reward customization such as not giving a player anymore rewards if one is rolled or only giving a player one single reward from the chance list, for example:

If the player gets the diamond, they will not have a chance to get anything else:
YAML:
# ... the pinata is hit by a player.
    hit:
        '1':
            chance: 10.0
            stop: true # If the player gets this reward then it won't roll for anymore
            command:
            - 'minecraft:give %player% minecraft:diamond 1'
        '2':
            chance: 50.0
            command:
            - 'minecraft:give %player% minecraft:leather 1'
        '3':
            chance: 25.0
            command:
            - 'minecraft:give %player% minecraft:iron_ingot 1'

The player will only get one single reward from this list or maybe nothing at all.
YAML:
    # ... the pinata is hit by a player.
    hit:
        '1':
            chance: 20.0
            stop: true
            command:
            - 'minecraft:give %player% minecraft:diamond 1'
        '2':
            chance: 12.5
            stop: true
            command:
            - 'minecraft:give %player% minecraft:gold_ingot 1'
        '3':
            chance: 5.0
            stop: true
            command:
            - 'minecraft:give %player% minecraft:iron_ingot 1'
  • Fixed a tiny memory leak in the update checker.
No config changes.
  • Fixed an issue loading the config on the first startup of the plugin.
No config changes.
  • Small code cleanup.
  • Deprecated PinataParty#pinatas.
  • Added PinataParty#getPinatas and moved to use it internally.
No config changes.
  • Improved CrackShot support for newer Spigot versions.
No config changes.
  • Small refactoring.
  • Fixed a ConcurrentModificationException.
No config changes.
  • Fixed a pointless check.
No config changes.
Back
Top Bottom