1.4 Added pre party start commands list, removed config options, fixed error with party commands
1.4
Added pre party start command list and toggle option.
Removed the built in scoreboard system (for now) Don't update if you would like to continue using the VoteParty scoreboard that pops up when a player votes. This option will return in the future but for now it has been removed to fix compatibility issues with other plugins and also increase efficiency. Plugin runs 100x better without it!
Removed option which requires players must vote to participate as it was broken since votes reset on server stop / start of new party cycle. This system will also return in the next version but votes will be tracked and stored in a database. The system coming in the next version will also allow rewards depending on how many times a player votes!
Removed and cleaned up tons of useless code that was hanging around and wasn't needed. This reduced the plugin size and also improved efficiency by a lot!
Here is the updated config:
Code (Text):
# VoteParty 1.4 configuration file
check_updates: true
party:
total_votes_needed_for_party: 30
max_possible_rewards_per_player: 150
start_delay_in_seconds: 10
use_no_luck_commands: false
allow_duplicate_no_luck_commands: false
max_no_luck_commands: 1
no_luck_commands:
- eco give @p 100
- give @p diamond 6
- give @p iron_ingot 12
reward_command_delay: 1
reward_commands:
- give @p emerald_block 64;4
- give @p diamond_block 64;4
- give @p emerald_block 64;4
- give @p diamond_block 64;4
- give @p emerald_block 64;4
- give @p diamond_block 64;4
- give @p emerald_block 64;4
use_global_pre_party_start_commands: true
global_pre_party_start_commands:
- broadcast Party will start soon!
use_global_party_start_commands: false
global_party_start_commands:
- broadcast Party Starting!
- save-all
effects:
on_vote:
enabled: true
effects:
- flames
- hearts
on_party_start:
enabled: true
effects:
- glyph
- hearts
on_party_command_execute:
enabled: true
effects:
- smoke
- hearts
crate:
use_crate: false
material_or_id: 33
data: 7
displayname: '&b&lVote&f&lParty &7Crate'
lore:
- '&aPlace me &e:)'
messages:
broadcast_vote_recieved: false
vote_recieved: '&8&l[&b&lVote&f&lParty&8&l] &f%player% &ajust voted for the server
at &f%service%&a! &f%votes% &amore votes needed until a VoteParty!'
broadcast_party_start: true
party_broadcast: '&8&l[&b&lVote&f&lParty&8&l] &bA &eVoteParty &bwill begin in &f&l%delay%
seconds&b!'
crate_added_to_inventory: '&8&l[&b&lVote&f&lParty&8&l] &bA reward crate has been
added to your inventory!'
no_reward: '&8&l[&b&lVote&f&lParty&8&l] &cAww you didn''t get any rewards this time!'
did_not_vote: '&8&l[&b&lVote&f&lParty&8&l] &cYou didn''t vote to be able to participate
in this VoteParty!'
reward: '&8&l[&b&lVote&f&lParty&8&l] &bYour vote rewards have been applied!'
commands:
voteparty: '&8&l[&b&lVote&f&lParty&8&l] &bVotes needed for party: &f%votes%'
give_crate: '&8&l[&b&lVote&f&lParty&8&l] &bYou just got %amount% VoteCrate(s)'
private_party: '&8&l[&b&lVote&f&lParty&8&l] &eEnjoy your personal VoteParty!'
ignore_toggle_on: '&8&l[&b&lVote&f&lParty&8&l] &7You will no longer participate
in VoteParties!'
ignore_toggle_off: '&8&l[&b&lVote&f&lParty&8&l] &aYou will now participate in
VoteParties!'
per_vote_rewards:
enabled: false
max_possible_rewards: 1
reward_commands:
- eco give @p 10;0
- give @p steak 8;0
on_vote_global_commands:
enabled: true
commands:
- aa announce 1 &cOnly %votes% more votes until a VoteParty!
save: 30
This will be the last update to the 1.x version of VoteParty. I plan on releasing 2.0 sometime which will include many enhanced options such as vote tracking, rewards based on your votes, improved scoreboard integration, holograms, and much more!
Fixed errors that a few users were having due to rewards not being setup correctly.