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

Discussion in 'Inactive/Unsupported Plugins' started by oaschi, Jul 22, 2012.

  1. Offline

    oaschi

    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 :)
     

    Attached Files:

  2. Offline

    Omnitv

    This is a punny plugin.
     
  3. Offline

    Taco

    This reminds me quite a bit of BlockHat, but the code seems to be yours at first glance, so good job!
     
  4. Offline

    bajsko

  5. Offline

    md_5

    Approved
     
  6. Offline

    IdealIdeas

    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

    no need for spout?
     
  8. Offline

    oaschi

    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

    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

    oaschi

    I updated the picture in my post, it should look like that ^^
     
  11. Offline

    Linkdownalert1

    One question, 1.3.1 is out now, but does R5.0 work with 1.3.1 users?
     
  12. Offline

    oaschi

    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

    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

    Diamond head :D
     
  15. Offline

    Extremeboy306

    WTF DID YOU COPY THIS PLUGIN? CUZ THERES ANOTHER PLUGIN LIKE THIS CALLED HAT
     
  16. Offline

    oaschi

    dude, you must be on a really bad trip :D
     
  17. Offline

    whitehooder

    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

    Looks awesome!!! Can you use Dragon eggs? Well done orschi!
     
  19. Offline

    oaschi

    :D

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

    RobeS

    Sweet! I've just received my free minecraft giftcode!

    >> Minecraftcodes.info <<
     
  21. Could you make this permission default to false?
    funnyheads.self

    Would really love that!
     
  22. Offline

    oaschi

    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

    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

    oaschi

    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

    Everything is okay now, I just restarted the server while installing the plugin. I did update from the old one btw.

    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.

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

    oaschi

    thank you for telling me this, i didn't think about that because i never play pvp. i'll make an update soon!
     
  27. Offline

    oaschi

    now open source, it would be great if someone has the time so finish my work ;)
     

Share This Page