[Skript Java Addon] Skellett icon

[Skript Java Addon] Skellett -----

All your Skript needs in one addon!



Interactive books and 1.12 actionbars!
Added:
- Json/Interactive clickable books
- Expression to get a blank book
- Added indexes of list variable

Fixed:
- Actionbars not working in 1.12
- Fixed 3 Citizen 1.8 issues (Released in 1.9.3 on github)

1.12 todo list:
- Add 1.12 support for the titles
- Add 1.12 support for tablist
- Add 1.12 support for removing of arrows in player

Todo with text components:
- Add text component support for Bensku's json
- Add text component support for SkellettProxy

[​IMG]

Syntax:
Code (skript (Unknown Language)):
#Expressions:
   
    #Grab a new written book (Because Skript's is different)
    [a] new [written] book

#TextComponent stuff

    #Create a new text component
    [a] [new] text component [with [text]] %strings%
   
    #Add hover event stuff to the text component (When a player hovers their mouse over it)
    add hover event with action %hovereventaction% (and|with) [(value|text)] %string% to [text component] %textcomponent%
   
    #Add clickable event stuff to the text component (When a player clicks the text)
    add click event with action %clickeventaction% (and|with|to) [(execute|text|link)]  %string% to [text component] %textcomponent%

    #Add a page with the text component to a book
    add text component %textcomponent% to [book] %itemstack%
   
    #Message the json text component (tellraw) to the player
    message text component %textcomponent% to %players%
   
    #Works from 1.8-1.12 as tested
Example script:
Code (skript (Unknown Language)):
command /book <integer>:
    trigger:
        set {_book} to a new book
        #SUGGEST_COMMAND and OPEN_FILE doesn't work in books. It is a chat only feature. Which is coming soon!
        if arg 1 is 1:
            set {_component} to a new text component with "Hello world!%nl%%nl%&5&lExample %arg 1%!"
            add hover event with action SHOW_TEXT with text "&5This message is a hover!" to text component {_component}
            add text component {_component} to book {_book}
        else if arg 1 is 2:
            set {_component} to a new text component with "&l&nExample 2!%nl%%nl%%nl%%nl%%nl%&4Working!"
            #If the slash isn't inserted in the execute string. It will make them chat.
            #WARNING: Entering color symbols in the execute string, causes the player to crash.
            add click event with action RUN_COMMAND with execute "/example" to text component {_component}
            add hover event with action SHOW_TEXT with text "&3&oClick me to execute chat or command" to text component {_component}
            add text component {_component} to book {_book}
        else if arg 1 is 3:
            add page "Testing 1" to {_book}
            add page "&1Testing 2" to {_book}
            set {_component} to a new text component with "&3&l&n&nExample 3!%nl%%nl%&4Working! %all players%"
            add click event with action CHANGE_PAGE to "2" to text component {_component}
            add hover event with action SHOW_TEXT with text "&4&kgewhbewgjbjehbf%nl%&r&5Click me%nl%to go back a page" to text component {_component}
            add text component {_component} to book {_book}
            add page "&6Testing 3" to {_book}
        else if arg 1 is 4:
            set {_component} to a new text component with "%nl%%nl%%nl%%nl%%nl%     &5&l&nClick me link!%nl%&rLeave a 5 star review!"
            add click event with action OPEN_URL with link "https://forums.skunity.com/threads/skellett.39/" to text component {_component}
            add hover event with action SHOW_TEXT with text "&5&lClick me to open Skellett.%nl%&5The beast addon!" to text component {_component}
            add text component {_component} to book {_book}
            #message text component {_component} to player
        open book {_book} to player

As always enjoy :D
----------, Jun 4, 2017
Resource Information
Author:
----------
Total Downloads: 134,004
First Release: Jan 6, 2017
Last Update: Feb 21, 2024
Category: ---------------
All-Time Rating:
88 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings