[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

    DoseOfTech

    Support for spout?????
     
  3. Offline

    semistro

    other interesting block is 23 (dispenser) cause if you have that head and you drop something in perfectly comes out the dispense hole, so it looks like your head is a real dispenser
     
  4. Offline

    zackemattackem

    u should make it so u can have stuff like glass blocks let u breath underwater.etc
     
  5. when a new 1.3.2 R1 update ??
     
  6. Update: Version 0.7 is out, updated with latest CraftBukkit version [1.5.1-R0.2].
    This version needs to be tested out so if anyone wish feel free, I'd be happy to have many feedbacks.

    Working on it for 0.8

    This needs a client tweak, so no.

    Implemented in 0.7 (using Bukkit's Permissions system)

    There's no Permissions for that, it's a fault of my plugin. By the way, I'm working on it, should be done for 0.8

    Already added in my todo list, but not planned yet.

    Gotta test that ingame :p Fun, ima add that to the main post.

    I already thought about that, but yet I still need to perfect the flaws of the current functionnalities.

    Well never I directly updated it to 1.5.1-R0.2
    Jokes appart, sorry about the long time I took to update my plugins.. IRL doesn't wait ;)

    Edit : Tested on CraftBukkit v1.5.1-R0.2, works like a charm
    Edit(2) : Tested on CraftBukkit v1.5.2-R0.1
    Edit(3) : Tested on CraftBukkit v1.6.4-R2.0
     
  7. Offline

    Kenchmeister

    Quick question. Typing in the command /hb self 35:11 but only recognizes it as /hb self 35:1 tried it as /hb self 35:[11] still recognizes it as being /hb self 35:[1]. Any help please?
     
  8. Got anything in the server console ? Any exception throwed ?

    Ima try that as soon as possible.

    Edit : Just tested and I have the exact same problem. Gonna fixpatch it as soon as possible.
    Edit(2) : Tested also with another syntax made for debug which doesn't work also /hb s 35:magenta
    Recompiled it with CraftBukkit_1.6.4 and have no warnings for deprecation or errors..so Ima push the debug a little farther and tell you. Maybe tomorrow ;)
     
  9. Offline

    Kenchmeister

    Alright cheers, will be following this space. ;)
     
  10. Found a new way to deal with Materials I use in my plugin (the old magic way is now deprecated).
    I made about 40% of the work yet, I will keep you informed when I have time to finish that update.

    This deprecation will probably impact some other plugins I made like MakeEmSpawn (which currently works but could probably become outdated if I don't act soon).
     
  11. Update :
    Version 0.8 is now out.
    Fixes many bugs (like Undo which couldn't work anymore)
    And fixes data recovering (by not using the IDs anymore but data/material names).

    I will give the list of the Materials and specific Data later, example : /hb s WOOD:JUNGLE
     
  12. Update :
    Version 0.9 is out.
    Handles player disconnections.
    When someone with a HeadBlock block on his head leaves, it is automatically replaced by his old helmet
    (or nothing if he had nothing).

    Main post edited, by the way, I added the materials list and the specific datas (yet handled) lists.

    Edit: Also added the quick commands usage.
     
  13. Tested HeadBlocks on 1.7.2-R0.2, works perfectly without any modifications.
    Feel free to use it for this version "also".
     

Share This Page