[FUN] HeadBlocks v0.7 - Change your head block (or your mate) [1.5.2-R0.1]

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

     
  1. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    HeadBlocks - The Head changer tool

    Latest Version: v0.7 [1.5.2-R0.1]
    Latest Stable Version: v0.7 [1.5.2-R0.1]
    HeadBlocks allows users to change their head item

    Features:

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

    Downloads:


    How to install and run commands :

    • 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 20
      In the chat
    • Watch your head, if it's not a block of glass, tell me your CraftBukkit version, a list of the other plugins runned and the version of HeadBlocks you're running.

    Commands:

    • /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 or the block id number
     
    <data> can be replaced by a number depending of the block
    (example WHEAT:5 = Lime wheat)
     
    <player_name> can be replaced by the name of a player
     
    [:<data>] means its optional to give a data

    Permissions nodes:

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

    Previews:

    [IMG]
    [IMG]

    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 !
    dispenser // When throwing objects, this looks like you are a real dispenser
    


    Changelog:

    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.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
    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

    Known bugs (please leave me some feedback !):

    • Not Handling player disconnection - yet (for old helmet recovery)
    • Not Handling server stopping - yet (for old helmet recovery)
    • Undo needs to be fixed

    Credits:

    Socolin and myself

    Make a donation

    This post has been edited 21 times. It was last edited by Hybris95 May 5, 2013.
  2.  
  3. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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)
  4. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    do glowstonehats glow?
  5. Offline

    taggywaggy10

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You Got that right :D
  6. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Glowstone Hats don't Glow. This is Client sided and can't be changed with a simple plugin.

    [IMG]
  7. Offline

    Kainzo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Love it!
  8. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Glad to hear about it :)

    By the way, I'm trying to work on the v0.6 but I have to study a bit the new Event system, here is what I made until now : http://dl.dropbox.com/u/22338492/HeadBlocks/source/v0.6/src.zip

    If anyone has some idea to unlock me ;)

    By the way, the next version won't support Permissions until I rebuild it with the new system...

    This post has been edited 1 time. It was last edited by Hybris95 Apr 9, 2012.
  9. Offline

    Semirotta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What is the problem?
    Donators rank players have permission node:
    - headblocks.self

    Yet still if they type /hb self *id* or *blockname* , they only get the message "how to" use the commands etc.
    (/hb <s|self|o|other|undoself|us|undoother|uo> [playerName] [<<blockId|blockName>[:<data>]>])
  10. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    The Permissions node system is made for the old Permissions plugin made by nijikokun not with the standard Permissions API.
  11. Offline

    Royalgamer06

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    • All CAPS and Spam. Read the TOS.
    BLOCKHAD IS THE BEST!
  12. Offline

    Semirotta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    so, bpermissions -> you cant use this plugin. What an shit
  13. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It still works with Op statuses so it's usable technically.
  14. Offline

    Semirotta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ya i noticed this but cant this plugin be a bit "updated" ? seriously... who uses old permissions and wtf are these old permissions? like 2.7.4 etc?

    id want to give permission for donators to use this...
  15. Offline

    littleMe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    PLEASE make an example how to use it like /hb snow ANDWHAT COMES HERE?
  16. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Trying to find some time updating it, but if anyone wish to work on my plugin, feel free the source code is right there ;P
    And of course none uses old permissions that's why I talked about rebuilding the Permissions system (in a future update that I don't know when it'll be out since I give most of my developper's time to my job ^^).

    The syntax is in the post description.
    But if you need an example there is one at this answer #61
    And still if you don't get enough examples here are some :
    Code:
    /hb self 20 (gives a glass hat)
    /hb undoself (removes the previous given hat)
    /hb other ThisPlayer 35:2 (gives to "ThisPlayer" a wool hat of color #2)
    /hb undoother ThisPlayer (removes the previous given hat for "ThisPlayer")
    
  17. Offline

    Semirotta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i wish i could make plugins -.- id update it for ya :E but i dont know how to do anything :E
  18. Offline

    littleMe

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I am trying to do following commands:

    /hb 20
    /hb self 20

    But none work i am using v.o5 and there is no folder in the plugins folder but i can still do /help HeadBlocks

    PLEASE HELP AND I WILL DONATE
  19. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If you wish to learn, you can begin with my source code, you know what ?
    Got Skype or anything we can talk privately if you wish.
    I'd feel much more motivated if I had someone to do it with, so why not a private lesson :D ?

    I need a little more pieces of information to help you out :
    What CraftBukkit version are you running ?
    What other plugins is your server running out ?
    Can you try v0.5a ?

    How to install :
    (Copy the ".jar" Downloaded in the "plugins" folder of your CraftBukkit server)
    Launch your CraftBukkit server, type in the console :
    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 20
    In the chat
    Watch your head, if it's not a block of glass, tell me your CraftBukkit version, a list of the other plugins runned and the version of HeadBlocks you're running.

    Edit :
    Updated the whole presentation to be more visually clean and interactive.
    Added the How to install and run commands section.

    This post has been edited 1 time. It was last edited by Hybris95 Apr 19, 2012.
  20. Offline

    Semirotta

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Sure, Semirotta < - is how u find me in SKYPE :)
    Tonight might be a bad coz im off to work in 15 mins and i wont be back for 13½ - 14 hours :p a bit long day incoming.
    Also i must warn you, my english / english understanding is NOT best possible :D
  21. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    k added!
    Im not really free this weekend but maybe one day in the next week if we find time to do it ;)
    Btw Im not from an english-speaking country also. I'm French ;P
  22. Offline

    kohina

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Support for spout custom blocks?
  23. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That might be a good idea, retained ;)
  24. Offline

    kohina

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can't wait! :cool:
  25. Offline

    bars96

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Make it only uses what is in your hand. Because players are get free adminiums, diamond blocks and TNT.
  26. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Im planning to fix that issue in another way so that people can use whichever hat they wish but not recover it.
  27. Offline

    bars96

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This way is bad :(
  28. Offline

    kohina

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Allowing/blocking use of pre defined blocks? Not sure if you already have planned this in Later versions. If so, please ignore :D

    Ie. in config you would have something like "allowedBlocks: 10,20,30"

    or maybe in permissions

    headblocks.allowed.wood

    etc.
  29. Offline

    Hybris95

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This is my way. Feel free to take the source and do it as you wish ;)

    Well before that, maybe we should put back a decent permissions system up to date.
    And certainly if I manage to find some time for it I will probably implement that, that was just not said ;)
  30. Offline

    a11111

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please fix this! IMO this is the most important thing to fix first, because right now the plugin only works for creative servers. If you try to use it on a survival server you're just giving people unlimited free items with this.
  31. Offline

    Mista Epic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you make it possible to just PUT the block on your head via inventory?
  32. Offline

    Mista Epic

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

Share This Page