[FUN/MECH] JackBeNimble v1.0 - Customizable fall damage [953]

Discussion in 'Inactive/Unsupported Plugins' started by MSC, May 23, 2011.

  1. Offline

    MSC

    JackBeNimble
    Version: 1.0

    Features:
    • Complete control over fall damage. Minimum height, initial damage, and extra damage per block fallen.
    • Permissions support
    • Customizable on a per-world basis

    Download: [ ZIP | JAR only ]

    Configuration:
    Show (open)
    Plugin configuration is stored in "plugins/JackBeNimble/config.yml", which will be created from a default template if it doesn't already exist. Configuration works based on a world hierarchy and then optionally based on permissions. Here's an example:
    Code:
    default:
        # Applies to all worlds not configured explicitly.
        minimumheight: 5
        startingdamage: 1.0
        damageperblock: 1.0
        
        # OPTIONAL: Permissions node. Players with permissions will be affected by these values instead.
        withpermission:
            minimumheight: 6
            startingdamage: 0.5
    
    
    worldmoon:
        minimumheight: 20
    
    world2:
        minimumheight: 4
        startingdamage: 2.0
        damageperblock: 2.0
    minimumheight is the fall distance at which players start taking damage. The Minecraft default is 4. You can set this to zero to prevent fall damage altogether; however, setting it to 1, 2, or 3 will not work.

    startingdamage is the damage received from falling that distance, in hearts. The Minecraft default is 0.5.

    damageperblock is the additional damage received for every block fallen after that. The Minecraft default is 0.5.

    If you have Permissions installed, use the following node for players in the "withpermissions" category:
    Code:
    JackBeNimble.fall
    If you don't have Permissions installed, OP status will be used instead. If you want all players to be treated equally, you can omit the "withpermissions" section from invididual worlds or from the configuration altogether.

    Changelog:
    • v1.0: Initial release
     
    kahlilnc likes this.
  2. Offline

    kahlilnc

    Nice, I think your a first to do this.
     
  3. Offline

    Plague

    changelog is missing, I know this is 1.0, but add it as a placeholder for now​
     
  4. Offline

    BeerDone

    Genius. I'll be installing this now, good idea, don't-know-how-good execution MSC!
     
  5. Offline

    MSC

    Done. Also tested against the newest recommended build.
     
  6. Offline

    MonsieurApple

    Approved.
     
  7. Been waiting for a plugin like this for months, thanks!
     
  8. Offline

    yakasuki

    can you put it to wear you can change the fall damge per boots like diamand takes out about 30%of the damage or somthing plaus good mod lol
     
    Clucky likes this.
  9. Offline

    Overfiend

    Cool plugin!
     
  10. Offline

    Clucky

    @MSC
    Yeah, I like Rocketboots, however the only problem is, flying causes errors, but I like how it prevents fall damage. So I was also wondering, could you make it where different types of boots have different fall damages (configurable).

    Here's an example of a config for this option that I would be looking for:
    (I dont know item name for golden boots, so just edit this for whatever it is)
    (I tried to keep your spacing, but I screwed it up miserably, so just fix this, hehe :D)

    Code:
    default:
         # Applies to all worlds not configured explicitly.
         minimumheight: 5
         startingdamage: 1.0
         damageperblock: 1.0
              # OPTIONAL: Permissions node. Players with permissions will be affected by these values instead.
              withpermission:
                  minimumheight: 6
                  startingdamage: 0.5
    worldmoon:
        minimumheight: 20
            gold_boots:
               damagepercent: 100 #Full damage
            diamond_boots:
               damagepercent: 0 #No damage
            iron_boots:
               damagepercent: 50 #Half Damage
    world2:
         minimumheight: 4
         startingdamage: 2.0
         damageperblock: 2.0
    
    Of course configurable, I personally would want gold boots being 0 fall damage (they're a god item on my server). Anyways, its up to you if you want to do it or not, however please consider my idea :)
     

Share This Page