Mail Script

  • 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!

binbinuser

New Member
Oct 2, 2022
0
1
2
15
This lets players give mail to other players.

This does not allow for the server to give mail. I am currently working on a script that does that.

How this works is:

The player who wants to give mail types /mail <the username of the player who they want to give it to>. It'll then open up a GUI.

In this GUI, the player puts the item in, then clicks it to confirm.
Once they put it in, they can take it back, but only them.

Now, once they put it in, the other player may type /mail (without any arguments,) and then retrieve the mail.
This has been tested on 1.17, 1.18 and 1.19. However, this is such a simple script that I guarantee you it works at least until 1.13.


This is an old script I made, so I didn't use else if:, instead i used
else: [new line] if: