Discussion in 'Plugin Development' started by CevinWa, Jun 4, 2012.

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


    I have a problem to find the player who put the lever, button, pressureplate on. Because when a person who have permission a certain thing will happend to a certain block but if the player don't have permission it don't
    I have a really hard time trying to make this so i will be very thankful for your help :D
  2. Offline


    you need to keep a hashmap with the location/permission needed to use in memory, and possibly a database to keep all of that data.
  3. Offline


    BlockRedstoneEvent fires for redstone-like blocks changing state. You can't get a player from that, because that change most of the time doesn't even involve a player (redstone clocks, redstone wire turning on, etc.).

    What you are looking for is PlayerInteractEvent - when the player clicks the lever/button or steps on the pressure plate.
  4. Offline


    Thank u guys very much :D
Thread Status:
Not open for further replies.

Share This Page