Filled ChestPreview

Discussion in 'Archived: Plugin Requests' started by Fluby26, Nov 12, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Fluby26

    Suggested name: ChestPreview

    What I want: I'd like a plugin where you can place a chest down and display items in this chest with a name and multiple lores. For example when players right-click a chest they can view the items they can get from voting but cannot take the items out of the chest.

    It's not a kit so not a kitpreview plugin but a plugin that allows you to display items in a chest without having players take the items but able to see the enchantments, lores and item name. I can easily add lores and other items saying Info and all that I just need a plugin that makes it so you can put items in a chest and players can't take them out of the chest.

    In the config I'd also like to be able to customize how many chest rows will be show IE 9,18,27, ect.

    Ideas for commands:
    /displaychest - Gives you a chest that you can put on the ground and place items in

    /displaychest confirm - confirms the items you put in that chest

    Ideas for permissions: displaychest.preview - Can preview any display chest
     
  2. Offline

    connorlinfoot



    Done!

    You can download here https://github.com/ConnorLinfoot/DisplayChest/releases/tag/v1.0
    And source is here https://github.com/ConnorLinfoot/DisplayChest/

    To get a display chest do /displaychest, to edit a display chest a player with the perm "displaychest.edit" can hold shift when clicking the chest.

    Let me know of any bugs or anything! :D
     
  3. Offline

    Fluby26

    connorlinfoot Thanks, when I try to shift and right-click the item into the chest it gives the item back to me and doesn't put it in the chest.

    Also when you place down any chest no matter what it turns into a displaychest

    connorlinfoot Also you cannot place stuff in chests

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 13, 2016
  4. Offline

    connorlinfoot


    This is fixed now https://github.com/ConnorLinfoot/DisplayChest/releases/tag/v1.0.3



    You need to hold shift when first opening the chest, not when placing in items.
     
  5. Offline

    Fluby26

    connorlinfoot likes this.
  6. Offline

    Jaaakee224

    Please set this thread to Filled! :)

    EDIT by Timtower: Changed thread to filled
     
  7. Offline

    Fluby26

    connorlinfoot Think you can fix the glitch in the DisplayChest plugin where when you open the chest it stays open?
     
  8. Offline

    connorlinfoot


    From what I can tell this is a server/client glitch, I will have a quick look later and check to see if it's possible to fix but no promises.
     
  9. Offline

    Fluby26

    connorlinfoot Okay also can you make it so instead of placing down a chest and opening it, you can just type /displaychest then right-click the chest and it turns into a displaychest. Then you can shift + left click it store the items in it and when you left click it, it shows you the items in the chest?
    Thanks
    JP
     
  10. Offline

    connorlinfoot


    Try the latest 1.1 snapshot here: http://ci.connorlinfoot.com:8080/job/DisplayChest/

    You should be able to do it with that, let me know if it works, not had time to test it cause I coded it on my phone on the way to work this morning xD
     
  11. Offline

    Fluby26

    connorlinfoot it won't let me edit the chest I'm holding shift + right click and it wont put the items in the chest
     
Thread Status:
Not open for further replies.

Share This Page