1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved How to run a command when player interacts with an item?

Discussion in 'Development' started by Brant, Aug 16, 2020.

  1. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    you wrong, it should working or it should have an error.
    you are using main but your main class is Main this is first wrong, in another functions you have a lot errors too, i can't code for you i dont have time you should learn php in first in php.net
     
  2. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    if it has error, send it, its working for me.
     
  3. Besher

    Besher Witch

    Messages:
    51
    It dosent have any errors can u tell me where the errors are and ill try and fix them
     
  4. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    if it has error you can see that in console and give me screen shot about that error
     
  5. Besher

    Besher Witch

    Messages:
    51
    there are no errors in console nothing at all!
     
  6. David Flash

    David Flash Spider Jockey

    Messages:
    26
    GitHub:
    davidflashcz
    Check if the plugin is loaded
     
  7. Besher

    Besher Witch

    Messages:
    51
    it does it says enabled
     
  8. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    ok give full plugin here (all your plugin files)
     
  9. Besher

    Besher Witch

    Messages:
    51
  10. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    ok wait i check it now
     
  11. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
  12. Besher

    Besher Witch

    Messages:
    51
    Last edited: Aug 23, 2020
  13. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    yes you used main instead Main
     
  14. Besher

    Besher Witch

    Messages:
    51
    oh ok thanks
     
  15. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    no problem ;)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.