[Skript Java Addon] Skellett icon

[Skript Java Addon] Skellett -----

All your Skript needs in one addon!



NMS Takeover!
Added:
- Update inventory
- Open book client side
- Hitbox sizes of entities
- Player viewing credits
- Entity in water
- Full spawner support

Fixed:
- Add page with string not working
- More null pointers

Syntax:
Code (skript (Unknown Language)):
Effects:

   update [the] (inventory|menu|gui) %inventory%

   open book %itemstack% to %player%

Expressions:

   [the] hitbox length of %entity%
   %entity%'s hitbox length
   [the] length of %entity%'s hitbox

   [the] hitbox width of %entity%
   %entity%'s hitbox width
   [the] width of %entity%'s hitbox

Conditions:

   [player] %player% (1¦is|2¦is(n't| not)) viewing [the] credits

   [entity] %entity% (1¦is|2¦is(n't| not)) in water

Spawners:

   Expressions:

       #Changers: set, add and remove (Integer)
       delay (of|from) spawner [at] %block%
       %block%'s spawn[er] delay
       spawn[er] delay (of|from) %block%
 
       #Changers: set (String)
       (entity|mob|creature) [type] (of|from) spawner [at] %block%
       %block%'s spawn[er] (entity|mob|creature) [type]
 
   Effects:

       (make|force) spawner [at] %block% to spawn [[a[n]] entity]
 
   Events:

       [on] spawner spawn:
     
           #Get the spawner used to spawn the entity
           event-block
     
           #Get entity spawned
           event-entity
Example script:
Code (skript (Unknown Language)):
#command /egg:
#    trigger:
#        set {_p} to the eggwars player player
#        broadcast "%{_p}%"
command /hello:
    trigger:
        if enchantments of player's tool are set:
            loop all enchantments on player's tool:
                add "%loop-enchantment% %enchantment level of loop-enchantment in player's tool%" to {_enchantments::*}
            broadcast "%{_enchantments::*}%"
command /i <itemtype>:
    trigger:
        give player arg 1
#on npc rightclick:
#    if id of npc event-npc is 6:
#        make event-player execute command "say hi"
command /hi:
    trigger:
        open "HOPPER" to player
        wait 2 seconds
        open "BEACON" to player
#on join:
#    while player is online:
#        wait a second
#        if player is viewing the credits:
#            broadcast "&aYes"
#        else:
#            broadcast "no"
command /test:
    trigger:
        skellett nms of target entity
command /example:
    trigger:
        if target entity is in water:
            broadcast "&bYes"
        else:
            broadcast "no"
command /spawnTest:
    trigger:
        set mob type of spawner target block to "Zombie"
        message "%mob of spawner target block%"
on spawner spawn:
    broadcast "%event-block%"
    broadcast "%event-entity%"
command /size:
    trigger:
        message "%target entity%: %hitbox length of target entity% x %hitbox width of target entity%"
command /search <text>:
    trigger:
        message " "
        loop all packettypes:
            if "%loop-value%" contains "%arg 1%":
                message "&6%loop-value%"
        message " "
command /openBook:
    trigger:
        set {_item} to slot player's current hotbar slot of player
        set slot player's current hotbar slot of player to a written book
        add page "&4&l&m-&a&l*&4&l&m__ &2&l&nSkellett&4&l&m __&a&l*&4&l&m-&r%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%%nl%           &dHot" to player's tool
        open book player's tool to player
        set slot player's current hotbar slot of player to {_item}
Info:
- Skellett has had weekly updates for nearly 3+ months now. That's how we do it!
- I'm sick right now. So that may or may not decrease my productivity.
- I'm starting to play around with NMS stuff now. As you can tell by this update. None of it expect spawners can be obtained in Spigot. This all uses NMS with Reflections. Meaning you won't have to worry about Skellett breaking on version changes. Unlike the others. I will tend to keep it that way aswell.
- Everything in Spigot is pretty much possible in Skellett so i'm moving to NMS now. If you have any suggestions or things that are possible, feel free to tell me :emoji_grinning:

GG
----------, Feb 15, 2017
Resource Information
Author:
----------
Total Downloads: 134,006
First Release: Jan 6, 2017
Last Update: Feb 21, 2024
Category: ---------------
All-Time Rating:
88 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings