- Vote Party type "Locked Crates" behavior has changed: crates now drop like anvil's until they hit the ground.
Because of this change, "Locked Crates" better suits a Vote Party setup where the chests are floating + it becomes more fun!
- Vote Party type "Locked Crates" and "Pig Hunt" can now be stopped with /voteparty stop.
- Vote Party type "Pig Hunt" has new default settings. (health and damage)
- Fixed playernames not changing after performing a Mojang name change.
- When setting a Vote Party location, the /votesettings no longer automatically closes to allow bulk editing.
Hello, we're back from idk where!
It is now possible to ignore playername casing. When you accidently vote with Sd_Master92 it will be the same as sd_master92.
To switch on this setting, go to /votesettings -> General -> Danger Zone -> Ignore Playername Casing!
- Fixed vote streak not updating
- Fixed player not found when voting offline
It is now possible to set a specific time for when a player can vote again for a certain Vote Site.
Previously it was only possible to setup an interval of an X amount of hours.
You can customize your cooldowns at:
/votesettings -> Messages -> Vote Sites
This version resolved concurrency between voting and the leaderboards in /votesettings and /votes command. Monthly, weekly and daily votes were also not always updating.
It also fixes playervotes resetting sometimes.
It is recommended to update!
Support is no longer provided for versions between v10.6.0 and v10.8.2.
It is now possible to change whether worlds are blacklisted or whitelisted from receiving rewards.
Check out:
/votesettings -> General -> World Exclusion
/votesettings -> General -> World Exclusion Setting
A player who voted will now be saved correctly. Sometimes you had to restart or reload the server to see a player's vote info or to interact with a player using CustomVoting.
Hi everyone, a new update is here!
Double Rewards
You can now choose the days of the week when double rewards are given to your players!
To set this up, go to
/votesettings -> Rewards -> Vote Rewards (or Power Rewards) -> Double Rewards.
Additionally, you can customize the message that is broadcasted when double rewards are active. This setting can be found in
messages.yml -> double_rewards.
Use placeholders %PLAYER% and %DAY% in your message.
HEX Support
As you might know, many plugins allow you to add color to messages using Minecraft color codes (&), which offer a limited range of colors. But now, with HEX color codes, you can use any color you like in your messages!
Simply write an '&', followed by the HEX code, followed by your message, like this:
'ೕa8Hello my name is sd_master92!'
Note that this is available since Spigot 1.16. Older versions cannot use this feature.
Lucky Command Rewards
Just like for the regular Vote Rewards and the Power Rewards, you can now also add commands as rewards to a Lucky Vote!
Find this setting in the
/votesettings -> Rewards -> Lucky Rewards -> Command Rewards.
Please give me a shout if you experience any issues. Enjoy the update!
New year, new energy, new update!
What's new?
- It is now possible to migrate playerdata to a different data storage service in both directions. Helpful when you're expanding your network and want to use a database instead of per-server votes.
Use /migratevotes <from> <to> like so: /migratevotes playerfiles database.
- Added a /givecratekey command which can be added to third party plugins or to the command rewards of CustomVoting.
- Queued votes messages are now stacked if there's multiple.
- Added the possibility to set a delay on the execution of a vote. Find this setting in /votesettings -> General -> Process Vote Delay
What's fixed?
- Vulnerability updates
- Fixed disabled worlds not working correctly
- Fixed CustomVoting command autocompletion
- Changed the word 'price' to 'prize'
Enjoy - and let me know in Discord if you find any issues!
The /votesettings should be readable again.
This update should improve the performance of CustomVoting when handling a lot of playerdata.
It may produce issues. Please report them in the Discord channel!
What issues have been resolved?
* Fixed vote party turning off by default
* Votes not queued
* Fixed buggy streak and milestone message setting
* Fixed supporters stacking
* Fixed deleting of vote crates
* Possible solution for sounds being heard by nearby players
* Release 10.5.2 by @sanderderks in
https://github.com/sanderderks/CustomVoting/pull/73
This version includes these fixes:
- New players (who haven't voted yet) don't get a vote reminder
- Lucky vote still received sometimes when status is 'off'
- Broadcast not working when 'offline broadcast' is disabled
Hello everyone, this will be the biggest release since I've been using an issue board for CustomVoting.
All your feedback has been heard and was turned into code. This results in a more stable and user friendly version of this plugin. And of course more possibilities!
What has been fixed in this version?
- Sites will now be correctly added to your Vote Sites after voting for the first time. This was a very annoying issue since the previous update, but it's gone now
- Vote Party Chests and Vote Crates are now correctly deleted (including the floating displayname)
What is new since this update?
- A Vote Dashboard for your players! It is now possible to turn the /votes command into a GUI to view info about your vote status and what the player can do next. For example when to vote again. And view the next milestone that's coming up.
* This works in combination with the Vote Site intervals.
* Turn this option on in the /votesettings -> Messages
- As mentioned, there's a new voting timer. Setup the time to vote again and view the live timer in the /vote and /votes GUI. Players will now also receive a message for when to vote again, based on their last vote for a certain site.
Because of this, you can now use %SERVICE% in the 'vote_reminder' message.
- Vote Party Chests can now be virtual (without a location). This currently only supports the Vote Party type 'Add to Inventory'. You can easily add a new chest in the /votesettings, without having to place it somewhere.
- The Vote Party type 'Pig Hunt' can now be customized a little more: you can set the Health and Damage in the /votesettings.
- The Vote Streak no longer has to be maintained with consecutive votes. You can also vote a day later and still reach the next level! This option is turned on in the /votesettings.
- It is now possible to use PlaceholderAPI placeholders in the Vote Top Stand displayname.
I hope you will all enjoy the new features and have a great weekend!
Support is available in the Discord channel, by fellow users and by me.
What has been fixed?
- Stabilized the vote site settings and /vote menu
The vote sites GUI and textual /vote command have been rewritten. Sites can now be simply edited in the /votesettings without any problems!
- Added migration so all your sites are available in the new way
- The original textual /vote command message is hidden, but can still be used by turning on 'Vote Command Override' in the /votesettings
- The /vote command is now generated with all url's to your vote sites!
-
WARNING: you will need to add info about your vote websites again in the Vote Site Editor. Go to /votesettings -> Messages -> Vote Sites.
-
WARNING: some messages should be configured again in the messages.yml. You can find them here:
Code (YAML):
vote_command:
title
: '&bVote for &dServerName &b!'
divider
: '&b
---------------'
prefix
: '&dVote for us at &a
%SERVICE%'
- Fixed "Vote Crate reward comes out double"
- Fixed "'Always Reward' crate-option still produces no reward sometimes"
Other news:
- Vulnerabilities have been updated
- /votesettings -> Messages has been cleaned up
Major changes:
- Added crossplay solution for suffixed player names (e.g. from Geyser)
- Added Vote Party type 'Locked Crates' -> the fastest player to open the chest, gets the rewards!
- Added tab-completion for CustomVoting commands
- Added option 'Always Reward' to crates
Other new features and changes:
- Added /voteparty stop command
- Vote crates can be closed during animation (opt-in in /votesettings)
- Some BStats improvements
- Language improvements
Bugfixes:
- Re-added vote party commands (which was gone for some reason)
- Added support for 1.20 without any features yet.
- Fixed a bug where Citizens class could not be found, disabling CustomVoting.
Major changes:
- Implemented weekly votes!
- Implemented Votes Top Sorting -> votes are now sorted on 'All', 'Monthly', 'Weekly' or 'Daily' votes!
- %VOTES% can now be changed to %VOTES_AUTO% to follow the above setting in messages.yml
- Monthly, weekly, and daily votes are now reset automatically, on the first day of the month, week and on a new day. 'All Votes' are never touched
- /votereset now always deletes ALL votes
- Deleted /clearmonthlyvotes command
Other new features and changes:
- Added weekly votes PlaceholderAPI placeholder. See plugin overview
- Color codes can now be used in crate names
- Reordered general settings and danger zone
- Added 'last kill' message to Pig Hunt in messages.yml
Bugfixes:
- When multiple subservers queue a vote, only one vote will be processed!
- Strip prefix color code on command or permission input
- Fixed pig hunt ending
- BStats player file and database improvements
- Vote top stands no longer show a displayname when a player leaves
- Stabilized vote top npc's + changed entity id to citizens id
Improved Vote Party type: Pig Hunt!
- Added a health bar to the pigs and made a report of hit events:
- Calculation of hit damage:
- "powerful hit": 16.67%
- "good hit": 16.67%
- "average hit": 16.67%
- "pussy hit": 16.67%
- "ok hit": 33.33%
- Random action on hit:
- "throw splash and heal itself": 10%
- "explosion animation": 20%
- "hearts animation": 20%
- "on fire": 10%
- "special creature interaction": 10% (allay, bat, creeper or double pig)
- "glow effect": 10%
- "firework effect": 20%
- "knockback effect": 50%
- Also added a 'last kill message' to the messages.yml. If you are using a different languages, it will need to be changed.
- Fixed an important issue where database columns were not created and database migrations were buggy!
- Added pagination to the following overviews: Crates, Milestones, Streaks, VoteParty chests and (Power) Vote Reward Items
- Pagination stabilized and updated PluginCore
- BStats bugfix
CustomVoting v10.0.0!
MAJOR CHANGES:
- Language support: added Dutch/Nederlands and German/Deutsch (change in votesettings -> general) + added Dutch example messages.yml. (German still needs grammar check by users)
- Renamed "Vote Streak" to "Milestones"
- Added "Vote Streak" + daily votes!
- Changed PAPI placeholders: see Spigot plugin overview.
- /votesettings has been recreated, simplified and more can be changed now.
- Added a more general "Reward Settings" page
- Added a button to edit the "Vote Party"
- Moved buttons to a page called "Danger Zone"
- "Permission Based Rewards" is now "Power Rewards"
- Many other changes
MINOR CHANGES:
- Vote Links Menu title can now be changed in messages.yml
- Vote Links Menu now contains URL's in lore instead of in the slot.
- Removed /inspectvote command
- Database migrations and changes
- More button descriptions!
BUGFIXES & CLEANUP:
- All plugin messages are now managed from one place (makes future changes easier)
- Fixed 'wrong key' message for vote crates
- Renaming a crate will now change all references to it dynamically (e.g. crate keys)
- Breaking a crate will no longer delete it
- GUI logic has been completely refactored
- Item reward editors are now more stable
- 'Back' button is now dynamic and not static
- Vote top STANDS & NPC'S have been stabilized. Reloading/restarting should no longer break/unregister them constantly.
- New Voteparty types:
Scary & Pig Hunt & Randomly
It is now possible to set the voteparty type to 'Scary' and 'Pig Hunt'. Other types have been improved and stabilized and can be randomly chosen as well!
Also the vote party %TYPE% can be used in the 'vote_party.start' message.
- Fixed voteparty queue
The voteparty no longer endlessly plays when multiple parties are queued.
- Improved Citizens hook
NPC's now switch easier from armor stand to citizens and back.
Clean up
- Recoded and cleaned up the plugin as usual.
Beware
Your vote party type could be reset and you might get scared!
Please check your vote party type again
Enjoy! =D
- New Voteparty type: Exploding Chests
It is now possible to set the voteparty type to 'Exploding Chests'.
- The server starts faster again
Double caching at server start has been resolved. Once the server has started, CustomVoting doesn't eat your processor power anymore.
Also /votereload will no longer also restart the caching. This will only happen when you run the command '/votereload cache'.
- Added ingame statistics about CustomVoting
You can now find statistics from BStats in /votesettings -> support. Here you can see what popular vote sites you can still setup. And also what Minecraft version is now most used for example.
- Disable votesettings GUI
You can now disable the /votesettings GUI by setting the settings.yml option 'vote_settings_enabled' to false.
Clean up
- Item rewards, lucky rewards etc. are no longer resaved when unchanged.
- VoteParty logic is simplified
Enjoy! =D
Hi y'all, I'm back from getting my personal life back on track! Now I'm available again to give support to my CustomVoting users <3
In this update:
- A lot of playerfile and database related lag has been resolved.
- Caching of data has been improved.
- Fixed uuid storage (data retrieval by player name is now more stable)
- Updated Kotlin to 1.8.0
Hi everyone, I've been working on a cool new feature and it's finally ready!
---- THE CRATE UPDATE ----
It is now possible to create multiple vote crates with different rewards for your players. Each crate may contain rewards with different chance levels: Items with 50% chance of obtaining, 25%, 10%, 5% and 1%. This also means that there is a 9% chance of not getting a reward.
HOW IT WORKS
When a crate is placed somewhere and a player has a crate key belonging to that crate, the crate can be opened, triggering an animation showing all possible rewards. After a few seconds, the random reward will be given to the player with closing fireworks!
HOW TO SETUP
To create a vote crate, open the /votesettings -> rewards -> crate rewards. After creating a crate, you may change it's display name and setup the rewards. After that, take a key and right click a block with it. This will ask you if you want to place the crate there.
You will also want to give players a chance of getting a crate key. This can be done by adding them to the vote rewards, lucky rewards or the voteparty.
Done.
LIMITATIONS
Currently it is not possible to change the reward chances, change the messages or change the look of a vote crate.
This will all be improved in the coming time...
Have fun!
Good news, this update fixes a lot of lag! Caching has been improved, which should be helpful for servers with a lot of players(files). This also fixes issues with vote top npc's not updating.
I also added extra support for offline mode (cracked) servers. It is now possible to disable uuid storage, and store data based on a player name. This was an issue because uuid's often change in offline servers, so votes would reset a lot.
This can be changed in the /votesettings -> general -> player head
Good news, this update fixes a lot of lag! Caching has been improved, which should be helpful for servers with a lot of players(files). This also fixes issues with vote top npc's not updating.
I also added extra support for offline mode (cracked) servers. It is now possible to disable uuid storage, and store data based on a player name. This was an issue because uuid's often change in offline servers, so votes would reset a lot.
This can be changed in the /votesettings -> general -> player head
- Queued database votes will now be uniquely stored in a seperate table, including the correct sitename!
- Fixed players table migration, which should fix the issue of being able to collect rewards on multiple subservers.
- Sometimes rewards weren't given because CustomVoting created an error when checking permission groups.
- Clean up and enhancements!
CHANGES:
- Permission based rewards (e.g. ranked rewards) are now managed by CustomVoting, so no longer with the permission 'customvoting.extra'. IMPORTANT: if you're using permission based rewards, please set up the permissions for this again in the /votesettings -> Reward Settings -> Permission Rewards. Permission for this can be given to groups or users.
- Player database data is now cached to avoid a lot of queries/external calls.
- Added Player Info tab to /votesettings -> Support
- Renamed all references of PERIOD to MONTHLY_VOTES, including database and config migrations, but I kept this reference in PlaceholderAPI, so you don't have to change anything yourself!
BUGFIXES:
- Fixed vote streak not showing in /votesettings
- Fixed Vote Party errors when a chest is empty
- Newer plugin versions are no longer seen as 'outdated', so no more reminders to update!
- Database and config are now almost completely comparable, by the usage of a shared interface. This means that all functions will ALWAYS choose the data storage type that you are using - so accident data retrieval by config file instead of database.
It is now possible to inspect a vote.
Use the command /inspectvote (which works the same as fakevote, but also logs the process for you) and find out why something isn't working!
Also added:
Add a service name to your /inspectvote or /fakevote:
/fakevote <player> [website]
CustomVoting now works on Minecraft 1.19 servers. This version also fixes problems for many database users.
Cleaned up the plugin by 100kB!
- Added an hourly vote reminder, which can be configured in the messages.yml and disabled in the /votesettings. A player will get notified if voting was more than 24 hours ago, or if the player is new.
- Plugin updates are now checked hourly.
- All player input (e.g. votesettings) is now handled by multiple input listener instances, instead of one big listener.
- NPC vote stands are now more stable.
Warning: you might need to recreate your vote NPC's after updating to this version.
- This plugin no longer uses the seperate simplecommand and customfile package, but one core project. So that all my plugins can be maintained from one central project.
Voting can now be disabled in worlds of your choice. (Multiverse support) Choose worlds in the Vote Settings. When voting in a forbidden world, the vote will be queued and the player will receive a message about this. (can be disabled in Vote Settings -> Messages)
When a player moves to a different world, they will receive their rewards!
Sometimes the displayname of an NPC was visible after updating votes.
Sometimes the displayname of an NPC was visible after updating votes.
Vote stands are now replaced with Citizens NPC's, if the plugin Citizens is installed, so that your vote top looks a lot sexier!
NPC's can be created and deleted just as vote stands are, with /createtop and /deletetop.
Known issues: armor on NPC's does not yet work.
This update solves errors like these:
Java.lang.LinkageError: loader constraint violation: 'x' wants to load interface kotlin.jvm.functions.Function2. A different interface with the same name was previously loaded by 'CustomVoting.jar'. (kotlin.jvm.functions.Function2 is in unnamed module of loader 'CustomVoting.jar', parent loader java.net.URLClassLoader)
The updating of skulls used to always load playerdata from cache as an 'offline player'.
In this version, only actual offline players will be loaded from cache, online players already exist and don't require your processor power.
Fixed permission based rewards
- Votifier is no longer supported, as it has not been updated since 2015 and doesn't seem independent in newer Minecraft versions. Please move on to
NuVotifier!
- Vote Party now executes commands when started. Add commands to the voteparty in the /votesettings -> rewards -> VoteParty command rewards (TNT). Commands WITHOUT the %PLAYER% placeholder, will be executed once, commands WITH the placeholder, will be executed once PER PLAYER.
- Added the placeholder
%CV_VOTE_PARTY_CURRENT% for the current voteparty votes count.
- The monthly reset no longer happens automatically. It will now require you to open the /votesettings and confirm that you want to reset the votes.
- Regular cleanup to make the plugin only better
The trailing 's' in the messages.yml was reversed, which means that a message would say 'You have 0 vote', instead of 'You have 0 votes'
This has been fixed!
Fixed exception when item rewards are empty
Fixed item reward type for permission based rewards
- Fixed permission based rewards GUI
- Fixed armor stands breaking
- New messages are now automatically added to your messages.yml
#NoMoreConfiguration
- Added PlaceholderAPI support for command rewards
- Fixed VoteParty chest placing
- Added disable message options in the /votesettings -> Messages
- Cleanup
Important update for servers with many players/player files
- Processor usage has been reduced drastically, because playerdata is no longer red from files but stored in-memory. (This will be implemented for database users in the near future)
- Fixed issue where vote top stands did not update after a server restart
- Cleaned up code
Added period votes!
It is now possible to collect all-time votes AND monthly votes. If 'Monthly Period' is turned on in the /votesettings, monthly votes will be reset every 1th of the month. The votetop will also be sorted based on the period votes.
This feature is also supported for database users!
To display the monthly votes instead of the all-time votes, use %PERIOD% as a placeholder instead of %VOTES%. For PlaceholderAPI, look at the overview page of the plugin.
Monthly votes can now also be reset using the /clearperiodvotes command.
ALSO ADDED:
- Disable streak broadcast
- Disable offline vote broadcast
It is now optional to give players one item from the Item Rewards randomly. See /votesettings.
- Permission based commands now work
- Added ingame update changelog
- Added donators to Support section
- Permission based commands now work
- Added ingame update changelog
- Added donators to Support section
Fixed an issue where a player could be null. This could occur on ALL previous versions. Please update!
Added Votifier plugin to Metrics.
It is now possible to give players with the permission customvoting.extra (not default for op's) different rewards than other players. The rewards can be changed within the /voterewards -> rewards -> permission rewards.
Fixed an error which crashed the plugin on voting.
Added support for older versions until and including 1.14.
BACKWARD SUPPORT WARNING:
Using an older version than 1.18? Make sure your data.yml does not contain items that don't exist in your version yet. If there are any, and the plugin shows an error on startup, please remove the items or the whole "items" section from your data.yml and restart your server or use /votereload!
Please report bugs in the Discord channel, thanks!
Updated the API level to 1.18, which did not cause any changes in the source.
Also fixed the usage of the 'no_permission' and 'must_be_player' messages from the messages.yml.
You can now place voteparty chests in Multiverse worlds.
Also added a more detailed error logging and cleaned up a little.
You can now execute commands after a specific amount of votes has been reached.
Add or remove commands within the /votesettings -> rewards -> vote streak -> commands.
%PLAYER% can be used as a placeholder.
Fixed the never ending vote party because of a missing check. Also fixed the download url in the votesettings.
You can now use the following placeholders:
CV_VOTE_PARTY_TOTAL : For the total of votes required for a voteparty.
CV_VOTE_PARTY_UNTIL : For the votes left until the voteparty.
You can also disable all broadcast messages in the settings.yml. Install this update, reload the plugin and the fields will get generated.
Updated CustomFile dependency (refactored to Kotlin)
@IKFFxRaPzZ this should have fixed your issue with exceptions when updating the vote top stands.
Added Vote Streaks to CustomVoting!
In the /votesettings vote rewards section, you'll find the new tab 'Vote Streaks', where you can add streaks and corresponding permissions
Vote Streaks can also be removed. Currently there are no other rewards possible, but more will be added soon!
Add this to your messages.yml to make the message work:
Code (Text):
# %PLAYER% name of the player
# %STREAK% streak reached
vote_streak:
streak_reached: '&b%PLAYER% &dreached vote streak #&b%STREAK%&d!'
Have fun!
- Refactored the whole plugin to use Kotlin instead of Java.
- Reduced jar size
Please report bugs in the Discord channel!
You can now use these placeholders in PlaceHolderAPI supported plugins:
%CV_SERVER_VOTES% // total server votes
%CV_PLAYER_VOTES% // your votes
%CV_PLAYER_VOTES_1% // top voter 1's votes
%CV_PLAYER_VOTES_1_NAME% // top voter 1's name
You can use as many numbers as you like
You can now use these placeholders in PlaceHolderAPI supported plugins:
%CV_PLAYER_VOTES% // total server votes
%CV_PLAYER_VOTES_1% // top voter 1's votes
%CV_PLAYER_VOTES_2% // top voter 2's votes
etc.
Have fun!
Vote links can now be shown to a player as an inventory menu. This can be easily setup within the new votesettings tab 'Messages'. Add items to the inventory, right-click them to change their title, subtext and links.
Also fixed an issue where the vote signs and stands weren't updated on server start/reload.
Fixed an issue where the database connection could not be made, but did not disable the feature. Because of this, the plugin didn't hook back into the configuration files.
Hello world!
My plugin now has BungeeCord/multi server support!
You can now sync playerdata across your servers using a MySQL database!
How to use:
- Create a MySQL database
- Configure your database info in the settings.yml for EVERY server (copy+paste)
- Choose 'use_database: true'
- Restart your server
>>> Have fun!
Also refactored the whole GUI listener of my plugin, which I am not 100% confident about. If you experience any delay in inventory clicking,
please let me know!
- Add VoteParty items directly into a player's inventory, instead of dropping items from chests.
- A discord button can now be found within the votesettings.
- Fixed a problem where deleting a VoteParty chest did not remove the config data.
- Fixed important issue where Votifier and NuVotifier couldn't find CustomVoting as a listener. Because of this, CustomVoting did not do anything when a vote was received.
- Fixed issue where an update reminder was always sent.
- CustomVoting now supports NuVotifier!
- A basic support page has been added to the /votesettings
- Operators now receive a notification when a new update is available. This can be switched off in the support page.
- Refactored the GUI code, no visible changes.
Updated to 1.17.1
New feature: Vote commands!
It is now possible to have commands executed when a player votes for your server. To add or remove commands, use the /votesettings!
There is a list of forbidden commands in the source code, e.g. restart, op and fakevote. These commands will be configurable in a future version.
Bug fixes:
- fixed a problem where voteparty chests couldn't load their contents.
- console can execute most commands again
There are no breaking changes, but a bug was fixed where the voteparty would never end if the chests were empty.
WARNING: Some subcommands might not work from console anymore, because of this new core. An update for this will come asap!
Removed a test item from the config
CustomVoting has been updated to be compatible with Spigot 1.17. Support for older versions is not guaranteed.
Refactored VoteParty, Vote, Vote Sign and Vote Stand to objects instead of helper classes.
When the voteparty type was set to something different than 'randomly', only one voteparty could start, but it never got removed from the queue. Because of this, only one vote party could occur per lifetime of the server.
This has been resolved in this update!
Removed:
- MySQL driver
- Gson
These packages weren't used and caused CustomVoting to be very large in size. 400KB -> 100KB
Also fixed the issue where CONSOLE was able to be placed in the votequeue when executing /fakevote without parameters.
The titles above the vote top NPC's can now be changed. In the previous update, this was not possible.
Also fixed the creation of "config.yml" when deleting a vote top npc.
You can now add NPC'S of your top voters, instead of vote signs and skulls!
Use /createtop <x> to create an NPC. The npc's work the same as the votesigns and are always up to date.
Use /deletetop <x> to delete an NPC.
Any issues? Let me know in the comments, reviews or send me a message.
Fixed a problem where lucky vote chance wasn't red as a percentage.
Running this plugin did not work when Vault or an Economy plugin was not installed.
All players were able to hear the GUI editor when near the person who was editing.
Added lucky votes! You can now decide how much chance players have to receive a lucky reward. The rewards and chance can be changed within the /votesettings. Lucky votes can also be turned off in the general settings.
When a player is Lucky, ONE item from the lucky rewards inventory will be given to this player.
CHANGES:
- added comments for the usage of placeholders in the messages.yml.
- data.yml: changed "voteparty" to "vote_party", for both the items and the locations.
- messages.yml: changed "broadcast" to "vote_broadcast".
- fixed the problem when a second voteparty starts while one is happening already. Voteparties are now placed in queue when one is active.
- added default items to the lucky rewards inventory.
CustomVoting now automatically hooks into a Vault supported economy plugin on your server. You can change the amount of money a player receives through a simple setting in the /votesettings. Vault needs to be installed to use this feature.
There also is an option to add XP levels to the rewards. Players will be notified about the amount of money and xp they received with an actionbar.
Because of the above changes, the votesettings GUI looks a little bit different now.
Also new: you can now add the placeholder %s% in some places in the messages config. This will conditionally show an extra s after a word if a certain amount is higher then 1. E.G:
- "You received 1 vote"
- "You received 2 votes"
In the next update you can expect documentation for every configuration field, so that you know what placeholders can be used in your message.
Choose whether you want all the chests to start dropping items at the same time, if chests are dropped after each other or if items randomly drop from a chest. This setting is found in the /votesettings!
Vote Party: use /voteparty create to receive the Vote Party Chest, which can be placed in the sky and filled with items, which will be dropped when the vote party starts. To start the vote party, configure the amount of votes needed inside /votesettings - or call /voteparty start!
Not everything is yet customizable, but more options will be added in the next days, stay tuned.
- Added offline voting support: when a player is offline, the vote will be placed in queue. The vote will be given to the player when back online.
- Added monthly reset option: all votes will be reset at the first day of the month if this option is turned on. This will be broadcasted.
More and more features will be added the coming days.
Please let me know what you are missing
CustomVoting has been rewritten!
This new version of the plugin only has basic features for now.
It is a new begin to build bigger, more stable and stay up to date.
Version 4.0.0 includes:
- A working updater, to check if a new version is available;
- Basic commands every vote listener should have;
- Fakevote command, to test your vote rewards;
- Updating vote signs + skulls if you like;
- Firework and editable rewards on vote;
- A vote queue, to receive your rewards when you log in;
- Build-in debugger, which is helpful for locating issues;
This project will get a lot of updates with many new features. You can make suggestions and share your ideas and tips in the 'Discussion' page to help me make this plugin the best vote listener out there!
Would you like to try this plugin before downloading it?
Check out the test server:
test123.serv.nu - 1.12.2
Made the plugin tell you if it was able to connect to mcstats.org or not.
Made the plugin send statics to mcstats.org, set 'opt-out' to true in the PluginMetrics file for this to work.
Made it so when the instant vote option in the config is enabled the vote will be announced.
Done a massive update for all versions up to 1.11. Everything should work correct now.
Updated updater (This sentence sounds funny..), there will now be a message to all players who join with the permission: customvoting.updater.
Added 1.11 support to CustomVoting. This plugin will now work from version 1.7 up to 1.11.
Also added a skip vote queue option. It will only run commands if the player is offline. (Vote signs will not be updated!)
Added an auto updater to the plugin. You will see in the server log if you're running the latest version or if there's a new update available.
Ideas for the next update?
As the title says, the crates are fixed again.
Fixed the chest in the vote editor, I've messed up a colorcode inside the code.
CustomVoting now also works with NuVotifier!
Error on command '/voteparty' is now fixed.
Added a end-message to Vote Party. Nothing special.
Worked all day to get this update finished. And now the time has come!
Let me introduce you:
CustomVoting 3.3.0
Features:
- VoteParty
- Auto version fix
- Code improvements
- Configuration improvements (Totally new)
- Bug fixes (ALL VERSIONS)
VoteParty:
- Setup voteparty using 1 command: '/voteparty wand'.
- Select drop location, select chests, select firework location and you're done!
- Configure the needed amount of votes to automatically start the voteparty or start the party with a command.
Auto Versionfix:
- Using CustomVoting for 1.9 or higher? No problem! I have fixed every known bug + I made an automatic updater which will make the config automatically version compatible for the version you're running.
[Warning] This will happen on every single restart or reload. Once the config is finished, use /fixvote to disable this feature.
Do you have more ideas you'd like to see in a later version of CustomVoting? Feel free to reply, I will try to add this for you.
In earlier versions crates looked like:
>
but now they're like:
>
Console can now run the command 'givecrate <name> [amount]'.
@ScuroK , take a look at this
Extra Rewards now have a 50% chance to be given.
If you have extra rewards standing at 100% and there's 1 cobblestone as extra reward, then there will be a 50% change you will get the cobblestone. So if you place in a lot of special items, you just get a few of them.
The 8 links weren't added to the custom vote command yet, added!
Also removed an unneeded config section, no worries
Forgot to change something in the config file, fixed now.
Added the possibility to use 8 vote links. A new config file was added so if you update you will need to remove the old one.
Also added the [total] argument to the /votes command. If you type '/votes total' you will get the server's total votes.
You can now add a skull under or above the voting sign.
Updating skulls have been added!
Place a skull under a vote sign and the skull will change.
Done some fixed inside of the code, these didn't have effect on the plugin itself, just simplified the code.
Also,
@BillyCooldude had made an amazing and very helpful tutorial on this plugin. The video is found here:
And you can also find it on the plugin page.
Thank you Billy.
Fixed received rewards when voting. Sometimes the rewards content changed.
Added a back option in the vote editor so that you do not have to retype the command every time.
When using an item with name as crate and you placed a item without name, it would give an error, this no longer is the case.
Fixed reload command for players.
Version 3.1.4 was broken. Fixed lots of things, also added a configurable vote command. Enable the usage of the custom votecommand in the config and choose your own command. Also made the vote crates work properly, there were some issues when placing votecrates.
THIS VERSION MAY CONTAIN BUGS BECAUSE OF A POSSIBLE MISTAKE INSIDE OF THE CODE.
Report bugs in the discussion section, thank you.
You can now type %NAME% inside the vote commands section in the config. It will replace %NAME% with the name of the player who voted.
EDIT: BROKEN VERSION! DO NOT DOWNLOAD.
Fixed a message inside the vote editor.
CustomVoting,
Now accessable for servers from 1.7 to 1.10. Some features will not work on some versions, but you will receive warnmessages when something is wrong.
If there still are things that do not work and you aren't receiving warnings, just leave a post and I will try to help you out.
Fixed some issues when using the plugin on 1.9+.
OFFLINE PLAYER SUPPORT ADDED:
You now no longer have to vote while online. Offline players will receive their rewards upon login.
NEXT:
(2 days)
THE TOKEN SHOP !
Crate didn't get deleted when placing. Now it does.
Some little bugs have been fixed.
Please redownload the plugin to be bug-free (from the known bugs)
Edited some wrong messages. I will be updating some more the coming moment, as I see there are still some small issues. These issues do not affect the plugin itself, just the layout.
There was a sound everytime you placed a block. Fixed this.
Fixed the crates. You can now choose your own crate by opening the GUI editor, click on rewards, click on vote crate and place in the crate you would like to use.
Extra configuration files; votes.yml and rewards.yml.
- Do not edit the rewards.yml by hand. Use the editor for that.
Fireworks added, you can choose if you'd like to enable it or not.
Added a useful API class, not all methods can be used, because some of them are to be used by the plugin itself and only itself. Experienced coders should see what they can use and what they cannot use.
Fake/Test votes. You can now send votes ingame via a simple command. This is useful for testing and others, because you cannot vote twice on websites.
Debugging signs. If something is wrong, you get told.
New config, if you are planning on updating, please delete your old config.
Suggestions? I'd love to hear!
CRATES NOW WORK 100%
Made it so the crate actually disappears.
Added crates to the vote rewards. Name a enderchest with %CRATE% and it will give the enderchest a unique number when a player votes. Only the player who voted will be able to open it, because of an UUID lock. Crate Rewards editable from the GUI editor.
New configuration file, if you update, delete the old file.
Fixed the ArrayIndexOutOfBoundsException when closing inventory.
Hey guys,
Yesterday I have been testing the plugin a little bit more and I found out there was a bug on signchanging. I have fixed this bug and it should be working 100% fine now.
What I have also done is added a amazing GUI editor, making it very simple for you to change the vote settings.
There will be added more to this plugin in the future.
- jaimymaster
Added a extra award option.
To use this you simply chance the config from 'chance: false' to 'chance: true'.
This will give the player a chance of getting a extra item on voting.
this config part looks like this:
Code (Text):
extra_rewards:
chance:
chance: false
chances: 50
reward: cobblestone
amount: 1
Added a votetop of 3 players with updating signs on every vote!
This plugin now only supports 1.8.
Fixed the permission for the /votereload command.
Fixed the vote amount, you now get +1 on every vote.
Added command /votes to display your current votes.