Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enh] Vote functionality #160

Open
jpcsupplies opened this issue Jan 24, 2017 · 2 comments
Open

[enh] Vote functionality #160

jpcsupplies opened this issue Jan 24, 2017 · 2 comments

Comments

@jpcsupplies
Copy link
Owner

Server admins may want to periodically quiz their players on a range of topics eg should we change maps, should we wipe, should player x be promoted/banned/allowed in faction.. usual democratic stuff.

Might be a good idea to implement something like this.

Not sure if it should be admin only or something faction leaders can do with its members too. Maybe both configurable by the admin to be allowed or denied.

Since it would require global messaging of some sort it would probably come under the #70 news type category somehow. Since votes would probably show in our news feed, and it would need to message all online players (or possibly those connecting)

The datafile itself would be pretty basic to implement, just needs to list the vote question, the scope (global or faction) and the names of players and their votes. Probably need an optional expiry time too.

Ie

<vote>
<creator>phoenixx steamid=1234567890</creator>
<question>Should we change to a new map</question>
<expiry>1/2/2017 00:00</expiry>
<scope>global_</scope>
<responses>
bob=y
fred=n
harry=y
</responses>
</vote>

<vote>
<creator>screaming_angel steamid=4234567890</creator>
<question>Should we allow fred into our faction</question>
<expiry>null</expiry>
<scope>faction_=Blue_mining</scope>
<responses>
bob=y
harry=n
</responses>
</vote>
@adisciple50
Copy link

i would suggest this as a seperate mod?

@jpcsupplies
Copy link
Owner Author

It should fit right into the news system, its just an area we didn't develop much. The news system is a bit like the news feeds you get in sim games like sims or transport tycoon; or the news from the frontier feeds in games like frontier first encounter (elite 2) at this point it is just an ENH idea, not necessarily going to be added. I try to jot down any good ideas that is within the scope of modapi to implement... for example the server hopping mod at this stage is a seperate project due to the various finer details to iron out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants