[ADMN] FullChest v0.3 - Spawn a full chest of anything in five seconds [1185]

Discussion in 'Inactive/Unsupported Plugins' started by Ineentho, Apr 23, 2011.

  1. Offline

    Ineentho

    [FullChest]
    Spawn a chest full of.. anything! in less than five seconds!
    Version: v0.4







    Any OP may use /fullchest itemname to spawn a chest full of itemname above the block you are looking at. Itemname may be either a ID or the name of item (for example diamond_sword, tnt or 46).

    FULLCHEST HAS MOVED TO BUKKITDEV, TRHEAD IS NOT UPDATED.



    Features:
    • Spawn a chest with all slots full of the specified item in stacks of 64.
    • You can create a second chest next to the first one to create a double chest with the second half filled with the item you specified the second time.
    • Infinite range: As long as you see the block you are going to place the chest on, you can spawn it!
    • OP protection so your regular players can't spawn chests :)
    • Support data values, works just as ScrapBukkit: /fullchest wool:1 for orange wool, 17:2 for birch wood etc.
    Download the plugin

    Notice:
    I'm not working actively on this plugin, however that may change in the future.

    Warning:
    Do not create a chest full of AIR (ID:0), the server will crash! If you accedently did this, you can fix it by opening the world in MC-edit, and select the chest you created, and delete it.

    Permissions:
    Permissions is optional, and is auto-detected. Without Permissions, the plugin simply relay on the built in OP system. There's only one Permission node at the moment:
    - 'FullChest.create' (that allows you to create a chest using /FullChest.)

    Shortcut:
    If you think it takes too long to write /fullchest, you can use bShortcut, a great plugin that will make any bukkit commands shorter.

    List Of Item Names (open)

    source: The javadocs

    AIR
    STONE
    GRASS
    DIRT
    COBBLESTONE
    WOOD
    SAPLING
    BEDROCK
    WATER
    STATIONARY_WATER
    LAVA
    STATIONARY_LAVA
    SAND
    GRAVEL
    GOLD_ORE
    IRON_ORE
    COAL_ORE
    LOG
    LEAVES
    SPONGE
    GLASS
    LAPIS_ORE
    LAPIS_BLOCK
    DISPENSER
    SANDSTONE
    NOTE_BLOCK
    BED_BLOCK
    WOOL
    YELLOW_FLOWER
    RED_ROSE
    BROWN_MUSHROOM
    RED_MUSHROOM
    GOLD_BLOCK
    IRON_BLOCK
    DOUBLE_STEP
    STEP
    BRICK
    TNT
    BOOKSHELF
    MOSSY_COBBLESTONE
    OBSIDIAN
    TORCH
    FIRE
    MOB_SPAWNER
    WOOD_STAIRS
    CHEST
    REDSTONE_WIRE
    DIAMOND_ORE
    DIAMOND_BLOCK
    WORKBENCH
    CROPS
    SOIL
    FURNACE
    BURNING_FURNACE
    SIGN_POST
    WOODEN_DOOR
    LADDER
    RAILS
    COBBLESTONE_STAIRS
    WALL_SIGN
    LEVER
    STONE_PLATE
    IRON_DOOR_BLOCK
    WOOD_PLATE
    REDSTONE_ORE
    GLOWING_REDSTONE_ORE
    REDSTONE_TORCH_OFF
    REDSTONE_TORCH_ON
    STONE_BUTTON
    SNOW
    ICE
    SNOW_BLOCK
    CACTUS
    CLAY
    SUGAR_CANE_BLOCK
    JUKEBOX
    FENCE
    PUMPKIN
    NETHERRACK
    SOUL_SAND
    GLOWSTONE
    PORTAL
    JACK_O_LANTERN
    CAKE_BLOCK
    DIODE_BLOCK_OFF
    DIODE_BLOCK_ON
    LOCKED_CHEST
    IRON_SPADE
    IRON_PICKAXE
    IRON_AXE
    FLINT_AND_STEEL
    APPLE
    BOW
    ARROW
    COAL
    DIAMOND
    IRON_INGOT
    GOLD_INGOT
    IRON_SWORD
    WOOD_SWORD
    WOOD_SPADE
    WOOD_PICKAXE
    WOOD_AXE
    STONE_SWORD
    STONE_SPADE
    STONE_PICKAXE
    STONE_AXE
    DIAMOND_SWORD
    DIAMOND_SPADE
    DIAMOND_PICKAXE
    DIAMOND_AXE
    STICK
    BOWL
    MUSHROOM_SOUP
    GOLD_SWORD
    GOLD_SPADE
    GOLD_PICKAXE
    GOLD_AXE
    STRING
    FEATHER
    SULPHUR
    WOOD_HOE
    STONE_HOE
    IRON_HOE
    DIAMOND_HOE
    GOLD_HOE
    SEEDS
    WHEAT
    BREAD
    LEATHER_HELMET
    LEATHER_CHESTPLATE
    LEATHER_LEGGINGS
    LEATHER_BOOTS
    CHAINMAIL_HELMET
    CHAINMAIL_CHESTPLATE
    CHAINMAIL_LEGGINGS
    CHAINMAIL_BOOTS
    IRON_HELMET
    IRON_CHESTPLATE
    IRON_LEGGINGS
    IRON_BOOTS
    DIAMOND_HELMET
    DIAMOND_CHESTPLATE
    DIAMOND_LEGGINGS
    DIAMOND_BOOTS
    GOLD_HELMET
    GOLD_CHESTPLATE
    GOLD_LEGGINGS
    GOLD_BOOTS
    FLINT
    PORK
    GRILLED_PORK
    PAINTING
    GOLDEN_APPLE
    SIGN
    WOOD_DOOR
    BUCKET
    WATER_BUCKET
    LAVA_BUCKET
    MINECART
    SADDLE
    IRON_DOOR
    REDSTONE
    SNOW_BALL
    BOAT
    LEATHER
    MILK_BUCKET
    CLAY_BRICK
    CLAY_BALL
    SUGAR_CANE
    PAPER
    BOOK
    SLIME_BALL
    STORAGE_MINECART
    POWERED_MINECART
    EGG
    COMPASS
    FISHING_ROD
    WATCH
    GLOWSTONE_DUST
    RAW_FISH
    COOKED_FISH
    INK_SACK
    BONE
    SUGAR
    CAKE
    BED
    DIODE
    COOKIE
    GOLD_RECORD
    GREEN_RECORD


    Changelog:
    Version 0.3 (Download)
    • Data values (Wool:1-15 for colored wool etc)
    Version 0.2 (Download)
    • Added support for permissions
    Version 0.1 (Download)
    • Release
     
    cj89898 and beecub like this.
  2. Offline

    greekguy

    download link is down D: sounds really good though!

    EDIT : nevermind! clicked it again and it worked!
     
  3. Offline

    Afatsum

    It works pretty good, but i wanted a chest full of cactus green (dye you make out of cacti), and tried
    -Cactus green which gave cacti
    -cactusgreen, nothing happened
    -green, nothing happened either
    What am i supposed to do?:(
     
  4. Offline

    tha d0ctor

    try using the exact item id number
     
  5. Offline

    JD DeGaetano

    how do you do color wool?
     
  6. Offline

    captainawesome7

    Permission Support??
    As in are you going to add it...
    *edit* and could you please include a source download? If you aren't going to add permissions I could do it myself easily, and I don't want to use the regular op system.
     
  7. Offline

    Ineentho

    You can't at the moment.
    Well... my source isn't good at the moment, so I don't really want to upload it yet, but I could add permissions soon. (If I don't do it today Ill maybe upload the source)
     
  8. Offline

    captainawesome7

    @Ineentho
    Oh. Lol its ok, my source is an absolute mess (but the plugin works lol). I would like to see permissions implemented, but if you don't want to do it or aren't up to the task (for whatever reason) I'm just saying I would like to do it myself.
     
  9. Offline

    Ineentho

    Uploaded version 0.2:
    Added permission support.
     
  10. Offline

    JD DeGaetano

    Blaaaarrgghh! Color would be great! I've found really good uses for this plugin. That's just the last thing it's missing.
    :)
    Great plugin thanks!
     
  11. Offline

    Ineentho

    Thanks for the feedback :) Will work on color later
     
  12. Offline

    Shooty

    Hey, don't try to create /fullchest air plz, if you open it , you crash, if you break it, your's charachter (and others around) cannot connect, same after a reboot, if you can fix it :) !

    Thanks (and sorry i'm french)
     
  13. Offline

    Ineentho

    Hey, thanks for the note! Will block you from creating chests of air in a future versions, didn't test creating air before.
     
  14. Offline

    beecub

    please add a shorter command. /fc item in addition to /fullchest item
     
  15. Offline

    Ineentho

    Would that be a good idea? What would happen if another plugin also used /fc? Also, I don't think you will use the command that often.
     
  16. Offline

    beecub

    its very tedious to type these long commands more than 3 times in a row. come on guy, if youre worry that another plugin is using this add /fuc for example ;)
     
  17. Offline

    Ineentho

    Let's say that there is a plugin that only have one command, /fc. What if I override it, than you can't use the other plugin with this.
     
  18. Offline

    beecub

    Written the solution:
    bShortcut
    Youre one of my examples :)
     
  19. Offline

    Ineentho

    Ah nice, that was actually something that was needed here, great idea!
    EDIT: Promoted you in the first post
     
  20. Offline

    beecub

    Thanks a lot. "Like" your first post :D.
     
  21. Offline

    Alvyss

    haha.
    i think its great.
    helps heeps for trying to help new players n all.
    is it possible to create items with 2 words?
    for example: lapis lazuli.
    wont let me create any item with more then oneword.
    but still think its awesome. :)
     
  22. Offline

    Ineentho

  23. Offline

    Vynnr

    This is awesome!
    One more request though, is it possible to make dispensers automatically loaded with items? I hate restocking arrow traps :D
     
  24. Offline

    assassin4231

    uhhh what happens if you didnt see the dont spawn air, spawned it and then broke the chest? my server kicked everyone off of it and you can only get a glimpse of the serverbefore mc just crashes i went into mc edit and destroyed the area around the chest but it still dosent let anyone on, any sugguestions?
     
  25. Offline

    beecub

    We're using this plugin very often on our servers. So i have some more requests from me and my team. :)

    Fill a chest with different items.
    Example:
    /fullchest 1 5 - will set a chest with 50% cleanstone and 50% wood.
    Another possible way:
    /fullchest 1 30 5 70 - will set a chest with 30% cleanstone and 70& wood.
    Or let us choose the amount:
    /fullchest 1 500 - will set a chest with 500 blocks cleanstone.

    Would be really great if you could add all of these 3 ways. Perhaps with different commands.
    What do you mean? ;)
     
  26. Offline

    Ineentho

    I'm afraid I don't have any suggestions. You might want to try destroy a larger area (With a backup ofcourse), and see if it works.
    Cool idea! Will probably work on that later today.

    I will probably also fix the air bug, but I'm afriad I can't rescue any broken words :(
     
  27. Offline

    fullwall

    @Ineentho - if the id == 0, set the itemstacks to null (null = air).
     
  28. Offline

    Ineentho

    Do you mean I could run a check over the whole world?
     
  29. Offline

    fullwall

    Well, if the item ID used is 0, that is how you would handle it - use null itemstacks instead of itemstacks id 0. You could run a check over the whole world, probably be hard to do though.
     
  30. Offline

    darklust

    Just installed this, useful as hell when creating noob-friendly tools in spawn, reduces the amount of time necessary to place the items xD Keep up the good work man.
     

Share This Page