Solved Server book

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

loadka95

Active Member
Feb 24, 2017
78
6
8
26
Hi!

Suggested name: ServerBook

What I want:
If the player joins to the server, i want him to get a book immediately. Inside the book i want some basic informations about the server, server rules, warps etc.. which i can edit later

Ideas for commands:
- /serverbook - to get the book
Ideas for permissions:
- no permission
When I'd like it by: in 1-2 days :emoji_slight_smile:

Thanks!
 
Last edited:
code_language.skript:
options:
    title: book title here.
    author: book author here.
    slot: 2
on script load:
    set {page::1} to "some thing"
    set {page::2} to "stuffz" #If you want more pages, set a variable called {page::(page number here)}

command /serverbook:
    executable by: players
    description: Command for get the book with the server info.
    trigger:
        set slot {@slot} of player to written book titled "{@name}", written by "{@author}", pages {pages::*}

on join:
    wait 1 tick
    player command "serverbook"
 
  • Like
Reactions: loadka95
code_language.skript:
options:
    title: book title here.
    author: book author here.
    slot: 2
on script load:
    set {page::1} to "some thing"
    set {page::2} to "stuffz" #If you want more pages, set a variable called {page::(page number here)}

command /serverbook:
    executable by: players
    description: Command for get the book with the server info.
    trigger:
        set slot {@slot} of player to written book titled "{@name}", written by "{@author}", pages {pages::*}

on join:
    wait 1 tick
    player command "serverbook"
Thank you! I appreciate it! :emoji_slight_smile: