StaffGuide

Discussion in 'Plugin Requests' started by PolarBearGalaxy, Mar 18, 2018.

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

    PolarBearGalaxy

    Plugin category: Utility

    Minecraft version: 1.8.8

    Suggested name: StaffGuide

    What I want: I need a plugin where if a player (with certain permission) does /staffguide, it opens a chest-gui. Inside the GUI are items put in there by ops. These can be written books, or a simple diamond sword. If someone left-clicks on the item, the item is duplicated and placed into their inventory. If the item is right-clicked by an op, the item will be completely removed from the GUI forever unless an op puts it back in.

    Ideas for commands:
    /staffguide - opens the main gui

    Ideas for permissions:
    staffguide.use - ability to use /staffguide
    staffguide.admin - ability to edit what is in the staff guide. (This is only if you are not able to make it op-only.)

    When I'd like it by: This week sometime.

    Thanks so much!
     
  2. Offline

    ITGuy12

  3. Offline

    PolarBearGalaxy

    Saved. thanks.
     
  4. Offline

    ITGuy12

    Oh. I see. YAML saving items can be easier said than done.
     
  5. Offline

    Jamiezi

    **Ignore**
     
    Last edited: Mar 28, 2018
  6. Fortunately there is an automatic serialization for items in config files, it’s just not in a very nicely readable format. Just do config.set(path, itemstack) and it will automatically serialize :)

    @PolarBearGalaxy do you still need the plugin? It could be done with a regular command-GUI... but you’d have to add in the books as kits or something, and then make clicking it in the GUI give you that kit.
     
  7. Offline

    ITGuy12

Thread Status:
Not open for further replies.

Share This Page