Inactive [MECH] FishPeople v1.7.1 - Gold Helmet = Infinite Air While Swimming [1.2.3-R0.2]

Discussion in 'Inactive/Unsupported Plugins' started by Richard Robertson, Mar 4, 2011.

  1. FishPeople - Infinite air underwater:
    Version: v1.7.1

    This plugin is for servers that focus more on creative rather than survival. It makes building underwater infinitely safer because you no longer drown. The only downside is that people who are underwater can no longer speak. Instead there is a comical [glub glub glub] accompanying any underwater chat messages.

    Features:
    • Infinite air while wearing gold helmet (or configured item)
    • Garbled underwater chat (if configured)
    • Permissions support!
    • Now swim in lava! (if configured)
    • Supports item names as well as ID numbers
    Download http://dl.dropbox.com/u/22618541/Bukkit/FishPeople.jar
    Also available here http://dev.bukkit.org/server-mods/fishpeople/files/3-v1-7-1/

    Configuration:
    File located at /plugins/FishPeople/config.yml
    This file will be created if it does not exist and will contain these default settings.
    These default settings will also be used if a value is not set.

    Permissions
    • fishpeople.infiniteair
      Gives the player infinite air while wearing the helmet (overrides extended air)
    • fishpeople.extendedair
      Gives the player more air while wearing the helmet
    • fishpeople.cantalkunderwater
      Lets the player talk underwater and bypass the filter
    • fishpeople.invinciblehelmet
      Prevents the player's helmet from taking damage if damage is configured
    • fishpeople.lavasafe
      Allows the player to swim in lava (no burning damage)
    • fishpeople.config
      Allows the player to call /fishpeople
    • fishpeople.*
      Emulates having infinite air, invincible helmet, lava safe, config, and chat filter bypass

    Commands:
    • /fishpeople help
      Lists all commands available
    • /fishpeople help <command>
      Gives help on the command given
    • /fishpeople reload
      Reloads the configuration from the hard disk
    • /fishpeople enable
      Enables the infinite air and chat filter
    • /fishpeople disable
      Disables the infinite air and chat filter
    • /fishpeople helmet-type <id>
      Sets the item id for the head item that gives infinite air
    • /fishpeople chat-filter true
      Replaces chat messages when players are underwater
    • /fishpeople chat-filter false
      Allows users to talk normally underwater
    • /fishpeople underwater-chat <message>
      Sets the message that appears when someone talks underwater
    • /fishpeople air-multiplier <number>
      Extends the amount of air players have
      "/fishpeople air-multiplier 2.5" would mean they have two and a half times as much air
    • /fishpeople helmet-damage <amount>
      Every second a player is underwater and wearing the special helmet it will take the damage specified
    • /fishpeople helmet-replacement <id>
      Sets the item id for the head item that will be set when a helmet is destroyed
    • /fishpeople low-air-warning <seconds>
      When a player has only <seconds> left of air, they get a warning
      Set negative to not give a warning
    • /fishpeople low-air-message <message>
      Sets the message to be displayed when a person hits the low-air-warning mark

    Changelog:
    Version 1.7.1
    • Fixed null pointer exception occurring on Minecraft 1.2 and higher
    Version 1.7
    • Removed defunct Permissions 3 support
    • Fixed helmet damage
    • Updated to match Bukkit's new event handling system.
    Version 1.6
    • Compiled for Permissions 3 support
    Version 1.5
    • Bug fixes: falling damage while in lava, and race condition when loading Permissions plugin
    Version 1.4
    • Bug fix: replaced player.getLocation() with player.getEyeLocation() so effects only happen when the player's head is underwater
    Version 1.3
    • Changed event registration to match Craftbukkit 600+
    Version 1.2
    • Permissions support
    • Can have extended air instead of only infinite air
    • Can configure a message to appear warning those with extended air that they will drown soon (since the client bubbles are wrong)
    • Can configure helmet to take damage while being worn
    • Can replace the helmet when something else when it is "destroyed" from being used. You could use this to say, turn your gold helmet to a leather helmet when the magic runs out
    • Added the ability to swim in lava
    • Fixed problem where some servers would not restore air
    Version 1.1
    • Helmet type configurable
    • Underwater chat message configurable
    • Underwater chat message disable-able
    • Can limit to ops only
    • Can adjust all options at runtime
    Version 1.0
    • Initial release

    Known issues:
    • Client side remaining air bubbles still disappear; I cannot do anything about this.
    [​IMG]
     
  2. Offline

    grifinger

    Thats ok bro
     
  3. Offline

    eminem03

    create video, please
     
  4. I just did more testing with no op, the permissions are working fine. What you may have is a bug in PEX. I have not tested PEX because frankly it isn't my problem. If PEX claims to be SuperPerms compatible, it needs to actually be that.

    I wrote a quick plugin that puts/removes SuperPerms and I can successfully toggle fishpeople.infiniteair without op and it works as expected.

    For those of you using PEX, you have this in your configuration right?
    Code:
    permissions:
        superperms:
            enable: true
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  5. Offline

    WebNinja

    By chance do you use any upper case lettering in the source? Ex: FishPeople.infiniteair

    I know with PEX it's case sensitive.

    Ok...not sure what happened, i decided to remove Fishpeople and the config and redownload it from http://dev.bukkit.org/server-mods/fishpeople/

    I uploaded it, started the server back up and now it's working right. I'm not sure why, but it's working. Maybe a bad character in the config? I don't know...anyways, it's working now, lol.

    Nevermind...it worked for about 20 mins and stopped working again...no NPEs either.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  6. All permissions are fully lowercase.

    If the config were bad, Bukkit's YAML parser would complain and you'd see errors.

    With no errors, I couldn't tell you why it would possibly stop working.

    Would you be willing to zip your server folder without the world files? I want to see what's going on.
     
  7. Offline

    ImKharn

    Can you add an option to only allow this on gold helmets with the Aqua Affinity?

    I think letting anyone just breath underwater forever by using a gold helmet is a bit OverPowered. Having people grind trying to get the super valuable Gold Aqua Affinity helmet for infinite underwater use sounds more fun and trade-able.
     
  8. That doesn't seem like a bad feature. I'll see what I can do.
     
  9. Offline

    Azatha

    Is this still being updated? I miss it on my 1.2.5 server!
     
  10. Offline

    khamseen_air

    It still runs on 1.2.5.
     
  11. Yes it's still being updated. The problem is that I haven't been getting bug reports that I can actually reproduce. Saying something doesn't work part of the time without any errors occurring prevents me from tracking down what might be wrong.
     
  12. Offline

    Azatha

    Hmm, strange. It wasn't working for us. I'll play around with it then.
     
  13. What specifically isn't working though? Because I've been able to get it to work in my own testing just fine. Unless you provide situations where it doesn't work or throws an exception, I can't determine the problem.
     
  14. Offline

    jasonrobin

    Thanks for this , this is great it only seems to work for ops and not for all players.

    do i have to change some setings somewher.

    All the best Jason & Robin.
     
  15. The only reason it would work for OPs and not normal players is that you don't have permissions set correctly. This only reads from Bukkit's internal permission system so your permission plugin needs to set the permissions there and not use its own useless database. I WILL NOT be supporting any permissions plugin.
     
  16. Offline

    rowanmulder

    Just installed it, I like the glub idea ^^ will disable the helmet function though.
     
  17. You mean you use it for the filter and not the infinite air? I suppose that works.
     

Share This Page