Configuration

The plugin's configuration file!
# VoteParty
# Creator: Clip & Glare
# Contributors: https://github.com/VoteParty/VoteParty/graphs/contributors
# Issues: https://github.com/VoteParty/VoteParty/issues
# Spigot: https://www.spigotmc.org/resources/987/
# Wiki: https://wiki.helpch.at/glares-plugins/voteparty
# Discord: https://helpch.at/discord
settings:
# The default language of the plugin
language: en-US
# The prefix of all the messages in the plugin
prefix: '&d&lVote&5&lParty &7&l» '
counter:
# It is suggested that you don't modify this value manually.
# Every X seconds, this value will update to the latest known amount of votes.
# This allows you to persist vote counts through reboots.
votes: 3
# How often to save the current amount of votes (in seconds)
save-interval: 300
# The hook part of the config allows you to configure which plugins you would like to hook into for votes.
# By default, the plugin will utilize NuVotifier and listen for it's vote events.
# If you would like to use the plugin without NuVotifier, just disable the hook!
# NOTE: Keep in mind that without being hooked into a vote plugin, the plugin will not automatically handle votes.
# You will be required to do everything manually.
# Over time, more plugins may become supported!
hooks:
# Would you like to listen to NuVotifier for incoming votes?
nuvotifier: true
crate:
enabled: true
lore:
- ''
- '&7Place the chest in order to'
- '&7to receive rewards!'
- ''
material: CHEST
name: '&d&lVote&5&lParty &f&lCrate'
# Configuration for particle effects you can play
# throughout different parts of the plugin
effects:
# Configuration for particles when party commands are being executed
party_commands_execute:
enable: true
effects:
- SMOKE_NORMAL
- HEART
offsetX: 0.0
offsetY: 0.0
offsetZ: 0.0
speed: 0.1
count: 2
# Configuration for particles when a party starts
party_start:
enable: true
effects:
- SMOKE_NORMAL
- HEART
offsetX: 0.0
offsetY: 0.0
offsetZ: 0.0
speed: 0.1
count: 2
# Configuration for particles when a player votes
vote:
enable: true
effects:
- SMOKE_NORMAL
- HEART
offsetX: 0.0
offsetY: 0.0
offsetZ: 0.0
speed: 0.1
count: 2
party:
# The amount of votes needed for a party to occur
votes_needed: 50
# The list of worlds where party rewards won't be given
disabled_worlds:
- ''
# Choose to allow offline votes count towards the party
offline_votes: true
# The amount of time (in seconds) the server will wait to start the party after the amount needed has been achieved
start_delay: 15
# The amount of time (in seconds) the server will wait between executing reward commands
command_delay: 1
# Configuration for chance rewards to be given during a party.
# Add as many commands as you want, set their chance, and choose the max amount a player can earn!
reward_commands:
enabled: true
max_possible: 1
commands:
- chance: 50
command: eco give %player_name% 100
- chance: 50
command: give %player_name% DIAMOND 6
- chance: 50
command: give %player_name% IRON_INGOT 12
# A list of rewards that will ALWAYS be given to a player during a party
guaranteed_rewards:
enabled: true
commands:
- eco give %player_name% 10
- give %player_name% STEAK 8
# Commands to be executed before a party is started
pre_party_commands:
enabled: true
commands:
- broadcast Party will start soon!
# Commands to be executed when a party has started
party_commands:
enabled: true
commands:
- broadcast A Vote Party has started!
voting:
# Configuration for chance rewards to be given for voting.
# Add as many commands as you want, set their chance, and choose the max amount a player can earn!
per_vote_rewards:
enabled: true
max_possible: 1
commands:
- chance: 50
command: eco give %player_name% 100
- chance: 70
command: give %player_name% STEAK 10
# Configuration for extra commands to be executed on players who have specific permission nodes
permission-rewards:
enabled: true
permCommands:
- permission: my.special.permission
commands:
- eco give %player_name% 500
- permission: my.special.permission2
commands:
- eco give %player_name% 1000
# A list of rewards that will ALWAYS be given to a player for voting
guaranteed_rewards:
enabled: true
commands:
- eco give %player_name% 10
- give %player_name% STEAK 8
# Global commands (such as a broadcast message) to be executed when a player votes
global_commands:
enabled: true
commands:
- broadcast %player_name% just voted! Only %voteparty_votes_required_party% more votes
until a VoteParty!
offline_vote_claiming:
# Would you like players to be able to claim rewards for offline votes?
# Note: They will only be able to get credit for rewards if you have `offline_votes` enabled
enabled: false
# Would you like to notify the player when they login that they have votes to claim?
notify: false