Help me please

Discussion in 'Plugin Development' started by BeastCraft3, May 10, 2014.

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

    BeastCraft3

    Greetings BeastCraft3 here. I'm wondering how to make a redstone torch(on) vanish all players when you right click on it. And also when they click on it ,it will change to a redstone torch(off).
    Just to write all this easy:
    Click on redstone redstone torch(on) to vanish all players and the redstone torch(on) will change into a redstone torch(off) and if you press on the redstone torch(off) all players will be visible again and change back to redstone torch (on)
    If anyone know how to do this Please help me.
    Regards Beast​
     
  2. Offline

    Birdgeek3

    So look for a PlayerInteract event and then check to see if it is the torch in question, if so vanish the player and then replace the torch with one that is in the off state.
     
  3. Offline

    BeastCraft3

    Birdgeek3
    Could you send me the code?? Im kinda soo I didnt really understand all that ;3
     
  4. Offline

    JBoss925

    No spoon-feeding. Sorry. Just look up how to make players visible and invisible.
     
  5. Offline

    BeastCraft3

    JBoss925
    I've tried but as I said.. its hard for me cause im new to java ;3
     
  6. Offline

    NDUGAR


    Learn Java :D It's worth it :D Also just google Bukkit API hide all players... It should pop up some results :D
     
  7. Offline

    BeastCraft3

    Can someone please help me with the code/source??
     
Thread Status:
Not open for further replies.

Share This Page