Inactive [FUN] FunnyHeads v1.2.3 - Animate your helmet! [1.3.1-R1]

Discussion in 'Inactive/Unsupported Plugins' started by orschi, Jul 23, 2012.

  1. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    FunnyHeads v1.2.3

    FunnyHeads is my first try to make a plugin, so have mercy with me ;)

    I stopped coding this plugin because I'm busy with school, feel free to edit the code:
    Source (eclipse project folder)

    Features:
    • Change your helmet into any block!
    • Change others helmet into any block!
    • Animate your helmet!
    • Save your animations!
    • Decide which blocks/items can be used for animation!
    • Very easy to use!
    • AWESOME!

    How to use it:
    It simply changes your (or your friends) head (in detail: the helmet) into nearly every block available (I haven't tried them all, lol). All you have to do is to hold a block of your choice in your hands and type /fh in the chat. This will teleport the block from your hands on your head, or if you already have a helmet, it will first try to put your current helmet into your inventory. If your inventory is full you will get a message and nothing happens.
    It's the same thing when you change the helmet of other players, for that type /fh <playername>.

    If you want to animate your helmet, type /fhanimate and follow the instructions!

    !! Please tell me if you find bugs !!

    All animations are private for each player and will be saved so that they exist beyond a server restart.

    Previews:
    This preview was made by Ultibyte, check out his youtube channel!


    And here is a preview from damnnicholas! On his youtube channel you will find many other plugin/mod previews and minecraft let's plays!


    Screenshot:
    [IMG]


    Commands:
    • /fh - change your own helmet to whatever you hold in your hands!
    • /fh <player> - change the helmet of the chosen player to whatever you hold in your hands!
    • /fhanimate - animate your helmet!
    • /fhhelp - help!
    • /fhquit - cancel animating your helmet!
    • /fhundo - undo the recent animation step!
    • /fhadd - add an item to your animation!
    • /fhfreq - set the freqency of your animation!
    • /fhsave <animation> - save your animation under a name!
    • /fhlist - list all your animations!
    • /fhremove <animation> - remove an animation!
    • /fhstart <animation> - start an animation!
    • /fhstop - stop the running animation!

    Permissions:
    • funnyheads.self - allows to change your own helmet
    • funnyheads.remote - allows to change others helmet
    • funnyheads.animate - allows to animate the own helmet

    Per default, op's have all rights and others only the funnyheads.self - permission.

    Changelog

    TODO:
    • Helmet animation - helmet changes in a given frequency [IMG]
    • Add sub-types support (colored wool, different wood, ...) [IMG]
    • Disable helmets with no visual effect [IMG]
    • Add black/white list to block/allow items [IMG]
    • Add Spout-support
    If you have any suggestions, please write a comment!
    I hope you enjoy it :)

    This post has been edited 37 times. It was last edited by orschi Oct 29, 2012.
  2. Offline

    Omnitv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is a punny plugin.
  3. Offline

    Taco

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This reminds me quite a bit of BlockHat, but the code seems to be yours at first glance, so good job!
  4. Offline

    bajsko

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  5. Offline

    md_5

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Approved
  6. Offline

    IdealIdeas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    isnt there like 30 plugins that do the same thing?

    In fact Essentials recently made it possible to do this with /hat
    And as you probably know just about every server uses Essentials.
  7. Offline

    tekneekz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    no need for spout?
  8. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    actually i made this plugin just for fun and to improve my programming skills.
    all plugins i could find that "do the same thing" (i found 3 plugins) can't animate your helmet like funnyhead does. if you know a plugin that can do this please show me^^
    and (excuse my language) funnyheads is easy as f to use for everyone :D
    you must have the blocks you want to animate or put on your head, so my plugin is also interesting for servers which want to prevent that users can "cheat" blocks. at least when i have fixed all bugs in the animation feature^^
  9. Offline

    broluigi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    what does animate mean? are you turning blocks into other blocks or is the block spinning? I would like to see this in action!
  10. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I updated the picture in my post, it should look like that ^^
  11. Offline

    Linkdownalert1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    One question, 1.3.1 is out now, but does R5.0 work with 1.3.1 users?
  12. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No, you have to wait until bukkit brings out the 1.3.1 version or a devbuild, if you want to play on a server downgrade to 1.2.5 :p
  13. Offline

    LordMarkXD

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It practically IS BlockHat... BUT, With the *AWESOME* addition of animations :D
    Why is it that some of the best plugins, no-one has even heard of :(
  14. Offline

    Derpination

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Diamond head :D
  15. Offline

    Extremeboy306

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    WTF DID YOU COPY THIS PLUGIN? CUZ THERES ANOTHER PLUGIN LIKE THIS CALLED HAT
  16. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    dude, you must be on a really bad trip :D
  17. Offline

    whitehooder

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It's obvious that he didn't copy it! He has made the same plugin as any hat-plugin but added animations. He's code is obviously his as Omnitv said. Why do people think that developers copy others work? It is actually allowed to do so anyways, if the developer has made his code open source. If you still mean he has copied google "open source" to find out...
    [diamond][diamond][diamond] for you orschi! Happy developing :D
  18. Offline

    Biglegofoot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Looks awesome!!! Can you use Dragon eggs? Well done orschi!
  19. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :D

    yes, dragon eggs work but it looks a bit strange hehe
  20. Offline

    RobeS

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sweet! I've just received my free minecraft giftcode!

    >> Minecraftcodes.info <<
  21. Offline

    NeuTronas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you make this permission default to false?
    funnyheads.self

    Would really love that!
  22. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm sorry but this wouldn't make much sense, if you don't want players to have this permission, simply set this permission in the "user"-group to false :D
  23. Offline

    defsin32

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I get this error in console, What do I do:
    Code:
    2012-08-14 02:25:40 [SEVERE] Could not pass event PlayerQuitEvent to FunnyHeads
     
    org.bukkit.event.EventException
     
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332)
     
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
     
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
     
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
     
        at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(ServerConfigurationManagerAbstract.java:213)
     
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:711)
     
        at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:100)
     
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:286)
     
        at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
     
        at net.minecraft.server.ServerConnection.b(SourceFile:35)
     
        at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
     
        at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
     
        at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
     
        at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
     
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
     
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
     
    Caused by: java.lang.NullPointerException
     
        at FunnyHeads.FunnyHeads.onPlayerQuit(FunnyHeads.java:304)
     
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     
        at java.lang.reflect.Method.invoke(Unknown Source)
     
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
     
        ... 15 more
  24. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    did you update from an older version of funnyheads or is this the first time you use this plugin?
    when you close the server without typing "stop" it could cause problems and it would be helpful if you post what funnyheads wrote when starting the server!
  25. Offline

    defsin32

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Everything is okay now, I just restarted the server while installing the plugin. I did update from the old one btw.

    This post has been edited 1 time. It was last edited by defsin32 Aug 15, 2012.
  26. Offline

    defsin32

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not sure if everyone knows this but i think this is an exploit to the plugin, For example: You add a diamond block and a gold block to your animation and then save it, You let yourself be killed by something or someone after you started the animation, The player that had the diamond block in his head will drop it and the other player will be able to grab it, When you return back to the spot you can type /fhstart <Name> and continue doing it for more diamond blocks.
  27. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    thank you for telling me this, i didn't think about that because i never play pvp. i'll make an update soon!
  28. Offline

    orschi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    now open source, it would be great if someone has the time so finish my work ;)

Share This Page