Skip to content

Difficulty / Demon type VOTE system#604

Open
RedLime wants to merge 8 commits intoCvolton:masterfrom
RedLime:rate
Open

Difficulty / Demon type VOTE system#604
RedLime wants to merge 8 commits intoCvolton:masterfrom
RedLime:rate

Conversation

@RedLime
Copy link
Contributor

@RedLime RedLime commented May 20, 2020

This is a system that users can do vote on the level's difficulty face or demon type(face), like the RobTop server.

There is a lot to explain about this system.

First, if more than 3 votes of a level are reached, the average value is determined from the votes of that level and the difficulty or demon face is determined.
Second, "Power rating" is possible with the actionRateDifficulty permission from the existing roles table.
Power rating is simple. It is a 3 votes in 1 vote. :/
it means, difficulty or demon face are can be change with one power rating. This is the same as the mode vote on the RobTop server.

do you want to change the number of voting conditions(default is 3)? If so, check difVote.php in config folder.

<?php
//Minimum number of votes required for difficulty or demon type update.
$minimumVotes = 3;

//Enter how many votes the Power Rate will have in one vote. (Power Rate is need roles in "actionRateDifficulty" permission)
$powerRate = 3;
?>

By changing the numbers here, it will be can work as you wish.

This works fine, I checked on my server! sorry about too many commits. my mistakes :(

@Cvolton Cvolton self-assigned this Aug 29, 2020
@CoderQCYT
Copy link

yes yes already implementing this to my gdps

@FimastGDOld
Copy link

Can I download it?

@MegaSa1nt
Copy link
Contributor

Can I download it?

Uhh, yes?

@Neejik
Copy link

Neejik commented Nov 23, 2023

So, um... Let me see if I understand; if I (as owner) set a level rating as Medium Demon but the community vote for Hard Demon, then will it be what the community wants?

@MegaSa1nt
Copy link
Contributor

So, um... Let me see if I understand; if I (as owner) set a level rating as Medium Demon but the community vote for Hard Demon, then will it be what the community wants?

Yes

@Bibou1494
Copy link

I dont have difVote.php?

@MegaSa1nt
Copy link
Contributor

I dont have difVote.php?

Download repository? Its pull request

@Bibou1494
Copy link

I need to create myself?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants