![]() The CMI plugin also lets you define what an item is worth. Note: This is from my Saves/Holograms.yml file. '&6 %cmi_iteminhand_displayname% &fx %cmi_iteminhand_amount% ' Loc: world_wild 500.00 65.00 500.00 Interval: 0.3 Range: 6 RangeExtra: 6 Spacing: 0.22 SpacingIcon: 0.5 Interactable: true Commands: You'd have to change this if you wish to copy and paste it to use on your own servers. Note that the name of the world and the hologram location is specific to my server, and won't work on yours. You can also add a command to a hologram that when they right click the hologram it will sell what they're holding, and the money goes to their balance. Using CMI's Worth and Sell features, you can, for example, display what the player is holding, and say how much of that item they're holding, and how much it's worth if they were to sell it. You can use a hologram to run commands and to display dynamic placeholders. Using Worth and Sell in Holograms.Īnd finally, another example that combines multiple CMI features. Hopefully this gives you an indication what is possible utilizing all the CMI features one way or another to make a custom server experience for your players. %cmi_baltop_name_3% - %cmi_baltop_money_3% The same as above, but using dynamic placeholders from CMI that can display the top 3 balances on the server.ġ. See the above list of placeholders to learn which placeholders you can use to display the balance of the player. Check the Holograms page to learn more about how to use the Holograms in CMI. You can use /cmi hologram to create a new hologram that shows some placeholders that are personal to the player, for example their balance. ℹ️ Player's Balance or Top Player Balances in Holograms. You can even make a block, sign or NPC that can execute commands, give items, take money, or give kits by left/right clicking them. Using CMI's Holograms, Specialized Commands and Interactive Commands, combined with various commands, the sell feature and the CMI Economy engine, you can have players click on holograms to sell what they're holding. Here's an example of using CMI as an item shop: And maybe it can do just what you're looking for. But, that being said, CMI is dynamic, modern, and flexible enough to get pretty far. Personally I still recommend using a dedicated plugin on top of CMI for fully fledged player shops and chest shops. It is a bit out of the scope of the CMI plugin to have player shops, admin shops and such, but using CMI's existing features, they dp allow you to do quite a few things that get very close. ℹ️ Chest Shop / Item Shop / Shop Chest / Admin Shop Other plugins can now use CMI's Economy engine by hooking into Vault to transfer and store money for players. You can check the commands page and the permissions page to learn which commands and permissions along with them can be part of what you want out of your economy. Note: You can use /pay, /balance, etc as well by configuring the Alias.yml file. Placeholders: (that you can consider using) ![]() > - Check list of items with set sell prices cmi worth (all/blocks/hand/materialName) Allows to sell items not only from your hand Other commands related to CMI Economy can be the CMI Worth and CMI Sell features: cmi options (playerName) (option) (enable/disable/toggle/status) (-s) > - Allows to manipulate player balance > - Allows money transfer between worlds > - Allows to give out cheque with money amount directly to target player without requiring paper > - Allows to withdraw cheque balance when option in config file is enabled Note: If you wish to use the original Vault build, then please get the CMI Economy Injector (.jar) ).Download and Install CMI's Vault build ( ).I am an admin on the Zrips Discord, this does not mean what I share on here is official.The mrfdev Github page is not an official resource, we're building up our knowledge base as a courtesy.All my FAQ pages have been written for Spigot / Paper 1.19.x and CMI 9.5.x.x or newer.Get it and also put it on all your servers. Also Download CMILib (free library) ( more info)Īll Zrips plugins require the CMILib.Get the CMI plugin if you haven't already, and then Install it on all your servers The place for bug reports and feature suggestions The official Discord community server with member-driven support The official website, wiki/documentation/information FAQ - How can I use CMI for Economy? FAQ Menu
0 Comments
Leave a Reply. |