Coding

Discussion in 'Plugin Development' started by andrewginn, Oct 27, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    andrewginn

    Hello does anyone know how to turn this into coding as i am a noob at this and ive only just started learning, thanks it will help alot.

    What you do is you create an itemstack with a tripwire hook called with the name ChatColor.RED+"Vote Key"

    then with the player interact event if he right clicks an enderchest then check if the item in his hand is a tripwire hook AND if the itemmeta display name is equal to ChatColor.RED+"Vote Key" and then you create a Random + the stuff you want them to receive
     
  2. Offline

    WHQ

    You might wanna ask this at Plugin Developement. You'll probably get more help there
     
  3. Offline

    andrewginn

    Ok thanks!
     
Thread Status:
Not open for further replies.

Share This Page