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

What I Would Like To See In Pocketmine!!!

Comments in 'Plugin Development' started by Bugs Bunny, Dec 7, 2013.

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

    Bugs Bunny Banned

    Joined:
    Dec 6, 2013
    Posts:
    11
    Minecraft User:
    Bugs Bunny
    I would like to see
    PHP:
    door.locked
    door
    .unlocked
    door
    .open
    door
    .close
    player
    .command
    player
    .touch.mob
    player
    .touch.player
    plaeas add this thank you
    Let It Snow! likes this.
  2. Bugs Bunny
    Offline

    Bugs Bunny Banned

    Joined:
    Dec 6, 2013
    Posts:
    11
    Minecraft User:
    Bugs Bunny
    ya ikr
  3. Bugs Bunny
    Offline

    Bugs Bunny Banned

    Joined:
    Dec 6, 2013
    Posts:
    11
    Minecraft User:
    Bugs Bunny
    but how can i make a new one maby we should ask shohip
  4. Let It Snow!
    Offline

    Let It Snow! Active Member

    Joined:
    Oct 30, 2013
    Posts:
    60
    Minecraft User:
    LetItSnow_
    We can dream :p. maybe they will see this and take note. I hope!
  5. Bugs Bunny
    Offline

    Bugs Bunny Banned

    Joined:
    Dec 6, 2013
    Posts:
    11
    Minecraft User:
    Bugs Bunny
    but how i tried but then pm dint work
  6. Bugs Bunny
    Offline

    Bugs Bunny Banned

    Joined:
    Dec 6, 2013
    Posts:
    11
    Minecraft User:
    Bugs Bunny
    na to lazy im learning more php lol im making a flying plugin by tureing air to a block yes!
  7. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    392
    You can already do all these things.
    Last edited: Dec 7, 2013
    Magnus-Noel likes this.
  8. wies
    Offline

    wies Notable Member

    Joined:
    Aug 23, 2013
    Posts:
    392
    You can check if a door is closed or open by the metadata of the doorblock.
    You can lock a door by using the event "player.block.activate" and then return false if the block is the doorblock that you want to lock.
    I don't see the point of "player.command", because you can use $this->api->console->register(...)
    For "player.touch.player" you can use "player.interact" and for "player.touch.mob" you can use "entity.interact"( but remember that a player is also an entity)
Thread Status:
Not open for further replies.

Share This Page

Advertisement