Solved essentials.protect.damage.fall (using PEX)

Discussion in 'Bukkit Help' started by Hell4Ge, Oct 24, 2013.

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

    Hell4Ge

    So... it's not working

    I' ve erased rest of permissions, here we go:
    Code:
    groups:
      default:
        default: true
        permissions:
        - modifyworld.*
    users:
      Hell4Ge:
        permissions:
        - -essentials.protect.damage.fall        # Player will receive fall damage
    Ofc after every edit I type pex reload in console, set gamemode to 1, and fly fly flyyyyy...
    and then... BOOM, I am dead :(
     
  2. Offline

    tcvs

    Hell4Ge try this

    Code:
    groups:
      default:
        default: true
        permissions:
        - modifyworld.*
    users:
      Hell4Ge:
        permissions:
        - essentials.protect.damage.fall        # Player will receive fall damage
    your problem that you had an extra -
     
  3. Offline

    Necrodoom

    Hell4Ge youd first need to use essentialsprotect.jar and enable fall protection in essentials config.yml.
    tcvs that would prevent fall damage if protection enabled.
     
  4. Offline

    tcvs

    necrodoom Wait I thought he wants to remove fall damage...
     
  5. Offline

    Hell4Ge

    Ok now I got it, but it's little tricky
    On example: disable / enable drowning damage
    First you have to enable drowning dmg protection by changing Essentials config.yml file
    Code:
        # Should drowning damage be disabled?
        # (Split into two behaviors; generally, you want both set to the same value.)
        drown: true
    So by general EVERY player will not drown
    Now you have to select unique player / group who can be drown, there we have to use PEX
    Code:
    groups:
      default:
        default: true
        permissions:
        - -essentials.protect.damage.drowning
    I can't find other way since you have to edit essentials config.yml

    Solved, thanks for tips :)
     
  6. Offline

    Necrodoom

    Hell4Ge you mean - essentials.protect.damage.drowning, not negation?
     
  7. Offline

    Hell4Ge

    I mean that
    Code:
    - essentials.protect.damage.drowning
    Won't work w/o editing ess config to:
    Code:
    drown: true

    Anyway... it seems to
     
Thread Status:
Not open for further replies.

Share This Page