[REQ]Locked chest item explodes when opened.

Discussion in 'Archived: Plugin Requests' started by RaydarScan, Jan 22, 2012.

  1. Offline

    RaydarScan

    Plugin category:Fun

    Suggested name:Up to creator.

    What I want:A plugin that makes that locked chest item (ID:95) not disappear after a few seconds and it explodes when right clicked on.(If possible can it spew cake?)

    Ideas for commands: No commands needed for this plugin.

    Ideas for permissions:Permissions are not needed for this plugin.(None that I can think of :D)

    When I'd like it by: No rush! Take your time.



    Similar plugin requests: None.

    The reason why i want this is because my friend and I, like to troll our other friends with vanishnopacket, open inventory and things like that.
     
  2. I'll take the challenge! I would really love to code this! I'll start coding as soon as I get home from school tomorrow.

    Keir

    Also how many cakes would you like it to spew?

    And should the explosion do any damage to the land and players? Or should I just make it so that the explosion effect is played.

    Keir

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

    HON95

    LOL, sounds epic :D
     
  4. Offline

    RaydarScan

    Sorry for the late reply.
    I would like it to spew 10 cakes, and it does damage to the players, and the land.
    Maybe sometime could you make a config for how many cakes, if it hurts the player, and if it destroys the land.
     
  5. Ok, i'll try and add a config after the initial release, also should I add permissions so it won't blow up if an OP/Admin tries to open it?

    Keir

    Here is version 0.1

    Explosion does no damage, going to wait til this is configurable. Also no permissions, will add this later and option in config.

    http://dl.dropbox.com/u/16989182/LockedChestSurprise.jar

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  6. Why you no use devbukkit?
     
  7. Don't you mean BukkitDev? And yes it will be going on there shortly :D

    Keir

    Started work on the config!

    Done some work on the config and fixed a bug when you right click the locked chest with an item it will not place.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  8. I suppose it is bukkit dev but the web address is devbukkit and it sounds better.
     
  9. I prefer BukkitDev but anyways we are going off topic!
     
  10. Offline

    RaydarScan

    I can't seem to make it explode when I click it.
    Am I doing something wrong?
    I am using Build 1.0.1-R1 or whatever

    iKeirNez I just had an idea! It's fine if you don't do this, but I was thinking if you hold shift and right click as an Op or Admin or whatever with an item, it toggles a smoke affect that occurs every X amount of seconds at the chest to lure the player in.

    Just a thought...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  11. Try right clicking.

    That would require files to remember all the blocks which is a pain for such a small feature. I could make it so that all locked chests smoke but thy could potentially cause lag.

    Keir

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

    flerbergerber

    How do I use it?
     
  13. Offline

    RaydarScan

    I right clicked on it, but it does nothing.

    It is fine, don't do this then, I was just curious if it was possible without too much work or lag.
     
  14. Offline

    flerbergerber

  15. Offline

    RaydarScan

    I found out that the server is having trouble enabling the plugin.
     
  16. Ok, I am not sure why it is not working. Are definitely using the LOCKED CHEST BLOCK? The block that looks the same as the one in 1.7?

    Hmmmm, can you post the error message?

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

    RaydarScan

    When use right click on the item "Locked Chest", it should explode and cake should fly in the air or something, I cant get my server to enable the plugin so I don't know what it looks like. :[
     
  18. You should just be able to right click a locked chest block.

    Keir
     
  19. Offline

    flerbergerber

    I'll try using it

    Does it add a locked chest block or do I need a plugin for that?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  20. Have you put the LockedChestSurprise.jar file in your plugins folder?

    It already exists, it was added as a joke in 1.7 and is not craftable just now (you can add a Plugin which will let you craft it)

    In you server console do

    give <your_username> LOCKED_CHEST

    Replace <your_username> with your username.

    Keir

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

    RaydarScan

    I get this in the pail server manager, can't find the error in the system 32 console.

    05:54 PM [SEVERE] Error occurred while enabling LockedChestSurprise v0.1 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin:]V

    In a few i will remove all plugins except this, as I have WAY too many plugins [about 90 something].
     
  22. Offline

    flerbergerber

    K i'll do that now
     
  23. Offline

    RaydarScan

    yes i have done this.
     
  24. You do not have the latest CraftBukkit 1.1 dev version.

    Ouch! That is a lot of plugins!
     
  25. Offline

    flerbergerber

    Doesn't work for me, either
     
  26. Are you on the latest 1.1 CraftBukki dev build?

    I'll try this again tomorrow.
     
  27. Offline

    flerbergerber

    I have 1.1
     
  28. Offline

    RaydarScan

    Other plugins are not conflicting with it. I don't see why it is doing this.
     
  29. Yes but is your server on the LATEST CraftBukkit DEV build.

    I'll take a look tomorrow but are you on the LATEST CraftBukkit DEV build?

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

    RaydarScan

    No, I am on the 1.0.1-R1 recommended build because the plugins I use make the server not playable at all with the dev build.
     

Share This Page