ProjectInfinity / PocketVote

Documentation and support for PocketVote.io
9 stars 5 forks source link

/vote top command lists voters in alphabetical order rather than top voters #38

Open Smeo00 opened 5 years ago

Smeo00 commented 5 years ago

I would expect the /vote top command to list the top voters e.g. tom (100) dick (75) harry (44) etc.

But the command returns an alphabetically sorted "top 10" as follows (names truncated for privacy) vote top=> 16:06:37 [INFO ] ### Current top 10 voters ### 16:06:37 [INFO ] 1. "App## (5) 16:06:37 [INFO ] 2. “ND m## (6) 16:06:37 [INFO ] 3. aall## (12) 16:06:37 [INFO ] 4. Abid## (6) 16:06:37 [INFO ] 5. AceL## (5) 16:06:37 [INFO ] 6. Adri## (5) 16:06:37 [INFO ] 7. Adva## (10) 16:06:37 [INFO ] 8. Aide## (9) 16:06:37 [INFO ] 9. Aide## (34) 16:06:37 [INFO ] 10. Ajs1## (36)

ProjectInfinity commented 5 years ago

Thanks for the report. Are you on PocketMine or Nukkit?

Smeo00 commented 5 years ago

Thanks for the response :) nukkitx PocketVote v2.0.1-bDEV Apologies I just came to realise that we are running a fork of pocketvote - nukkit on our server so I raised this against the wrong version.