Skip to content

Latest commit

 

History

History
134 lines (114 loc) · 6.07 KB

cmi-votes.md

File metadata and controls

134 lines (114 loc) · 6.07 KB

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

FAQ Menu

Bungeecord-Info, • Chance-Example, • Chat-Format, • Chat-Manager, • Chat-Filter, • Chat-Rooms, • Commands-Manager, • Custom-Join-Leave, • Economy-Manager, • Extending-Commands, • Getting-Started, • Glow, • Custom-Help, • Hex-Colors, • Importing-Data, • CMILib, • LuckPerms-Prefix, • Migrate-Database, • Mode-Stuck, • More-Msg-Commands, • MOTD, • Parameters, • Ranks, • Custom-Rules, • Running-CMI, • Safety-Tips, • Social-Addon, • Specialized-Cmds, • Toggle-Example, • Trash, • Vote-Manager, • Worth.

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.18.1 and CMI 9.1.1.1 or newer.
  • The mrfdev github page is not an official resource, we're sharing our knowledge as a courtesy.
  • I am a team member 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 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