Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broadcast remaining votes required to start party #8

Open
jleeevinnn opened this issue Jul 1, 2014 · 11 comments
Open

Broadcast remaining votes required to start party #8

jleeevinnn opened this issue Jul 1, 2014 · 11 comments
Assignees
Milestone

Comments

@jleeevinnn
Copy link

I'd like to know if it's possible for broadcasted to go off once you've hit x amount of votes. So let's say you put 150 votes as your votifier vote to start, then you should have an enable or disable config option to send broadcasted messages to the entire server "xx votes left until drop party! Type /vote!"

@Amperial
Copy link
Owner

Amperial commented Jul 1, 2014

Sure, do you think it would be best with a setting for the interval? For example, every 25 votes the message is broadcasted.

@jleeevinnn
Copy link
Author

Yea, sounds great! Thanks for the quick reply. Maybe a /dp list command that shows how many votes left.

Also, if the server restarts, do the votes save or not? My server restarts at 2AM every night so I don't know if it would ruin everyone's votes or not.

@Amperial
Copy link
Owner

Amperial commented Jul 1, 2014

No, the votes go away on reloads / restarts. However players could just vote for it again after the restart because the only limit on them voting is that they can't have already voted. Not that happy with how votes work currently though... the party basically remembers the name of every player that voted, which means each player can only vote once, even if votifier voting is enabled and they vote from multiple sites. I may split apart the votifier votes from votes given by command and just increase the number of votes directly so that they're not based on the player name given.

@jleeevinnn
Copy link
Author

Seems good, maybe you can even add an interval like every 3 minutes no matter how many votes are needed it says the EXACT amount of votes needs until the drop party. So we can have interval "25 more votes" "50 more votes" "100 more votes" and the specific interval ones that say for example, the exact amount of votes "31 more votes until drop party!"

@Amperial
Copy link
Owner

Amperial commented Jul 1, 2014

Yeah that's a good suggestion too, not sure about the best way to approach it though. If every party was broadcasting at the same interval then all of the parties would broadcast their message at the same exact time. If I had it cycle through the parties, broadcasting them in order one at a time, then all of the parties wouldn't be shown as often as you want them to. I'm thinking the best way might be to add a command such as /dp votebroadcast [party] and let the server owners install whatever auto command executing plugin they prefer (such as http://dev.bukkit.org/bukkit-plugins/consolescheduler2/) so they can have more control over it.

@jleeevinnn
Copy link
Author

Hmmm, well for me I planned on having only one drop party, named default, modified messages so it just says "Drop party started" instead of "Drop party default started!". So what you said wouldn't be an issue for me :p

@Amperial
Copy link
Owner

Amperial commented Jul 1, 2014

Yeah I figured, just gotta make it work nicely for everyone else too though :)

@Amperial Amperial changed the title Documentation Request Broadcast remaining votes required to start party Jul 1, 2014
@Amperial Amperial added this to the Version 3.1.2 milestone Jul 1, 2014
@Amperial Amperial self-assigned this Jul 1, 2014
@jleeevinnn
Copy link
Author

Very true :) I appreciate your awsomeness.

@jleeevinnn
Copy link
Author

Hey if you could so kindly add a feature that logs all drop parties that happen onto a .log file for server admin to view maybe even log the amount of players online with it.

@Amperial
Copy link
Owner

Amperial commented Jul 2, 2014

Sure, could you make a new issue for it?

@jleeevinnn
Copy link
Author

17 days later...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants