Check if player is in God Mode

Discussion in 'Plugin Development' started by iFamasssxD, Sep 21, 2013.

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

    iFamasssxD

    I cant seem to be able to hook into Essentials properly to check and see if a player is in GodMode.
    Essentials handles things very differently and hooking into its "User" class where the boolean isGodModeEnabled() is located, isnt working..

    Any ideas?
     
  2. Offline

    JPG2000

    iFamasssxD You could do is check if a player can take daamage.
     
  3. Offline

    iFamasssxD

    -_- Really this doesnt make much sense
     
  4. Offline

    chasechocolate

    He's saying listen to EntityDamageEvent and check if it is cancelled.

    EDIT: What's your code that doesn't work?
     
  5. Offline

    JPG2000

Thread Status:
Not open for further replies.

Share This Page