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.

Solved Server book

Discussion in 'Requests' started by loadka95, Mar 21, 2017.

  1. loadka95

    loadka95 Active Member

    Joined:
    Feb 24, 2017
    Messages:
    78
    Likes Received:
    6
    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!
     
    #1 loadka95, Mar 21, 2017
    Last edited: Mar 21, 2017
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    229
    Code (Skript):
    1.  
    2. options:
    3.     title: book title here.
    4.     author: book author here.
    5.     slot: 2
    6. on script load:
    7.     set {page::1} to "some thing"
    8.     set {page::2} to "stuffz" #If you want more pages, set a variable called {page::(page number here)}
    9.  
    10. command /serverbook:
    11.     executable by: players
    12.     description: Command for get the book with the server info.
    13.     trigger:
    14.         set slot {@slot} of player to written book titled "{@name}", written by "{@author}", pages {pages::*}
    15.  
    16. on join:
    17.     wait 1 tick
    18.     player command "serverbook"
    19.  
    20.    
    21.  
     
    • Like Like x 1
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    229
    Thank you! I appreciate it! :emoji_slight_smile:
     

Share This Page

Loading...