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

    johnshone

    updated to 1.2 yet
     
  3. Offline

    khamseen_air

    Read the last two posts before posting?
     
  4. Offline

    johnshone

    oh it would not work for me for some reason so i don't know if that means it has not been updated or what :?
     
  5. Yes it has been updated to the new 1.2 event system however there seems to be some issues with some internal changes that were not documented as thoroughly.
     
  6. Offline

    WebNinja

    I'm using your build from March 2nd you posted with bukkit build #2040 and people can swim in lava just fine but the underwater breathing isnt working at all. I checked my config and it's still showing the Gold Helmet and I have a * permission and it's not working. There are others that have the direct "fishpeople.infiniteair" permission and it's not working either. Any ideas?
     
  7. Did you get an error that the air restoration task couldn't start when you loaded the server? When I test it myself, my air was restored no problem.
     
  8. Offline

    davr

    Yeah, even with that build you just posted, I get this error on helmet remove/replace (just once though):

    22:49:16 [WARNING] Task of 'FishPeople' generated an exception
    java.lang.NullPointerException
    at net.rarobertson.fishpeople.FishPeopleAirRestoration.run(FishPeopleAirRestoration.java:33)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:520)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)


    and extendedair function does not work. Did not test the other functions.

    Thanks
     
  9. I will do more extensive testing today with a debugger attached.
     
  10. Offline

    WebNinja

    Any luck by chance?
     
  11. Right now is the first time I've had a chance to do anything. My parents decided to go out of town and dump my 11 year old brother on me for the weekend.

    Will test and come back with either an explanation or new build.
     
  12. Offline

    WebNinja

    Ok, was just checking :) Thanks a lot!
     
  13. Ok guys. Next question. Are you running 1.1 or 1.2? 1.1 builds are showing absolutely no errors and I haven't updated my client to 1.2 yet.

    Just upgraded my client to 1.2 and I do see the error you guys are seeing now. Wish these things were advertised in advance like they used to be. This change is just awkward.

    Ok guys. New build fully tested on 1.2.3. No more exceptions.

    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/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  14. Offline

    khamseen_air

  15. Offline

    WebNinja

  16. Offline

    grifinger

    Yeah i see this really usefull for the server thats foucus on creative and big buildings
    yeah i really dont have anything bad to say about this plugin cause you can chose
    if they should breath underwater or not really good that gives a GZ!
     
  17. What is a GZ?
     
  18. Offline

    WebNinja

    Ok...hate to tell you but looks like there is another problem...

    As an OP it is working great with no problems. But people even with the permission "fishpeople.infiniteair" still aren't able to breath underwater...but the lava part is still working great. So, I know it's not a permissions plugin issue if lava is working but air isnt.

    I forgot to mention I am not getting any NPEs...it just isn't working unless you are an OP

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  19. That's a unique issue. Just to be sure, you are using Bukkit's internal permission mechanism right?
     
  20. Offline

    WebNinja

    I am using PermissionEx, so superperms compatible
     
  21. One of these days I'll have to actually get a permission plugin or finish mine.
     
  22. Offline

    WebNinja

    I like PEX, easy to use
     
  23. My problem is that I hate YAML with a passion. You guys are lucky the config for FishPeople isn't XML.
     
  24. Offline

    WebNinja

    Hey...I'm cool with XML. A lot of APIs I write output as XML, lol.
     
  25. You may be but most Minecraft players aren't.
     
  26. Offline

    WebNinja

    Yeah.... Anyways, if you need anything while trying to figure out why it's doing that just let me know
     
  27. Well narrowing it down to ops vs nonops helps. I just wish that watching Java step by step was easier.
     
  28. Offline

    superdupernova

    Yeah, PEX isn't working for me.
     
  29. Offline

    grifinger

    GZ its a Congrat
     
  30. Oh, then I appreciate it.

    And guys I haven't finished figuring out what's wrong. But I am working on it.
     
    khamseen_air likes this.
  31. Offline

    Dinir102

    works only for OP =(
     

Share This Page