1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[1.12.2] Book Mails

Discussion in 'Requests' started by Jazzkuh, Aug 29, 2019.

  1. Jazzkuh

    Supporter Addon Developer

    Dec 23, 2018
    Likes Received:
    Category: Mail

    Suggested name: Bookmail

    Spigot/Skript Version: 1.12.2, skript 2.2-dev33

    What I want:
    I would like to have a skript that uses books in wich you can write some text and you can send it to another player. How it works: You can use the command /sendmail [player]: that opens a book where you can write the text in than if you click on done it closes and saves the text. If the other player clicks on a enchantment table (Mailbox) they can see a gui if they have unread books/mails, the gui shows a book wich the player can click on. In the book you can see the text the sender send. If they leave the bookmenu thing the book will automaticly be removed from the mailbox. The title of the gui item is the name of the sender of the book.

    Ideas for commands:
    /sendmail [player] (See "What I want: " for more information)

    Ideas for permissions:
    No permissions.

    When I'd like it by: As soon as possible
  2. H3A

    H3A Member

    Aug 19, 2019
    Likes Received:
    1. Code (Text):
      1. set {_bookToOpen} to a new book
      2. loop book pages of {existingBook}:
      3.     add page with data loop-value to {_bookToOpen}
      4. open book {_bookToOpen} to arg-1
    2. no u

Share This Page