Give player a book when clicking on lectern

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

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

plantje17

New Member
Aug 11, 2019
6
2
0
I have a lectern at spawn with information about the server. Unfortunately I can't figure out how to put it in read-only for other players (either they can take the book of they can't access the lectern at all) so I'm looking to write a script that gives them the book with the info while protecting the lectern from being accessed. The problem is I can't figure out to do this. Is there a way I can store the book in a chest somewhere and give the player a copy of it everytime they click the lectern? (Alternatively, I'd also be happy if someone could tell me how to set the permissions right with WorldGuard or LuckPerms.)
 
Status
Not open for further replies.