[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. Here a small suggestion which i use in my private script:
    Make some blocks have different ability's, like:
    • glass block = infinite air when swimming
    • obsidian = half damage taken when hit
    • ice = water blocks under you change to ice
    • mob spawner = mobs spawn randomly near you
    • tnt = When you die, an huge explosion forms
    or stuff like that :)
     
  3. If someone wants to make a plugin that uses my plugin, I would appreciate to make a hook on mine enabling you to give special abilities with the blocks you have on the head.

    By the way, it can be made without a hook on my plugin, but I could make a Listener class you could use.
     
  4. Offline

    RomaClanServer

    Please do this, this would make manual faction setups work incredibly well. This is basically the only way to differentiate faction groups by sight. Thank you
     
  5. Offline

    Wolf_2789

    And how about placing blocks on your chest, legs and feets? It would be nice to have workbench as torso or stairs as feets. Think about it. ;)

    (sry for my english)
     
  6. Why not with another plugin or maybe on the same, I'll think about it ^^
     
  7. Offline

    Frvwfr3

    Does this plugin still work?

    Just curious..
     
  8. Offline

    sdv232

    Would this be work with helmets? Would be very helpful to have an unremovable helmet to distinguish different faction members for pvp. :D
     
  9. The purpose IS to work with helmets ;) That's why it's called HeadBlocks ^^
    You can place there whatever BLOCK you want to distinct you from the other people.

    (Interesting blocks:
    Code:
    GLASS // transparent effect (seeing head through)
    35: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)
    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 !
    
    )

    You can for example place 35:1 or 35:2 depending on the team you want someone to be into :
    Code:
    /hb o Player1 35:1
    /hb o Player2 35:2
    /hb s 35:1
    /hb o Player3 35:2
    
    With this Player1 and yourself will be in the first team.
    And Player2 and Player3 will be in the second team.
     
  10. Offline

    sdv232

    i understand that... but was wondering whether it would work with maybe a gold helmet... so that the face is still showing but there will be a gold helmet permenantly afixed to his head to show his affiliation to a faction.

    basically im asking if /hb self 314 would work...

    thanks
     
  11. No it won't, the plugin filters the blocks enabled to be put on head, because except helmets no items will have a good view and since helmets can be crafted I disabled all items, by the way, if we were putting a helmet like that it wouldn't be permanent because of its durability.
     
  12. Offline

    sdv232

    Ah.. i forgot about durability. Oh well... ill settle for coloured wool :)

    btw thanks for this awesome plugin!!
     
  13. You're welcome :)
     
  14. Offline

    Plague

    CB 674 - inactive
     
  15. Tested under 740. Still works.

    #Removed [Inactive]
     
  16. Offline

    Brvtvs

  17. Offline

    Cenarius

    great plugin :D
    can you add an option to disable the pumpkin effect xD
    note:91 which is a lighten up pumpkin doesn't have that effect but the dark one is cooler although the effect is sooo annoying me :p
    thanks ^_^
     
  18. The pumpkin effect is entirely Client sided, I cannot deal with it.
     
  19. Offline

    Cenarius

    aw yea, sorry i just knew that yesterday :p
    i'm totally a noob :)
    thanks for the plugin :D
     
  20. You're welcome
     
  21. Can you make it use the block from player's inventory? That would prevent abuse, and make sure people can't use air and such.
     
  22. Offline

    Pheenixm

    "sheep leather"
     
  23. Offline

    MLG Darren :D

    Hey i really like this Plugin and can you please do instead of just fill the head you can fill the body legs and boots slot? Or is it not good? Thanks.
     
  24. Offline

    rad1game

    Support for wear at body, legs.. ?
     
  25. Offline

    Blocker226

    Can this be updated to craftbukkit build 860?
     
  26. Offline

    RG_PankO

    @Hybris9
    I would like to give my users this plugin, but they will free get materials by it :/
    Can you just change their heads butnot giving them the material :/?
     
  27. Offline

    Jopie445

    Awesome!
    I gonna try it right now! :)
     
  28. very cool plugin. unfortunately people can spawn items with it. Wish there was a work around for this
     
  29. Offline

    Mr.NiceMiner

    What is [:<data>]??[brickblock][diamond][diamond][diamond][diamond]
     
  30. Offline

    edragy

    Does it work in 1.2?
     
  31. That would limit my plugin I think. By the way, it can be handled or restored and have persistent memory.

    Anymore "few words" reply ?

    That would be a nice idea, but I don't have time anymore coding this plugin. I saw another one like mine, it might interest you : forums.bukkit.org/threads/25891/

    Testing right now at the latest CraftBukkit version.

    PS : Works on the latest (git-Bukkit-1.2.5-R1.0-b2149jnks) - means it still has not broken ;P

    Need to motivate myself to finish that functionality ^^

    Have fun ;)

    [:<data>] means : "optional argument :<data>"
    :<data> means : ": a number corresponding to (for example: color of wool)"
    Example : /hb self 35:3 (where 3 is the color of wool desired)
     

Share This Page