Giter Club home page Giter Club logo

plugin-vote's Introduction

Azuriom

Azuriom

PHP CI Style CodeFactor Latest release Chat

Azuriom is a complete open-source web solution for game servers. Enjoy dozens of extensions for endless possibilities. Already trusted by over 1,800 servers, cumulating more than two millions users.

Screenshot

Supported Games

Azuriom natively supports the following games:

You can implement your own game like it was done for Flyff or Dofus 1.29.

You can find the how-to in the documentation

Documentation

Azuriom's documentation is available on our website.

Installation

You can find system requirements and installation guide on our documentation.

Community

You can ask for support and talk on our Discord server.

Contributing

Contributions are always welcome!

See the contribution guidelines for ways to get started.

Please adhere to this project's code of conduct.

Translations

You can contribute to translating Azuriom on our Crowdin.

Security

If you discover any security related issues within Azuriom, please send an e-mail to [email protected] instead of using the issue tracker. All security vulnerabilities will be promptly addressed.

Support us

If you like this project, please consider supporting us on GitHub sponsors.

License

Azuriom is licensed under the GNU General Public License v3.0 or later.

plugin-vote's People

Contributors

arimav2nd avatar arnaudlier avatar bricec6 avatar brokeos avatar elbernie avatar izmoqwy avatar javdu10 avatar lourys avatar luluxe avatar magrigry avatar mathis-perron avatar maximemichaud avatar maxlego08 avatar mrdoudou avatar mrmicky-fr avatar nivcoo avatar odilehost avatar programfight avatar rikodev avatar skywarzzeur avatar sloyni avatar twerkrekt avatar webolu avatar wiborr avatar will33els avatar

Watchers

 avatar  avatar  avatar

plugin-vote's Issues

Add verification for playbase.pro

First of all, thanks for creating such a useful plugin. I would like to suggest adding playbase.pro to the list of supported sites.

The list has an API and from December 1 will require a Bearer API Token to support the following endpoints:

{
  "id": 5143,
  "server": 245,
  "user_id": 0,
  "nickname": "Notch",
  "date": "2022-08-01T18:54:06.000Z",
  "received": false
}
{
  "status": 200,
  "response": "Successfully received."
}

Swagger: https://playbase.pro/en/api

Send notifications when the user can vote again

To speed up the server's evolution, the administrators ask for as many votes as possible. Unfortunately, the fields aren't 100% up to speed to set an alarm for each vote. We could set up a notification system on discord and/or on the server to motivate fields to vote.

Automatic rewards at the end of the month

Be able to add and configure the rewards that users will receive at the end of the month when resetting the voting ranking.

You have to be able to:

  • Earn points for the plugin shop
  • Be able to send multiple commands to the server
  • To be able to display information about the winnings in the voting page, the different themes will have to be updated.

Ajouter des options dans le plugin Vote

fr:

Bonjour, pour le plugin Vote,
peut-on faire des récompenses selon le rang et non selon un Pourcentage
car je pense que tout les mois le plugin logiquement ?. donc voila mon idée à rajouter

exemple:

1er du mois =reward pos 1
2 ieme =reward pos 2
3 ieme =reward pos 3
etc etc etc...

tout ça en automatique récompenses / mois

le system de vote fonctionne bien mais le system de récompense n'est pas complet encore

en:

Hello, for the Vote plugin,
can we make rewards according to the rank and not according to a Percentage
because I think that every month the plugin logically ?. so here is my idea to add

example:

1st of the month =reward pos 1
2nd =reward pos 2
3rd =reward pos 3
etc etc etc...

all this in automatic rewards / month

the voting system works well but the reward system is not complete yet

Gtop100 pingback preview URL shows vote::admin.sites.verifications.key in site editing

Issue

When accessing the page located at /admin/vote/sites/{id}/edit for a Gtop100 entry:

Instead of showing the following text:

  • The votes on this site will be automatically verified. Pingback URL: :url

The following text is shown:

  • vote::admin.sites.verifications.key

Screenshots

image

Steps to reproduce

  1. Add a gtop100.com site.
  2. Edit the newly added gtop100.com site.
  3. The text shown underneath the URL should be incorrect, preventing the user from accessing their pingback URL. This is regardless of API Key having a value.

Some additional info

Since I was not sure if this is a bug or a configuration problem, I ended up having a look at the code. To me, this seems to be due to the replacement of the regex key to requireKey('api_key') from the most recent version of the VoteChecker class.

This seems to cause the call to verificationForUrl() to not result in intended behaviour, due to $verifier->requireVerificationKey() now returning true, skipping the pingback behaviour.

I am not knowledgeable with the codebase of Azuriom so I might be wrong on this, though.

Bug with {player} function.

Bonjour ! 🇫🇷

J'ai remarqué il y a quelques jours l'existance de la fonction {player} pour directement intégrer le pseudo du joueur sur le site du vote. Mais du coup ça ne fonctionne pas. Quels étapes sont à réproduire pour avoir le bug ?

  1. Avoir Azuriom V1.0.2,
  2. Avoir le plugin vote V1.0.2 également,
  3. Aller dans l'onglet "Sites" du plugin Vote,
  4. Essayer avec un site compatible (SMV par exemple),
  5. Rajouter ?pseudo={player} à la fin du lien,
  6. Résultat : Une fois arrivé sur le site, ça met {player} dans la case "Pseudo" au lieu du pseudo du joueur sur le site.

J'ai essayé avec le site de votes crée par @Maxlego08 et il m'a certifié que ça fonctionnait.


Hello ! 🇺🇸

I found out a few days ago that there is a {player} function to directly integrate the player's nickname on the voting site. But it doesn't work. What steps are to be repeated to get the bug?

  1. Have Azuriom V1.0.2,
  2. Have the voting plugin V1.0.2 too,
  3. Go to the "Sites" tab of the Vote plugin,
  4. Try with a compatible site (SMV for example),
  5. Add ?pseudo={player} at the end of the link,
  6. Result: When you arrive on the site, it puts {player} in the "Nickname" box instead of the player's nickname on the site.

I tried with the voting site created by @Maxlego08 and he certified me that it worked.


~ @Noltox ~

7 days to Die Voting

Hello! Would it be possible to add the voting website "7daystodie-servers.com" for the game 7 Days to Die? Thank you very much!

Non Registered User Voting

Just a small suggestion, a way to allow non-website registered users to vote. That would allow flexibility for those game servers that have children players that's parents wont let them register for the site a way to vote. A Vote as guest Button would be the most optimal option

Multiple reward for only on site !

Hello,
if a user opens several windows of the voting page and chooses the servers-minecraft.org site, when he votes he receives as many rewards as there are open windows. Is there a way to block this system?
thanks

Suggestion: Discord Webhooks

Hello! I propose to have a possibility that when a vote is done to have a message by webhooks on a server discord can be sent with a customizable message.

Add a server selector before voting

Description of your suggestion

As a lot of CMS actualy do it, it would be very cool to add a way (can be toggled off or on for people who doesn't want it) to select a server before voting, like that we could avoid the hard way of giving the reward on every servers or also do not need to custom code a plugin to send reward from the proxy (this is a bit buggy due to for exemple velocity not allowing bukkit commands on the proxy)

Advantages

For people using LoadBalancers or muliple lobby, it could be cool to have an option to toggle that thing off to not let servers owners expose all the servers to the user or to not let user struggle with which server they wan't to get the reward (when there is a lot)

Problème de vérification avec serveursminecraft.org

Bonjour tout le monde !

Depuis quelques temps maintenant, certains joueurs me signale un problème avec ce site de vote au moment de la vérification.
Le problème étant que le plugin Vote ne vérifie pas correctement si le vote est validé ou non. Donc les utilisateurs ont simplement besoin de cliquer sur le bouton pour être redirigé vers ce site, attendre quelques secondes sur la page sans pour autant faire le captcha pour confirmer le vote. Le vote est donc validé sur Azuriom avec succès et les récompenses reçus en jeu...
J'ai vérifié de mon côté si la vérification était bien activé, et oui :/

Voici un extrait en .gif réalisé par un des joueurs.

En espérant avoir des nouvelles/solutions à propos de ce bug.

Bonne année 2023 à tout le monde !
~ Noltox ~

Add Italian website list to available websites

Hi, first of all, the other italian website https://minecraft-italia.it has closed, you can remove it from the list.

At the end in Italy we have only one website list, could you please implement it?
This is the website (https://minecraft-italia.net/lista/) but this website has not an API, it works with Votifier plugin,
Here you can see an example of server page on this website, votes works with votifier. I don't know if you can add it but this is the last server list in Italy, please take it in consideration
Screenshot_1

Regards

minecraft-italia.net website doesn't check correctly the votes

Hi, the votes from https://minecraft-italia.net/lista/ are not properly checked by the plugin, when I press button for voting the server and I go to this website, the plugin says to me in website, "Server Error" and gave me the reward, but without voting, just going to a server page. Could you fix it?

For example I tried this server page https://minecraft-italia.net/lista/server/lyzard

Screenshot_1
Here for voting the server, but the plugin gave the reward istantly when you go on website, not when you press button vote and you vote correctly

Logs:

[2023-08-26 11:56:12] production.ERROR: Malformed UTF-8 characters, possibly incorrectly encoded {"userId":199,"exception":"[object] (InvalidArgumentException(code: 0): Malformed UTF-8 characters, possibly incorrectly encoded at /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Http/JsonResponse.php:88)
[stacktrace]
#0 /home/newwavef/public_html/vendor/symfony/http-foundation/JsonResponse.php(49): Illuminate\\Http\\JsonResponse->setData(Array)
#1 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Http/JsonResponse.php(32): Symfony\\Component\\HttpFoundation\\JsonResponse->__construct(Array, 200, Array, false)
#2 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/ResponseFactory.php(101): Illuminate\\Http\\JsonResponse->__construct(Array, 200, Array, 0)
#3 /home/newwavef/public_html/plugins/vote/src/Controllers/Admin/SiteController.php(108): Illuminate\\Routing\\ResponseFactory->json(Array)
#4 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Azuriom\\Plugin\\Vote\\Controllers\\Admin\\SiteController->verificationForUrl(Object(Illuminate\\Http\\Request))
#5 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction('verificationFor...', Array)
#6 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch(Object(Illuminate\\Routing\\Route), Object(Azuriom\\Plugin\\Vote\\Controllers\\Admin\\SiteController), 'verificationFor...')
#7 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#8 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Routing\\Route->run()
#9 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#10 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authorize.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#11 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Auth\\Middleware\\Authorize->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'vote.admin')
#12 /home/newwavef/public_html/app/Http/Middleware/EnsureTwoFactorAuthEnabled.php(24): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#13 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Azuriom\\Http\\Middleware\\EnsureTwoFactorAuthEnabled->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#14 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authorize.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#15 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Auth\\Middleware\\Authorize->handle(Object(Illuminate\\Http\\Request), Object(Closure), 'admin.access')
#16 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#18 /home/newwavef/public_html/app/Http/Middleware/LogoutIfSuspended.php(25): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#19 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Azuriom\\Http\\Middleware\\LogoutIfSuspended->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#20 /home/newwavef/public_html/app/Http/Middleware/CheckForMaintenanceSettings.php(40): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#21 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Azuriom\\Http\\Middleware\\CheckForMaintenanceSettings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#22 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#23 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\VerifyCsrfToken->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#24 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(60): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#25 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\AuthenticateSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#26 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(57): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#27 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#30 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#31 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest(Object(Illuminate\\Http\\Request), Object(Illuminate\\Session\\Store), Object(Closure))
#32 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#33 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#34 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#35 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#36 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(800): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#39 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#40 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#41 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#42 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#43 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#44 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#45 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#46 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#47 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#48 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#49 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#52 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#53 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#54 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#55 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#58 /home/newwavef/public_html/app/Http/Middleware/EnsureInstalled.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#59 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Azuriom\\Http\\Middleware\\EnsureInstalled->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#60 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#61 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#62 /home/newwavef/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#63 /home/newwavef/public_html/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#64 /home/newwavef/public_html/server.php(19): require_once('/home/newwavef/...')
#65 {main}
"} 

Add an image for the rewards

Description of your suggestion

Add image field for vote plugin rewards

Advantages

This will display reward images instead of just text.

Error 500

I got 500 error, I have try to disable/enable the plugin but I have the same issue.

Error 500

Error 500 on the /vote page, don't know why

Feature request: Execute a command when a vote is available

🇫🇷 Bonjour me voici avec une nouvelle suggestion pour le plugin Vote !
J'ai eu l'idée d'une nouvelle fonctionnalité pour le plugin Vote d'Azuriom qui aurait comme objectif d'envoyer des commandes lorsqu'un vote est disponible sur le site.

Où pourrait-on ajouter ces commandes ?

Après multiples réfléxions, je me suis dis que ça pourrait bien avoir sa place dans l'onglet "Paramètres" en dessous des cases pour les "Commandes globales".

---> Si vous avez des retours à faire sur ma proposition, je suis ouvert à toutes réponses !


🇬🇧 Helloww, here I am with a new suggestion for the Vote plugin!
I had the idea of a new feature for Azuriom's Vote plugin that would have the purpose of sending orders when a vote is available on the site.

Where could we add these commands?

After many reflections, I thought it could be in the "Settings" tab under the "Global Commands" fields.

---> If you have any feedback on my suggestion, I'm open to any answer !

Automatic page refresh after vote

🇫🇷 Salutations la communauté Azuriom !
Aujourd'hui je vous propose ma nouvelle petite idée d'amélioration qui est le rafraîchissement automatique de la page, je m'explique :
Lorsqu'on veut valider un vote actuellement c'est juste un rectangle sur lequelle on clique pour vérifier le vote mais une fois le vote vérifié, le timer ne s'affiche pas directement, on est obligé de rafraichir la page.
Ce que je propose donc c'est qu'une fois que le vote est vérifié cela affiche le timer du vote en question.

~ Noltox ~


🇬🇧 Hellow !
Today I propose you my new small idea of improvement which is the automatic refreshment of the page, I explain myself:
When you want to validate a vote currently it's just a rectangle on which you click to check the vote but once the vote is checked, the timer is not displayed directly, you have to refresh the page.
What I propose is that once the vote is verified it displays the timer of the vote in question.

~Noltox ~

Display number of votes to users

Add a small widget on the voting page that allows the user to see his number of vote. Currently, users can only see the top and the podium, but not their personal one.

Pre-fill username from URL

Bonjour ! 🇫🇷
Voici ma nouvelle idée pour le plugin vote d'Azuriom :

Ajouter le support de la fonction https://tonsite.fr/vote?pseudo=Pseudo qui permettrait de directement ramener vers la page de vote du pseudo indiqué dans l'URL sans devoir passer par la page où il faut remplir le pseudo.

Pourquoi cette fonctionnaltié serait utile ?

  • Cette fonctionnalité éviterait le fait de se connecter avec Microsoft car la connexion avec le système actuel est un peu foireuse,
  • Elle permettrait de directement donner le lien avec le pseudo du joueur pré-rempli dans le tchat Minecraft avec PAPI en faisant par exemple https://tonsite.fr/vote?pseudo=%player_name%,
  • Elle permettrait de mettre en favoris sa page de vote avec son pseudo.

*Si vous avez des questions à propos de ma suggestion, vous pouvez laisser un commentaire sous cette issues.

Bonne journée,
~ Noltox ~


Hello ! 🇺🇸
Here is my new idea for the Azuriom voting plugin:

Add support for the https://website.fr/vote?pseudo=Pseudo function which would allow to directly bring back to the voting page of the nickname indicated in the URL without having to go through the page where you have to fill in the nickname.

Why would this feature be useful?

  • This feature would avoid the need to connect with Microsoft because the connection with the current system is a bit messy,
  • It would allow to give directly the link with the nickname of the player pre-filled in the Minecraft chat with PAPI by doing for example https://website.fr/vote?pseudo=%player_name%,
  • It would allow you to bookmark your voting page with your nickname.

*If you have any questions about my suggestion, you can leave a comment under this issue.

Have a nice day,
~ Noltox ~

Placeholder for get vote website name

Description of your suggestion

Hi! It would be nice to have a placeholder for votes so that you can retrieve the name of the site the player voted at
Example:
broadcast {player} voted for the server ({vote_site})

Advantages

In my case, I use a system that sends a message in a certain channel on discord, and I would like to add the name of the site.

Problème avec le plugin Vote / avec Bedrock Connect.

I can translate this post if needed. Sorry it's a copy paste from the discord, I had no answer

Salut tout le monde, je vous ecris pour savoir, avec le plugin de /vote, s'il serait possible d'accepter et de gérer les votes recus par des joueurs bedrock.

Si on indiquait quel préfix dont nous nous servons: (exemple .devant le nickname)

PS: j'ai tenté sur les sites web des votes, de rajouter le .devant le nick name sans succès.

Le site web acceptait mon vote, mais le joueur ne recevait pas les rewards voulus.
Ce serait super de pouvoir fix cela svp :)!

Rewards for votes don't work when using decimals

Bug description

Comme j'ai voulu l'expliquer sur Discord, actuellement le système de votes fonctionne à moitié, dès que l'on veut ajouter des récompenses avec des probabilités décimales, les récompenses s'emballent. Je m'explique :

En ajoutant une première récompense à 100%, tout fonctionne comme prévu
En ajoutant des récompenses à 10 et 1%, elles ont l'air d'être distribuées normalement.

Dès que j'ai commencé à ajouter des récompenses à 0.1 et 0.01%, les problèmes arrivent.

Ce que j'ai constaté :

  • Les récompenses à 0.1% n'ont JAMAIS été distribuées.
  • En ayant 2 récompenses différentes à 0.01%, l'une d'elle n'a jamais été distribuée tandis que l'autre a été distribuée à environ 100x sa probabilité initiale, comme si elle était à 1%

Constaté sur la base de 11 000 votes environ sur un mois, la seconde récompense à 0.01% a été récupérée plus de 100 fois alors qu'elle aurait dû être récupérée en moyenne une fois.


As I wanted to explain on Discord, currently the voting system works halfway, as soon as you want to add rewards with decimal probabilities, the rewards get carried away. Let me explain :

Adding a first 100% reward, everything works as expected
By adding rewards at 10 and 1%, they seem to be distributed normally.

As soon as I started adding rewards at 0.1 and 0.01%, the problems started.

What I observed:

  • 0.1% rewards were NEVER given out.
  • By having 2 different rewards at 0.01%, one of them was never distributed while the other was distributed at around 100x its initial probability, as if it were at 1%

Found on the basis of approximately 11,000 votes over a month, the second reward at 0.01% was collected more than 100 times when it should have been collected on average once.

Step to reproduce

Voici mon tableau de récompenses pour illustrer mes propos ci-dessus : https://prnt.sc/c_i1h5h_YXgO

La récompense 11 Test a remplacé la récompense 10 qui justement était drop anormalement mais elle est drop à la même probabilité soit environ 1% au lieu de 0.01%


Here is my reward chart to illustrate my comments above: https://prnt.sc/c_i1h5h_YXgO

The 11 Test reward replaced the 10 reward which was dropping abnormally but it is dropped at the same probability, i.e. around 1% instead of 0.01%

Errors / Logs

No response

Web server

No response

Database type

None

PHP version

No response

Additional context

Vous pouvez me contacter sur Discord : _Luke_#0001

You can contact me on Discord: _Luke_#0001

Discord Webhook on vote

Add a feature to add a Discord webhook field in the Settings tab of the plugin to configure a webhook URL.

Also, don't forget to add blocked words, especially for @everyone and @here tags for the author & message content to block pings.

Problème potentielle avec le plugin de vote

Hey !

J'ai remarqué il y'a quelques jours que simplement en changeant d'IP ou en changeant la date de son ordinateur/ téléphone, on pouvais bypass le cooldown des votes, ce qui est assez embêtant quand on donne des récompenses, car c'est clairement du give :/

Y'a t'il quelque chose a faire pour régler ce soucis ?

English Version :

I noticed a few days ago that simply by changing your IP or changing the date of your computer/phone, you could bypass the vote cooldown, which is quite annoying when you give out rewards, because it is clearly a give :/

Is there anything to do to resolve this problem?

TopServeur issue

The plugin redirect well on the externe TopServeur's page
The vote is workling on the TopSereur's page
But is never counted on Azuriom
Problem since 05/02/2024, 11pm (everything works before that, and I didn't change anything on my website)

Add a global vote function

I noticed that with the current system when many users vote for the server the in game chat can be spammed.
Especially when recovering votes

The solution could be to have an option that can be activated on request to choose to activate the "spam reduction" mode for example which would send a message every X minutes (configured via the plugin on azuriom) which would have the function of recording the number of votes during the X period and then recording the nickname of the last person who voted.

Which could possibly give this.. "{last_user} and X other people just voted for the server"

I think this addition could be a real asset that other CMS do not have, and I also think that this system can appeal to a good number of users.

Best regards.

Vote plugin custom text

Description of your suggestion

Hi , possibility to add a custom text when player vote and possibility to use {reward_name} in text

Text in question :
"Votre vote a été pris en compte, vous recevrez bientôt vos récompenses !"

Advantages

Nice for see what reward player win without login in game

Nickname verification

hello I come to ask you if it is possible to add the possibility to activate or deactivate the verification of the nickname to the selection of the nickname on the site
no need to nlogin or authme just disable the verification of nicknames

add a tier system based on number of votes cast

my suggestion would be to add a tier system with different rewards for each tier (entirely customizable by the user). my idea is simple: the user votes 10 times, moves on to tier 1, votes, reward : 5 pb (60%)... 25 times, moves on to tier 2, receives 1 key (on), 10 store points (40%), a rank (15%)... and at each completed tier a customizable message is sent to the server. a system like the NationsGlory server voting system (for those in the know).
Don't forget to add a ranking system too!

Add a feedback or a tracking inside admin panel.

Can you add feedback so users can know if they received a reward. Also will be good that rewards given to appear in the admin panel. If not is difficult to know if the reward was given and also if the reward is not automatic.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.