GithubHelp home page GithubHelp logo

mclemente / foundryvtt-easy-polls Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 95 KB

Module allowing to create, manage, vote and see results of Polls in Chat Log during games played via Foundry VTT.

License: MIT License

JavaScript 79.99% HTML 7.95% SCSS 4.05% CSS 8.01%

foundryvtt-easy-polls's Introduction

FoundryVTT - Easy Polls

GitHub release (latest SemVer) GitHub Releases GitHub All Releases

This module aims to provide solution to create, manage, vote and see results of Polls in Chat Log during games played via Foundry Virtual Tabletop.

Usage

To create a poll, use /poll chat command. First line becomes the question.

Each of next lines becomes an answer. Use Shift+Enter to go to new line when writing a message

Example:

/p Ultimate Question of Life, the Universe, and Everything
Stupid answer
Dumb answer
Just answer
Barely answer
42
¯\_(ツ)_/¯

Screenshots

Translations

If you are interested in translating my module, simply make a new Pull Request with your changes, or contact me on Discord.

Contact

If you wish to contact me for any reason, reach me out on Discord using my tag: mclemente#5524

Acknowledgments

  • Thanks to Discord member Vathraq for the idea for this module!
  • Forien, for the original module

License

Easy Polls is a fork of Forien's Easy Polls, used under Creative Commons Attribution 4.0 International License.

Easy Polls is licensed under MIT License by Matheus Clemente.

This work is licensed under Foundry Virtual Tabletop EULA - Limited License Agreement for module development from February 17, 2021.

foundryvtt-easy-polls's People

Contributors

forien avatar lioheart avatar mclemente avatar

Watchers

 avatar  avatar

foundryvtt-easy-polls's Issues

[BUG] v10 issue with lang

Module Version: v1.2.1

Describe the bug
When installing it gives an error about lang/pt-BR.json not existing.

This is on v10 of foundry.

image

Allow non-GM players to use the create poll keybinds

Currently, both keybinds are GM only. I prefer to delegate polls to my players, especially when they are strategizing about what to do next. Would be great if they could use the keybind to create a poll themselves.

Macro Poll creation?

My usecase is that i need to frequently run the same poll. 1/hour in my game the players vote to who should get a HeroPoint.

It would be cool to be able to have a preset poll, or a macro that I could click to trigger the same vote.

or even if easy-polls remembered it's last poll, so I wouldn't have to re-enter the options each time.

is the api there have a macro that sets up a poll?

Poll Options accessible via chat

Currently, when creating a poll with a chat message, there doesn't appear to be a way to automatically set the poll as shown results, multiple choice, or secret. It just launches the poll configuration window with the normal defaults. It would be nice if we could type in a poll (or put one in a macro) that will bypass the config window and output directly to chat.

Maybe include the ability to add arguments to a chat poll? Example:

/poll(multiple,secret) What do you want to drink?
Water
Tea
Soda
With Ice
Without Ice

save polls

Hey, I would like to save my polls to reference it, once in a while

[BUG] Incompatible with PF2E Dorako UI

Module Version: v1.0.1

Describe the bug
When both Dorako UI and Easy Polls are both active modules, using the key to open Easy Polls (normally, P - but I remapped to Shift P and same thing happened) - Foundry 'locks up'. In reality, it is stuck in a loop fighting with Dorako.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure both modules are active.
  2. Try to create a poll

Expected behavior
I would expect it to not lock up Foundry.

Screenshots
If applicable, add screenshots to help explain your problem.

Browser:
Not using browser, just Foundry.

Foundry Version:
v11.305

Game System:
Pathfinder v5.2.0

Additional context
Add any other context (like other modules installed) about the problem here.

Quick Yes/No Poll

Since the majority of players are playing with voice chat, it would be interesting to have a option for the DM to do a Quick Yes/No Poll.
Scenario: The players are discussing if they should kill or spare a NPC. The GM decides to create a poll saying on the voice chat: "Vote "Yes" to kill and "No" to spare". The DM would then create a quick poll with just Yes/No options for the players to vote.
Currently, the DM would need to type:

/p Poll:
Yes
No

With this system there would be a chat command that would automatically type this. Example: "/p-yn" would output the same as the previous command.
A similar thing can be made using Macros, but it would be interesting to have this natively.

Revelar Resultado Fechado

Oi.

Depois de realizar uma votação fechada seria legal o mestre ter um botão para poder revelar o que deu para os jogadores.

[BUG] Warning

Oi

Acho que esqueceu de atualizar os dados de versão na interface do fvtt, está com esse alerta

image

[BUG]

Module Version: v10 build 290
Pathfinder 2nd Edition: 4.3.4
Easy Polls: 1.3

Describe the bug
I've selected "Single Vote" but the player is able to select multiple values

To Reproduce
Steps to reproduce the behavior:

  1. Type "/p-yn" in dialog box
  2. On popup, Number of Votes: Single Vote is defaulted and selected.
  3. Click Create
  4. On other browser logged in as a player I see the chat card with Yes and No checkboxes and I can click both

Expected behavior
The Yes/No boxes are radio buttons, or check boxes that only allow one item to be checked.

Screenshots
**Uploading** image.png…
Browser:

Foundry Version:

Game System:

Additional context
Add any other context (like other modules installed) about the problem here.

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.