Hi,
I started to code one week ago, so I'm a beginner and i want to create an item Dice for my server. We have a plugin wich can make dice rolls, so i want to link my item to a command (/dndroll 2d6)... I tried to use the "onItemRightClick" in my ItemDice class but I'm a bit lost when i have to create the line to send the command into the chat of Minecraft.
I hope someone can help me, thanks.