Placing a sign when a Player dies?

Discussion in 'Plugin Development' started by xxCoderForLifexx, Feb 5, 2013.

Thread Status:
Not open for further replies.
  1. Can someone show me how to do that?
    I know it uses player events :p
     
  2. xxCoderForLifexx
    Have a go at it yourself first at least?

    Code:java
    1.  
    2. onplayerdeathevent{
    3. Player p = event.getPlayer();
    4. Location l = p.getLocation();
    5. Block b = l.getBlock();
    6. }
    7.  


    Can you go from there?
     
  3. There is a problem with
    Code:java
    1. Player p = evtent.getPlayer();

    It says I need to add cast so I did and I will see how it goes!
     
  4. ok!
     
  5. Offline

    RealDope

    Wtffffffffff

    BukkitDev says you have 17 plugins and you don't understand this? How have you POSSIBLY created any plugins without even a BASIC understanding of events?
     
    evilmidget38 likes this.
  6. Haha I have done stuff like this but it's the new Bukkit API! Newer things and needs a bit getting used to
    Sorry Mom :/
     
Thread Status:
Not open for further replies.

Share This Page