GMDprivateServer icon indicating copy to clipboard operation
GMDprivateServer copied to clipboard

Difficulty / Demon type VOTE system

Open RedLime opened this issue 4 years ago • 8 comments

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 :(

RedLime avatar May 20 '20 07:05 RedLime

yes yes already implementing this to my gdps

CoderQCYT avatar Jun 22 '22 20:06 CoderQCYT

Can I download it?

FimastGD avatar Nov 24 '22 18:11 FimastGD

Can I download it?

Uhh, yes?

MegaSa1nt avatar Nov 25 '22 01:11 MegaSa1nt

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?

Neejik avatar Nov 23 '23 08:11 Neejik

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

MegaSa1nt avatar Dec 02 '23 11:12 MegaSa1nt

I dont have difVote.php?

Bibou1494 avatar Dec 02 '23 11:12 Bibou1494

I dont have difVote.php?

Download repository? Its pull request

MegaSa1nt avatar Dec 02 '23 11:12 MegaSa1nt

I need to create myself?

Bibou1494 avatar Dec 02 '23 11:12 Bibou1494