Bottle Blocker

Discussion in 'Archived: Plugin Requests' started by mrdude123, Nov 7, 2014.

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

    mrdude123

    PLUGIN NAME: NoBottles
    CONFIG: Not that I know of
    PERMISSIONS: N/A
    COMMANDS: N/A
    ===============================
    Basically, I want this to happen.

    Someone drinks a potion , the bottle disappears.
    Someone drinks a water bottle, the bottle stays.

    That's it. :)

    This is a potion of any kind, by the way. The bottle should only disappear when the player is in survival, not creative.

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

    trenton_jeffro

    I will make this! When I am done I will post a mediafire link with it!
     
  3. Offline

    _Filip

    I'll make it tomorrow
     
  4. Offline

    trenton_jeffro

    <Edit by Moderator: Redacted mediafire url>

    There is no config, no perms, no commands.
    Just removes bottles after a player drinks a potion.
     
    Last edited by a moderator: Oct 31, 2016
  5. Offline

    mrdude123

  6. Offline

    trenton_jeffro

    No Problem! Glad to help!
     
  7. Offline

    mrdude123

    Upon testing this plugin, it looks like water bottles get deleted as well. The disappearing potion bottles are working, you just need to fix one thing.
    After I drink a regular water bottle, the water bottle shouldn't disappear when drank.
    Thanks!
     
  8. Offline

    trenton_jeffro

    So if you drink a bottle of water you dont want the bottle to go away?
     
  9. Offline

    mrdude123

  10. Offline

    trenton_jeffro

    Ok I will work on it, see what I can do for you!
     
  11. Offline

    mrdude123

    trenton_jeffro
    Hey, sorry to rush you, but I need the plugin by Saturday (EST) .
     
  12. Offline

    trenton_jeffro

    [quote uid=90997583 name="mrdude123" post=2886747]trenton_jeffro
    Hey, sorry to rush you, but I need the plugin by Saturday (EST) .[/quote]

    Lol Sorry I took so long I forgot to do that part of it! here is the download link!
    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Oct 31, 2016
  13. Offline

    mrdude123

    trenton_jeffro
    It works now, but the bottle takes a bit too long to disappear. It needs to disappear right when it gets drunk.
    Only thing to get fixed.
    - Make sure the potion bottles disappear faster.
    Everything else works :)

    EDIT:
    Just noticed some potions don't disappear, like night vision.
     
  14. Offline

    trenton_jeffro

    [quote uid=90997583 name="mrdude123" post=2887914]trenton_jeffro
    It works now, but the bottle takes a bit too long to disappear. It needs to disappear right when it gets drunk.
    Only thing to get fixed.
    - Make sure the potion bottles disappear faster.
    Everything else works :)

    EDIT:
    Just noticed some potions don't disappear, like night vision.[/quote]

    What do you mean? they should just dissapear right when you drink a potion.

    Edit: I dont know why night vision potions would dissapear.
    Edit: I read that wrong, it is because the night vision potions ID starts with 373, I will try and fix that!

    I think I fixed both of your issues! Here is the dl link:
    <Edit by Moderator: Redacted mediafire url>
    If you find any bugs, just let me know!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 31, 2016
Thread Status:
Not open for further replies.

Share This Page