WorldGuard Regions

Discussion in 'Plugin Development' started by PieMan456, Dec 1, 2013.

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


    Hello Everyone,

    I am trying to make a plugin that logs what region you log out of. I know how to use the RegionEnter and Leave Event but I do not know how to get if the player is in a region in the PlayerQuitEvent. Thanks for any help!
  2. Offline


    PieMan456 I don't know anything about the WorldGuard api, but if you say there is a region enter/leave event, can't you store the region name in a hashmap<String, String>() on region enter. and delete it on region leave, and then get the value on playerquitevent
Thread Status:
Not open for further replies.

Share This Page