BentoBox icon indicating copy to clipboard operation
BentoBox copied to clipboard

MailBox

Open wellnesscookie opened this issue 6 years ago • 1 comments

Description

Describe the solution you'd like us to implement.

Each island would have it's own Mailbox. This mailbox is actually a block that opens a GUI when island members right click on it. (I'm aware this below is actually a bird-house 😅)

mailbox

When opened, a resizable GUI would be opened. Example:

GUI

config:

sections:
    spam:
         icon: RED_STAINED_GLASS_PANE
         name: &cSpam Section
         lore: ""
    important:
         icon:
         name:
         lore:
  • Chest on the GUI picture would be for throwing mails in the trash can. you can either move the mail on it to only throw one or press on it to delete all. Mails in trash are deleted after 30 days.
  • Click on a section item will open a new GUI showing mail that has been sorted in it.
  • The /mail send command should only be allowed for execution when near at least 5 blocks from the mailbox block itself. (Preffer the range configurable), bypass permission is welcome

An example of how the mail itself would look when you hover your cursor over it: Mail_itself

Defining a mailbox block

Options:

  1. Place a sign on a blueprint with text [Mailbox] for blueprints manager to recognise it when generating the island and replace it with material given in config.yml
  2. Use a command to define a block you are looking at as a mailbox block. /island mailbox set (Would be cool if permissions could increase a number of mailboxes you can have on an island)

Additional context

  • None for now

wellnesscookie avatar Oct 05 '19 15:10 wellnesscookie

Interesting addon idea, because it requires us to improve the API alongside. Mostly in regards to Blueprint pasting - definitely an interesting thing to think about!

Poslovitch avatar Oct 05 '19 15:10 Poslovitch