[FUN] HeadBlocks v0.9a - Change your head block (or your mate) [1.7.9-R0.2]

Discussion in 'Archived: Plugin Releases' started by Hybris95, Apr 10, 2011.

  1. HeadBlocks - The Head changer tool

    Latest Version: v0.9 [1.7.2-R0.2]
    Latest Stable Version: v0.9 [1.7.2-R0.2]
    HeadBlocks allows users to change their head item

    Features:
    Show Spoiler

    • Change your own head item
    • Change another player head item

    Downloads:
    Show Spoiler


    How to install and run commands :
    Show Spoiler

    • Copy the latest stable version downloaded in the "plugins" folder of your CraftBukkit server.
    • Launch your CraftBukkit server, then type in the console (if it's necessary) :
      Code:
      op YourName
      (where YourName is the Pseudo of your character ingame)
    • Then connect with this character on your server and type :
      Code:
      /hb self wool
      In the chat
    • Watch your head, if it's not a block of wool, tell me your CraftBukkit version, a list of the other plugins runned and the version of HeadBlocks you're running.

    Commands:
    Show Spoiler

    • /hb self <block>[:<data>]
    • /hb other <player_name> <block>[:<data>]
    • /hb undoself
    • /hb undoother <player_name>
    Code:
    <block> can be replaced by the block name
     
    <data> can be replaced by a data (in letters) depending of the block
    (example WOOL:RED)
     
    <player_name> can be replaced by the name of a player
     
    [:<data>] means its optional to give a data

    Quick Commands:
    Show Spoiler

    • /hb s <block>[:<data>]
    • /hb o <player_name> <block>[:<data>]
    • /hb us
    • /hb uo <player_name>
    Code:
    <block> can be replaced by the block name
     
    <data> can be replaced by a data (in letters) depending of the block
    (example WOOL:RED)
     
    <player_name> can be replaced by the name of a player
     
    [:<data>] means its optional to give a data

    Permissions nodes:
    Show Spoiler

    • headblocks.self (required for self and undoself)
    • headblocks.other (required for other and undoother)

    Previews:
    Show Spoiler

    [​IMG]
    [​IMG]

    Interesting blocks:
    Show Spoiler

    Code:
    GLASS // transparent effect (seeing head through)
    WOOL:X // sheep leather with X as a color number
    glowstone // to test from another point of view
    portal // glowing effect as a block !
    52 // monster spawner (seeing head through) (Gotta find the name corresponding)
    pumpkin // seeing as when you put a real one on your head !
    snow // mmh strange...might be usefull for some skins ?
    air // DO NOT USE this will crash your client !
    dispenser // When throwing objects, this looks like you are a real dispenser
    

    Materials (and Data) lists:

    Changelog:
    Show Spoiler

    Later Version
    • Disallow dropping the head (or replace it directly by the backup-ed Helmet)
    • Disallow recovering the head (to disallow abuses of /give with this plugin)
    • GroupManager and/or Party support ?
    • Support Spout
    Version 0.9
    • PlayerDisconnect events are now handled. If you leave with a HeadBlock on your head, it will be replaced by your old Helmet (or nothing if you had nothing).
    • Tested on CraftBukkit version 1.6.4-R2.0
    • Tested on CraftBukkit version 1.7.2-R0.2
    Version 0.8
    • Many bugfixes and deprecation fixes
    • Now, you can only use the name of materials and not their IDs (same for data)
    • Tested on CraftBukkit version 1.6.4-R2.0
    • Fixed the UndoSelf and UndoOther
    Version 0.7
    • Updated with latest CraftBukkit version 1.5.1-R0.2
    • Merged 0.5a and 0.6
    • Updated to Bukkit's Permissions system
    • Tested on CraftBukkit version 1.5.1-R0.2
    • Tested on CraftBukkit version 1.5.2-R0.1
    • Tested on CraftBukkit version 1.6.4-R2.0
    Version 0.6
    • Not finished yet...you better use 0.5a still !
    • Disabled Permissions support until it's rebuilded with the new system
    • Structure to disallow abuses of the plugin to spawn items
    • Bugs fixed due to CraftBukkit update:
      When the helmet backup is null makes the client crash when undo !
      Crashes the client when placing AIR block
    Version 0.5a

    • Various bug fixes, new stable version !
    • Tested with CraftBukkit 674
    • Tested with CraftBukkit 740
    • Tested with CraftBukkit 1.2.5-R1.0 (which fixes 2 crash bugs)
    Version 0.5

    • Backup of old Helmet (use undoself or undoother to recover the old helmet)
    Version 0.4

    • Added Permissions support (optional). If not installed, Operator status will work instead.
    Version 0.3a

    • Blocks restrictions (items aren't allowed anymore since they have no visual effect)
    • Data restrictions (impossible values are not interpreted anymore)
    Version 0.3

    • Data values (Color of Wheat for example)
    Version 0.2
    • First Release (on Bukkit forums)

    Known bugs (please leave me some feedback !):
    Show Spoiler

    • Not Handling server stopping - yet (for old helmet recovery)

    Credits:

    Socolin and myself

    Make a donation
     
  2. Offline

    SuperAlekZ

    Looks okay, but I think there's something similar out there..
     
  3. Do you have a link ?

    Btw, this plugin is made to make a friend discover the world of bukkit-plugin's programming and sharing on github, so whoever want to work on this plugin can with github and we are working very actively on making it the most complex it can be.
     
  4. Offline

    Kainzo

    Pure-fucking-awesome.

    Do they have to have the block in hand when using the command or does it just change to their item number?

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

    Mohye

    What is the command to reset the headblock to its default value?
     
  6. Offline

    verboseone

    I have factions in my server. I would love for reach group/faction (using groupmanager) to have a headblock without having to do each member manually.

    Request: Set group headblock.

    Looks great!! Thanks!
     
  7. What do you mean by "ability" ?
    You don't have to have the block in hand when using the command. The command just replaces your helmet slot with the given one.
    Not implemented "yet" (so yet, you should first remove your helmet then use the command, to not lost your current helmet)
    I will watch carefully groupmanager and see how I can implement it in HeadBlocks if possible ;)
     
  8. Offline

    Kainzo

    Interesting - I'll give it a test soon :) thanks!
     
  9. Offline

    ShockBuddy

    That looks funny, but i dont think i use it on my Server.
    Keep up the Good work! :D

    [diamond][diamond][diamond][diamond] and an yummy [cookedmeat]!
     
  10. Offline

    silentdojo

  11. You're welcome.
    Thank you very much.
    BlockHead isn't updated anymore by the way, most of their features are supported by my plugin (or is intented to be supported)

    PS : You can also use it by console since the first release of my plugin ;)
     
  12. Offline

    silentdojo

    @Hybris95 The plugin dev for BlockHead is a member of my server he updated it for us. I'll see if he can add it to the other thread. Just an FYI. But nice job on this one too.
     
  13. Well anyway, since my plugin isn't API specialized and simply [FUN] I won't stop the progress on this plugin.
    But anyway, thank you very much :)
     
  14. Offline

    RazorFlint

    Lol, Cool!
     
  15. Just uploaded version 0.4
     
  16. Offline

    RazorFlint

    Good :D
     
  17. New version 0.5a, stable version, added Helmet backup recovery system (/hb <undoself|undoother> [playerName])
     
  18. Offline

    RazorFlint

    Even Better :p
     
  19. Offline

    Morphy

    I don't think this is completely unrelated, but could you ad the function to change our unit sprites as well.
    For example make a player into a sheep + give them a tnt block head : P
     
  20. Offline

    L24D

    Would be a great plugin, if it actually worked... no matter what i type in along with the command.. it only displays the functions of the plugin. (/hb <s|self|o|other|undoself|us|undoother|uo> [playerName] [<<blockId|blockName>[:<data>]>])
    To me... it's basically no different than typing /help repeatedly and expecting it to change the color of a block :p
     
  21. This is not intented to be made sorry.
    /hb self <block>[:<data>]
    /hb other <player_name> <block>[:<data>]
    /hb undoself
    /hb undoother <player_name>
     
  22. Offline

    neorat44

    An ability like when you put lightstone on your head it makes light follow you or something like that nether destorys fire lapis drains water etc I dont know I'm not a plugin creator.
     
  23. Ok, well I already talked about that with my coding-mate and we ended up that these kind of possibilities might be made on another plugin but is not intended to be made on that plugin.
    But I seriously retain this idea ;)
     
  24. Offline

    L24D

    That's what i'm saying, it only displays the command list when i type a command. it simply doesn't work.
    also, i found a plugin that does work, so no worries. :). thanks anyways.
     
  25. Could you be more precise, like :
    Code:
    CraftBukkit version ?
    Java Virtual Machine version ?
    
    What you typed exactly ?
    What it returned ?
    Any exceptions ? If yes, could you copy it entirely ?
     
  26. Offline

    DrChomp

    Hey, I've some idea (you've got it yet i think >< ) Why items couldn't be moved from the inventory to the head like a helmet ? It will be more safe than the give command... And it will makes fun because players can whow their more strange blocks ^^
    Good work and thanks ;) (sorry for my bad english :/ )
     
  27. This requires a client mod.
     
  28. Offline

    2Bucks

    Does this plugin prevent players from taking the block out and adding it to their inventories?
     
  29. Offline

    DrChomp

    Thanks for your answer ;)
     
  30. Not yet, but as written in my first post it will be later ;)
     

Share This Page