Raised This Month: $32 Target: $400
 8% 

Vote on Join


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 06-23-2020 , 08:30   Vote on Join
Reply With Quote #1

Hey AM!

I wanted to request a plugin that shows a custom vote on join and stores the results in a vault. Can anyone help with it? Thanks

Last edited by MaNaReaver; 06-23-2020 at 08:33.
MaNaReaver is offline
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 01-11-2021 , 06:46   Re: Vote on Join
Reply With Quote #2

Anyone yet? Thanks
__________________
MaNaReaver is offline
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 10-07-2021 , 13:10   Re: Vote on Join
Reply With Quote #3

Quote:
Originally Posted by MaNaReaver View Post
Anyone yet? Thanks
Been a year since I posted this, but I believe it would really change a lot of things for the game, as many other games use polls to assess what players need on the servers. I'd still want to know if this is possible to implement and whether anyone could work on developing a plugin that achieves this.

If a vote cannot be displayed to a single player, can anyone create a menu that opens up at join, or before mapchange, such that people can choose the option, which gets stored in a vault?

I'd really appreciate if someone could help out, and you have all my thanks!

Best regards,
MaNaReaver.
__________________
MaNaReaver is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-07-2021 , 19:23   Re: Vote on Join
Reply With Quote #4

Maybe provide more details so that someone could start writing it without a whole bunch of back and forth about what you want in the plugin.
__________________
fysiks is offline
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 10-08-2021 , 14:37   Re: Vote on Join
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
Maybe provide more details so that someone could start writing it without a whole bunch of back and forth about what you want in the plugin.
As stated earlier, the plugin should either take a vote, or show a menu that takes user-input and stores it in a vault which can be accessed whenever necessary.

As I didn't receive any replies a year ago, I decided to add more details in, which could help me understand what can be achieved with the game engine.
__________________
MaNaReaver is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 10-08-2021 , 21:50   Re: Vote on Join
Reply With Quote #6

Quote:
Originally Posted by MaNaReaver View Post
As stated earlier, the plugin should either take a vote, or show a menu
What content goes in the menu/vote?

Quote:
Originally Posted by MaNaReaver View Post
that takes user-input
What kind of input?

Quote:
Originally Posted by MaNaReaver View Post
and stores it in a vault which can be accessed whenever necessary.
What format are you expecting for the aforementioned undefined data?



Also, there is a very good probability that someone won't help you out without more details so if you'd be interested, one option would be to learn how to write your own plugin(s). I would say when you're making an effort to write your own plugin, you're more likely to get help (because it's less effort on our part; life is busy).
__________________

Last edited by fysiks; 10-08-2021 at 21:53.
fysiks is offline
MaNaReaver
Member
Join Date: Apr 2020
Location: India
Old 10-09-2021 , 20:32   Re: Vote on Join
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
What content goes in the menu/vote?
The content could be anything, ranging from questions/polls, with answers/options that can be chosen by a player.

Quote:
Originally Posted by fysiks View Post
What kind of input?
User input is the option chosen by the player - that gets stored in a vault.
An admin could access those results with an amxx command, that shows the results - either on console, chat, or menu:
1. Question 1. <Question1>
2. Total Number of Votes: <TotalVotes1>
3. Vote on Option A) <Option1A> : <NumberOfVotes1A>
4. Vote on Option B) <Option1B> : <NumberOfVotes1B>
... with Questions ranging from 1 to N.

The questions and options can be stored in a file (questions.ini), which the plugin can use as strings to display the menu/showcase results.

The menu should display the following:
Question <1/N> : <Question1>
1. <Option1A>
2. <Option1B>
...
9. Next

Storing the option chosen by a user in the menu for each question can be carried out efficiently using this approach. However, the menu should open up automatically at a certain timeleft (preferably that can be set-up by a cvar), such that a player can vote and the results can be stored before map-change.

Quote:
Originally Posted by fysiks View Post
What format are you expecting for the aforementioned undefined data?
A format that stores the results alongside a SteamID such that a player cannot vote multiple times (A check to make sure a player has voted/answered is essential here).

Quote:
Originally Posted by fysiks View Post
Also, there is a very good probability that someone won't help you out without more details so if you'd be interested, one option would be to learn how to write your own plugin(s). I would say when you're making an effort to write your own plugin, you're more likely to get help (because it's less effort on our part; life is busy).
Unfortunately, I have no expertise with sql/vault modules, and have been unable to learn how to work with it over the last year, therefore I needed someone to help me out instead.

It won't just benefit me but many other servers who want to consider taking regular votes from players to receive suggestions/improvements/modifications, thus making people hold the choices instead of a moderator/owner.

Best regards,
MaNaReaver.
__________________

Last edited by MaNaReaver; 10-09-2021 at 20:52.
MaNaReaver is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode