Skip to content

Difficulty / Demon type VOTE system - #604

Open
RedLime wants to merge 8 commits into
Cvolton:masterfrom
RedLime:rate
Open

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

Conversation

@RedLime

@RedLime RedLime commented May 20, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown

yes yes already implementing this to my gdps

@FimastGDOld

Copy link
Copy Markdown

Can I download it?

@MegaSa1nt

Copy link
Copy Markdown
Contributor

Can I download it?

Uhh, yes?

@Neejik

Neejik commented Nov 23, 2023

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown

I dont have difVote.php?

@MegaSa1nt

Copy link
Copy Markdown
Contributor

I dont have difVote.php?

Download repository? Its pull request

@Bibou1494

Copy link
Copy Markdown

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