Sueta

ChatPolls (Archived)

1.3

Easily, efficiently, and quickly get the opinions of your active players.

·Plugin
  1. 1.3latestChatPolls v1.3 UpdateAug 12, 2020
    Finally, another major update! Apologies for taking so long; not only is this update coming with a few excellent features that took a little bit to implement, but school started up and its been taking a decent chunk of my time . Anyways, this update starts off with a big change: - /chpstart now has an Interactive Mode · Executing /chpstart by itself will now activate an interactive mode, AKA a conversation between the sender and plugin that allow you to easily create a poll. The old implementation is present as always in case you want to use it . Execute /chpstart without any arguments (by itself) to try it out! · A complete internal overhaul of the way this command works. I found a few annoying bugs that I've fixed in this latest update and redid its logic thanks to some awesome people who helped me along the way. · /chptest does not have interactive mode (for now). - Fixed /chpreload's functionality · As I was looking through my project in the beginning of making this update, I realized that /chpreload was pretty broken. Some values wouldn't even change unless the entire plugin was reloaded, which made the command pretty pointless. So I revamped it heavily; any values in your config that didn't change with /chpreload will now! - Default daily checking for updates (can be changed, see new config entries) · The plugin now checks for updates every 86400 seconds, or every day. You can change this in your config.yml. - Two new config.yml entries · updateCheckerDelay: 86400 under ChatPollsGeneral and VotePoll: ENTITY_PLAYER_LEVELUP under ChatPollsSound. · To get these values, you can either regenerate your config.yml or add them manually under each category. · updateCheckerDelay: 86400 means the update checker will run every 86400 seconds, or every day. You can change this to anything above 0 (if you do not specify a valid value, default will be 86400) · Meanwhile, VotePoll is the sound that the voter hears when they vote on a poll. It has the same behavior as StartPoll and FinishPoll; Set it to "None" for no sound to play. - New command: /chp · This command doesn't do much, but it does redirect the user to type "/help chatpolls" to get a list of available commands. - Heavy internal reworking and rewrites (ChatPolls 1.3 Permission & Usage: https://pastebin.com/9tytKd8U) (Old ChatPolls 1.2 Permissions & Usage: https://pastebin.com/yh3eran1) (Old ChatPolls 1.1 Permission & Usage: https://pastebin.com/NqyeWEJ5) (Old ChatPolls 1.0 Permission & Usage: https://pastebin.com/rFAMf1yk) Have a nice rest of your week!
    2 downloads
  2. 1.21ChatPolls v1.21 UpdateJul 31, 2020
    A minor update with the main feature being: - bStats support! · ChatPolls now gathers completely anonymous statistics with bStats. Yay! - A subsequent configuration change · enablebStats (ChatPollsGeneral.enablebStats) has been added to config.yml. Regenrate your configuration to get this option, or add it manually under ChatPollsGeneral. · Set this value to true to start bStats collection. Set it to false to disable this behavior. - Minor string fixes (ChatPolls 1.2 Permissions & Usage: https://pastebin.com/yh3eran1) (Old ChatPolls 1.1 Permission & Usage: https://pastebin.com/NqyeWEJ5) (Old ChatPolls 1.0 Permission & Usage: https://pastebin.com/rFAMf1yk) Have a nice weekend!
    13 downloads
  3. 1.2ChatPolls v1.2 UpdateJul 28, 2020
    Another update! This one is focused on some new features and fixing a few critical bugs. Changelog: - Added an optional rewards system for voters, anonymous mode, and a delay for when a poll is announced + is votable. · Using -r with CHPStart will automatically bring up the rewards menu, where you can add, remove, modify, or list optional commands to be ran by console for each user who votes on a specific poll. (This does not work with /chptest, the ones below do) · Using -a with CHPStart will make the creator of the poll "Anonymous." · Using -delay <seconds> with CHPStart will prevent a poll from becoming active + being announced to the server for a certain number of seconds. Users cannot vote on this poll during this delay and using /CHPFinish on a non-test poll before the timer runs out will prevent the poll from being announced to online players. - Revamped /chpmodify, /chpstart, and /chptest functionality. · CHPModify now has two extra options to choose from: rewards and active. Rewards will let you modify what (optional) commands are ran when a user votes on a certain poll. Meanwhile, active will let you allow or deny users to vote on a poll. · CHPStart and CHPTest have completely revamped functionality: · Usage: /chpstart -t <title> -d <description> -o <option1> -o <option2> (-delay <timeInSeconds>) (-r) (-a) (-clearchat)... · Usage: /chptest -t <title> -d <description> -o <option1> -o <option2> (-delay <timeInSeconds>) (-a) (-clearchat)... · To start a new poll with these commands, you must follow their above formats. You can see examples on the latest pastebin below. - Added /chplist · /chplist gets a list of all active poll numbers. - Some code optimizations and stability improvements · Some minor code optimizations · Fixed a bug where /chpvote had a misspelled permission; this may have caused issues when trying to vote previously · Fixed a bug where /chpfinish would fail to properly calculate percentages (gotta love integer math) · Made more commands only executable by online players rather than console to avoid potential issues in the future · Revised some messages and language choices (permission denied message, disabling message, etc.) · Got rid of some useless imports (why didn't I remove these before??) (ChatPolls 1.2 Permissions & Usage: https://pastebin.com/yh3eran1) (Old ChatPolls 1.1 Permission & Usage: https://pastebin.com/NqyeWEJ5) (Old ChatPolls 1.0 Permission & Usage: https://pastebin.com/rFAMf1yk) No configuration changes this time around. Have a lovely week! (Please let me know if you encounter any issues!)
    16 downloads
  4. 1.1ChatPolls v1.1 UpdateJul 18, 2020
    Lots and lots of changes! This update focuses on various quality of life fixes, as well as new features and bringing requests from you guys Changelog: - Added /chpmodify and /chptest (see below for usage examples.) · /chpmodify lets you modify an active poll with the conversations API. · /chptest lets you test a poll by making it send only to yourself. · (See examples in the 1.1 Permissions and Usage Pastebin below.) - /chpinfo function slightly modified. Now, running the command alone will give you a list of active poll numbers that you can choose from, instead of just "not enough arguments." - Color codes support!! Typing a prefix when making or modifying a poll to apply them (&3, &4, &5, etc.) · I may slightly modify the way this is implemented in the future; there are some minor internal kinks that I'll work out - Configuration changes with some new options! · ChatPollsGeneral.prefixName (default = [ChP]) · The default abbreviation used by ChatPolls with every message it sends out. Default is [ChP]. · ChatPollsGeneral.customPollTimeout (default = 1200) · This is the delay until /chpmodify expires and ends its current operations. Default is 1200 seconds. · Note: A config.plist generated in version 1.02 or below will not update its values. You can either add prefixName: [ChP] and customPollTimeout: 1200 under the ChatPollsGeneral section manually, or simply delete your configuration and let it regenerate. I'm working on making this a better process, but the Configuration Handler does not like many comments in config.yml and is making it difficult . - Some code optimizations and stability improvements · Significantly improved update checker · Removed static variables · Fixed some bad logic errors on command condition checks. · Minor spelling/grammar/formatting errors fixed · Organization (ChatPolls 1.1 Permission & Usage: https://pastebin.com/NqyeWEJ5) (Old ChatPolls 1.0 Permission & Usage: https://pastebin.com/rFAMf1yk) Have a lovely weekend! (If you find any bugs, feel free to let me know and I'll fix them in a quick-fix update if needed.)
    22 downloads
  5. 1.02ChatPolls v1.02; Quick FixJul 17, 2020
    Fixed a logic error in /chpvote. (Thanks kamutking!)
    12 downloads
  6. 1.01ChatPolls v1.01 UpdateJul 16, 2020
    - Fixed update checker (for now) - Minor spelling fixes
    7 downloads
  7. 1.0Jul 16, 2020
    3 downloads

Similar projects

Plugin →