[Mech/Fun] Eternal Apple v1.1 - Gives you an eternal Apple [860] [abandoned]

Discussion in 'Inactive/Unsupported Plugins' started by Dark-Panther, Apr 5, 2011.

  1. Offline

    Dark-Panther

    <font color="rgb(0, 0, 255)">Eternal Apple -</font>

    <font color="rgb(255, 153, 0)">Gives you an golden Apple, that never is eaten up!</font>
    [​IMG]


    <font color="rgb(255, 0, 0)">THIS PLUGIN ISN'T UNDER DEVELOPMENT ANYMORE!</font>
    <font color="rgb(255, 0, 0)">I DON'T HAVE A BUKKIT SERVER, SO I DON'T CARE ABOUT THIS ANYMORE!</font>
    <font color="rgb(255, 0, 0)">FEEL FREE TO USE THE SOURCE CODE.</font>





    Isn't that a dream? You eat a golden apple all day....
    And your golden apple looks always the same... It never gets smaler...
    You can eat and eat and eat... Your body recovers and you feel fresh...
    And the Apple stay always the same...

    Version: 1.1

    Features:
    * An eternal Apple, that is never eaten up!
    * Permissions support!

    * The same with a Cookie! This "mod" is calles Grandma's Cookies...

    Download: EternalApple.jar (- or the same with Cookies: GrandmasCookies.jar)
    Mirror: Attached Files!
    Source code

    Install:
    Just drop the EternalApple.jar in your plugin folder and have fun! :D
    (For Server with permissions: Give the permission (down) to the group of player, which are cool enough for the "/eternalapple"-command. ;)

    Permission:
    * - 'EternalApple.give'
    * With FakePermissons for GroupManager: - EternalApple.give

    * (For the Grandmother Cookies plugin: - 'GMCookies.gives' )

    Command:
    * for the apple plugin: /eternalapple
    * (for the cookie plugin: /gmcookie )
    * To whip out a apple (DON'T DROP IT!!!) Go into your Inventory, press Shift and click on the Apple. The apple will vanish!

    TODO:
    * Apples disapear, when hitting a mob with the apple in the hand - fix that (smal bug, but I don't know if I can fix this, perhaps this isn't this important.... I mean... you don't have to fight with an apple in your hand...)

    Diffrents between EternalApples and GrandmasCookies:
    There is nearly no differnce. Both plugins give a eternal Food. (Apple/Cookie)
    The sentence are a bit differnce (Because in the cookieplugin "the garden eden" is stupid!

    BUGS:
    -Don't let the Apple Drop! (Okay, you can drop it, but there will be to many apples than... XP )
    I'm right on to it - perhaps it isn't fixable, because the whole plugin is a bug ;)
    All Versions:


    Show Spoiler



    Changelog:
    v1.1
    * Code clean-up! And added Text to the command... (like: from the garden of Eden straight to you!)

    v1.0
    * First release and Permissions support!

    Any ideas? Post it! I want your opinion!
    NOTICE: This plugin is made of a bug, which I found, while I was making my Cookiez-Plugin.
    At the moment everything is fine, but once this bug is fixed,
    I have to rewrite the whole plugin... :/
    -----------------------------------------------------------------------------------------------------------------------
    img-url: http://minecraft-wiki.com/wp-content/uploads/2010/11/goldapple.png
     

    Attached Files:

    Last edited by a moderator: Dec 14, 2016
    _GWG_SheepKiller likes this.
  2. Offline

    Juze

    Just as what I wanted. Could you upload this somewhere else as MediaFire though, such as Dropbox, to make it wget friendly? :)
     
  3. Offline

    FortuneNL

    "A little clean up"?

    Good idea though
     
  4. Offline

    XinwxHleak

    This is a great mod, there is only one bug! When I accidentally hit mobs with the apple, it goes away. No big deal, it just gets annoying after a while.
     
  5. Offline

    Dark-Panther

    Why? Is there a bigger problem? :S

    I attached the File ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  6. [sheep] I just downloaded this not to long ago and my server members wont stop talking about it!
    My server would just be full of builders and people who make pictures out of wool. After I downloaded this I turned monsters on and almost all the time we are down in caves exploring![sheep]
    Thank you Dark-Panther[goldore]
     
  7. Offline

    Dark-Panther

    Thank you, too ;)
     
  8. Offline

    Infernus

    Original very good idea, and kind support. You do sure deserve that rank, Dark Panther!
     
  9. The one question I do have is is there actually unlimited golden apples in that one spot or is there 255 golden apples because last time I checked no matter how high you go the maximum amount of items in one slot is 255.
    P.S. can you make something like this for cookies?
     
  10. Offline

    Dark-Panther

    When you reach the 255 mark, it automaticly gives you a new one. But you wouldn't notice that ;)

    Sure, this isn't a big problem. Should I send it to you?

    Thank you :D
    I give my best ;)

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

    Gimmic

    Can you make a wget friendly link?
    Both methods do not function properly with wget
     
  12. Offline

    Infernus

    Plugin recommendation: Food of Infinity.

    /infcookie
    /infpork
    /infapple

    .. And any other food.
     
  13. Yes, I would be very happy if you could send me that or maybe even post it publicly and call it something like, "Grandma's Cookies".
    P.S. Can you add something in the folder so you can change the, "straight from the garden of eden to you" line to something else?
    P.S.S. Will this plugin work with the new update?
     
  14. Offline

    Dark-Panther

    A added Dropbox as D-Load link... Is that enough? :D

    Noticed it. I'll do it, when I've enough time... so be prepared ;)
    1. Ermh... I won't make it public, but I send it to you...
    2. Yes? It wouldn't make any sense for cookies...
    3. Yep.... proofed by me...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  15. Tanks for replying and sorry if the post was a bit random. [tnt]ADHD[tnt]
     
  16. Offline

    Minecrafter9001

    Awesome mod, but sorry about not using it :( I already have an infinite health mod but i will use this when i get bored of NoHealth.
     
  17. Offline

    iCandyz

    when i jumped into the lava and kept eating the golden apple, then when i came back out, the apple turned into like 150 golden apples, isnt the golden apple suppose to have no number and have infinite use? >_<
     
  18. Offline

    Dark-Panther

    Yeah, it is.
    But if you use your 150 golden apples, a new one will come... don't be sad... go ahead with eating ;)
     
  19. Offline

    svict4

    Your amazing.
    This made me think back to the days of The Magic Pudding in primary school and made me cry :)
    Kudos to you.
    Keep up the work :D
     
  20. Offline

    Applebule5

    Not sure that permissions 3+ is the problem but im using it with ea and I get this error
    Code:
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:85)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.ServerConfigurationManager.b(ServerConfigurationManager.java:111)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.PlayerNBTManager.b(SourceFile:183)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.Entity.e(Entity.java:948)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.EntityHuman.a(EntityHuman.java:335)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.InventoryPlayer.b(InventoryPlayer.java:229)
    22.06 20:23:17 [Server] INFO     at net.minecraft.server.ItemStack.getItem(ItemStack.java:52)
    22.06 20:23:17 [Server] INFO java.lang.ArrayIndexOutOfBoundsException: -1
    22.06 20:23:17 [Server] WARNING Failed to handle packet: java.lang.ArrayIndexOutOfBoundsException: -1
    22.06 20:23:17 [Server] INFO Disconnecting Zenasty [/86.168.236.164:54840]: Internal server error
    Then they cannot log back in without deleting their inventory thru their player file
     

Share This Page