BAVoteParty icon

BAVoteParty -----

Reward player voting with individual rewards and vote parties!



New command
Made /BAVoteParty a command on its own that will send the user a message thats configured in the config. The idea for the command was to give a place within the plugin to display the links for the voting sites. The new permission for this command is bavoteparty.message.

This will require you to regen your config. I have provided a copy of the new default config below with the new addition marked if you want to try to copy it yourself to avoid having to redo your file.

The alias /vote was also added.

Code (YAML):
#
#    BAVoteParty
#    Support: Join the discord discord.gg/8MyFQWS
#
####################################################
# Set to the name of the file without the extension.
# If you translate the entire document please send it to me, so I can add it for others to use easier.
Lang
: lang_en
VoteParty
:
  Enabled
: true
  Broadcast
:
    Enabled
: true
    Message
:
     - ''
      - 'This is the first non empty line'
      - 'This is the second line. We reached 50 votes!'
      - ''
  PartyNumber
: 50
  CurrentVotes
: 0
  # These commands will loop through all players online and replace {player} with their name
  RewardCommands
:
   - 'eco give {player } 1000'
IndividualVote
:
  Enabled
: true
  AnonymousVoterName
: "Anonymous"
  # The chance numbers do not have to add up to 100. If you have 2 with 0.9 chance (90%) and they both pass the bottom most reward on the list will be given.
  Rewards
:
    # A default is required
    default
:
      # There are a few prefixes to help with commands. They must be placed at the start of the command
      # [broadcast] - Will send a broadcast to the server
      # [message] - Will send a message to the player who voted
      # [console] - Will execute the command with console powers
      # Placeholders
      # {player} - Will be replaced with the name entered on the voting website.
      # {website} - Will be replaced with the URL of the website the user voted from.
      Commands
:
       - ' [broadcast ] {player } has voted at {website }!'
        - ' [message ] Thank you {player } for voting!'
    low
:
      # The % chance of this reward being given in decimal format
      Chance
: 0.5
      Commands
:
       - ' [broadcast ] {player } has voted at {website } and got lucky!'
        - ' [message ] {player } you got lucky!'
        - ' [console ] eco give {player } 100000'
#
# THIS IS THE NEW SECTION IT STARTS HERE
#
# This message will be displayed when the base command is run. It was designed to be used to give a list of the voting links.
VoteMessage
:
 - 'You can vote at these websites!'
  - 'link one'
  - 'link two'
  - 'link three'
#
# AND ENDS HERE
#
Debug
: false
----------, Apr 2, 2024
Resource Information
Author:
----------
Total Downloads: 516
First Release: Sep 16, 2019
Last Update: Apr 2, 2024
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings