Portal made out of Bricks

Discussion in 'Plugin Development' started by iPhysX, Feb 16, 2012.

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

    iPhysX

    TechGuard I'm tagging you because of your work on the Christmas plugin! <3

    Trying to allow users to make portals out of Bricks which will take users to a specific world!
    Not too sure what this involves, anyone able to shed some light on it?

    Thanks!
     
  2. Offline

    Atomic Fusion

    Doesn't seem very efficient, but maybe:
    make a Portal class, containing, two bounding Locations, and a destination World
    hook the block place/destroy events, if the placement/destruction creates/destroys a portal frame of bricks, add/remove that portal from a list
    hook the player movement event, if a player is walking inside a portal on your list, teleport them to the appropriate destination
     
  3. Just use multiverse, but i'm not sure if your able to change it to brick id's
     
  4. Offline

    iPhysX

  5. But that's a custom plugin.
     
  6. Offline

    iPhysX

    I'm writing a custom plugin.
     
Thread Status:
Not open for further replies.

Share This Page