Zrips / CMI

117 stars 99 forks source link

/cmi give doesnt give the right item #973

Closed Gojan1 closed 5 years ago

Gojan1 commented 6 years ago

cmi give Gojan1 minecraft:diamond_helmet 1 n testitem ench:[{id:0,lvl:100},{id:2,lvl:100},{id:34,lvl:100}]

that command only gives me an enchanted item whitout the name.

Cmi Version (using/cmi version): [20:21:10] [Client thread/INFO]: [CHAT] -------------------------------------------------- [20:21:10] [Client thread/INFO]: [CHAT] §eCMI§e §eplugin§e §eversion:§e §e§68.0.19.0 [20:21:10] [Client thread/INFO]: [CHAT] Server version: Spigot 1.12.2-R0.1-SNAPSHOT [20:21:10] [Client thread/INFO]: [CHAT] Vault version: 1.6.11(+) [20:21:10] [Client thread/INFO]: [CHAT] --------------------------------------------------

Server Type (Spigot/Paperspigot/etc): spigot 1.12.2

Server Version (using /ver): [20:21:13] [Client thread/INFO]: [CHAT] This server is running CraftBukkit version git-Spigot-dcd1643-e60fc34 (MC: 1.12.2) (Implementing API version 1.12.2-R0.1-SNAPSHOT) [20:21:13] [Client thread/INFO]: [CHAT] This is a final build for 1.12.2. Please see https://www.spigotmc.org/ for details about upgrading.

DeadIntermediate commented 6 years ago

Try cmi give PLAYERNAME minecraft:diamond_helmet 1 n TestHelm e Unreaking 10 e AnotherEnchant 10

Gojan1 commented 6 years ago

tried the command, it actualld did give me the item tho.. https://gyazo.com/61c2332ecdeac78f03523865e658fe6c command used : /cmi give Gojan1 diamondpickaxe 1 n Testpickaxe e unbreaking 10 e efficiency 5 whitout the enchantments.. :(

DeadIntermediate commented 6 years ago

Try using the colon.

Example: /cmi give PLAYERNAME diamond_helmet 1 n TestHelm e Unreaking:10 e AnotherEnchant:10

Gojan1 commented 6 years ago

/cmi give Gojan1 diamond_pickaxe n &8Ultra_pickaxe e Efficiency:4 e Fortune:2 e Unbreaking:5 worked. thanks for helping :D

Gojan1 commented 6 years ago

--update-- the cmi give command does work, but i was wondering if its compatible with Tokenenchants /cmi give Gojan1 DIAMOND_PICKAXE 1 n &e&nShadow_flare e efficiency:4 e unbreaking:2 e fortune:4 e McMMOExp:1 e Slicing:1

i tried that, but it doesnt add the tokenenchant enchantments.

LogGits commented 5 years ago

Ok, so how these custom enchantment plugins work is that they add lore. So this does work, however, you need to specify the enchantment in lore the correct usage would be: /cmi give LogGits DIAMOND_PICKAXE 1 n &e&nShadow_flare e efficiency:4 e unbreaking:2 e fortune:4 l &7McMMOExp_I/n&7Slicing_I