Skip to content

Latest commit

 

History

History
136 lines (116 loc) · 6.47 KB

cmi-votes.md

File metadata and controls

136 lines (116 loc) · 6.47 KB

FAQ - How do I use CMI to deal with Votes?

FAQ Menu

CMI and Bungeecord info-, • Chance example, • CMI Chat manager, • Chat format info, • Chat filter, • Chat rooms, • CMI Commands info, • Custom Join and Leave, • CMI Economy manager, • Event commands, • Extending commands, • Getting started with CMI, • Glow info, • Create custom /help, • CMI Hex colors, • Importing data into CMI, • CMILib library info, • Customizing CMI Locale, • CMI Chat with LuckPerms prefix, • Migrate to MySQL database, • Player stuck in Mode?, • User-moderation info, • More message commands, • MOTD, • Parameters explained, • Ranks info, • Create custom /rules, • Running CMI, • Safety tips, • Specialized commands info, • Toggle example, • Trash example, • CMI Vote manager, • Worth info.

Official Zrips Links
  • Zrips Website
    https://www.zrips.net/
    The official website, wiki/documentation/information
  • Zrips Discord
    https://discord.gg/dDMamN4
    The official Discord community server with member-driven support
  • Zrips Github
    https://github.com/Zrips
    The place for bug reports and feature suggestions
Prerequisites
  • Buy and Download CMI (premium plugin)
    https://www.spigotmc.org/resources/3742/
    Get the CMI plugin if you haven't already, and then install it on all your servers
  • Also Download CMILib (free library) (more info)
    https://www.spigotmc.org/resources/87610/
    All Zrips plugins require the CMILib .jar file. Get it and also put it on all your servers.
  • All my FAQ pages have been written for Spigot / Paper 1.20.x and CMI 9.6.x.x or newer.
  • The mrfdev Github page is not an official resource, we're building up our knowledge base as a courtesy.
  • I am an admin on the Zrips Discord, this does not mean what I share on here is official.

Counts, display, and reward players voting.


ℹ️ CMI can handle Votes

# Handles votifier system
# Applies for servers from 1.7.x and up
votifier: true
  • Then, make sure CMI is properly configured for your server, so please read and go through the Votifier: section and adjust accordingly. In config.yml, find the following, and make sure it's set to true:
Votifier:
  # When set to true votifier votes will be counted for player
  CountVotes: true
  • Optinally, you can limit votes per IP per day, exclude playernames from top list, set a cooldown, set it to perform certain commands, and configure additional rewards.

  • Commands: (Note: If you want /votes, instead of /cmi votes, then set the command to true in Settings/Alias.yml)

Player commands:
/cmi votes
/cmi votetop

Staff commands:
/cmi votes (playerName)
/cmi votetop (playerName)
/cmi voteedit (playerName) [add/set/take/clear] [amount] (-s)
  • CMI Permissions:
Recommended for players:
cmi.command.votes - Check players vote count
cmi.command.votetop - Check top vote list

To be considered for staff:
cmi.command.voteedit - Manage players votes
cmi.command.voteedit.others
cmi.command.votetop.others
cmi.command.votes.others
  • CMI Placeholders: (Note: Placeholders can be used in holograms, in-game chat, tablist, interactive commands, dynamic signs, etc.)
%cmi_user_votecount%
%cmi_user_dailyvotecount%
%cmi_votetop_[1-10]%
%cmi_votetopcount_[1-10]%
  • And finally; /stop the server, and start it up again to guarantee that everything's working properly.

You can find more information about the CMI plugin on the official site: zrips.net/cmi