Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please help me =(

Comments in 'Plugin Development' started by iDirtPlayzMC, Jun 5, 2015.

  1. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    Hello I am new to coding...

    I just wondered how do I make player excute command when they're holding the block? ( look in example to understand..)

    I've been looking around in essentials PowerTools but the code was so complicated that I cant understand...

    example config:
    Bar1: {item}:{command}
    Item1: 1:warp 123
    Item2: 5:warp 456

    something like that

    I am noob... I just wanted to make plugin where you can use n hub like navigator and stuff xP
  2. CookieSteve
    Offline

    CookieSteve Active Member

    Joined:
    Apr 22, 2014
    Posts:
    132
    Minecraft User:
    iStrqfeChris
    That's simple
  3. CookieSteve
    Offline

    CookieSteve Active Member

    Joined:
    Apr 22, 2014
    Posts:
    132
    Minecraft User:
    iStrqfeChris
    Use the PlayerItemHeldEvent
  4. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    I know but im new to coding what i do ?xD
  5. Tethered_
    Offline

    Tethered_ Active Member Plugin Developer

    Joined:
    Jun 24, 2014
    Posts:
    178
    Plugins:
    2
    Minecraft User:
    Frostbyte58
  6. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    uhm
  7. MyAJVideo
    Offline

    MyAJVideo Active Member

    Joined:
    May 16, 2015
    Posts:
    148
    Minecraft User:
    mrAJV2010
    Do you know php ? If not learn it (I did to) then read the doc config (I'm still at that stage) and try to understand if you don't ask somebody you know who knows plugin programing
  8. iDirtPlayzMC
    Offline

    iDirtPlayzMC Active Member

    Joined:
    Apr 10, 2015
    Posts:
    264
    Minecraft User:
    iZenith_xPr
    thats why I am here and i kinda understand how it works but I cant really code cuz i've never been coding before ,nvm anyway

Share This Page

Advertisement