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.
For CMI 9, let's you catch parameters entered in cmi aliaseditor made commands
You can then in the commands use $1
$5
$0
.. order doesn't matter. They're a reference to the stuff entered by the player, see example.
Additional information about CMI's specialized commands and comparison operators can be found here: https://github.com/mrfdev/CMI/blob/master/Resources/FAQ/cmi-specialized.md
Server owner used /cmi aliaseditor to make a /fruit command
Player types:
/fruit banana apple superman
$1 == banana
$1- == banana apple superman
Please note that just the $1 refers to the first paramter, this can be null, or whatever the player entered. So use wisely.
Please note that the $1- has a dash behind it, referring to the first and every other parameter behind it.
$0 == fruit (the command, without the / in front of it)
$1 == banana
$2 == apple
$3 == superman
$1- == banana apple superman
$4 == nothing there, so it is "null"
$1 $3 == banana superman
$0 $3 == fruit superman
$2- == apple superman
If you want to see if something's null, you can use check:!
from specialized commands:
check:$1==null! asConsole! cmi msg [playerName] {#orange} - Syntax is /$0 <something>
I hope this info helps!