Skellett

The most popular Skript addon

APACHE-2.0 License

Stars
42

Bot releases are hidden (Show)

Skellett - 2.0.10 Latest Release

Published by TheLimeGlass 8 months ago

Updated to Skript 2.8.2

Skellett - 2.0.9

Published by TheLimeGlass over 1 year ago

  • Removed text components, they're in vanilla Skript now.
  • Fixed Skellett not starting on 1.10 and lower due to the BlockSave syntaxes
  • Fixed Bossbars not working on 1.9
  • Fixed Skellett not working on Java 8
  • Updated to Spigot 1.19.3
  • Added new syntax to boost a player using a firework when they're in elytra mode
# Effect
+ (boost|launch) %players% using [firework [rocket]] %itemstack%
Skellett - 2.0.8

Published by TheLimeGlass almost 2 years ago

Updated libraries

Skellett - Bossbar fixes

Published by TheLimeGlass over 2 years ago

Fixes an issue with bossbars

Skellett - Conflicts

Published by TheLimeGlass over 2 years ago

  • Fixed conflicts with SkBee and the new bossbars that was added. (Defaults to SkBee's types, so if bossbars are broken, it's Skbee).
  • Fixed a load chunk error in the load effect.
  • Added more localization files.
  • Fixed block data issues in versions lower than 1.9
  • Lots of code cleaning and optimizations.
Skellett - Fishing for some bug fixes

Published by TheLimeGlass over 2 years ago

  • Added fishing back
#Get the fishing hook entity
[the] [event-]fish[ing]( |-)hook

# The fish entity if state was caught
hook[ed] entity

# event value
[the] [event-]fish[ing]( |-)state
  • Fixed bossbar flags not working properly
  • Fixed fishing state not being comparable.
  • Fixed up the player bossbar syntax
  • Fixed up the scoreboard team classinfo.

Included is an over engineered grappling hook example which will also require Khoryl and SkQuery.
I've also uploaded it for future updates at https://forums.skunity.com/resources/grappling-hook.1466/ (when it gets approved)

Skellett - SkBee conflict fixes

Published by TheLimeGlass over 2 years ago

  • Fixes a bug that disables SkBee or Skellett from running.
Skellett - Bug fixes

Published by TheLimeGlass over 2 years ago

  • Fixed a bug where the boss bar flag and a citizens condition could not find the correct classinfo for it's syntaxes.
  • Fixed the NpcIsSpawned condition not working.
  • Started to add .lang types, You can compile Skellett (or any of my addons) and add a Skript supported language in the /lang file.
  • Added (npc|citizen)s? as the regex for the classinfo, so you can parse as an npc or citizen depending on if you have another citizens addon installed.
  • Added fishing event, fishing state expression and the classinfos for them.
  • Various class cleaning and optimizations.

event
[player] fish[ing] [state[s] [of] %-fishingstates%] with event-entity, and fishing state [the] [event-]fish[ing]( |-)state

example

on player fishing state of reel in or failed:
     if fishing state is failed:
        message "Damn, you failed at a fishing?"

Legacy plans note:
So obviously Skellett is massive and many parts are outdated or implemented wrong. A complete recode will take a long time, what i've been doing since 2.0 is recoding and cleaning up parts of Skellett. All com.gmail.thelimeglass classes are old and still require a recode. All me.limeglass.skellett classes have been cleaned up and optimized. So in this update I re-added fishing, but they're actually properly done. I'll probably remove them again after the fishing pull request for Skript itself is added.

Skellett - 2.6.1 Skript support

Published by TheLimeGlass over 2 years ago

Removed Armour stand syntaxes, they're moved to Khoryl
Removed the download effect as it was insecure and not practical.
Removed the message center syntax as the client can have set their settings to be any chat length making this syntax not work.
Recoded Chunk outline, Entity ID and more.
Removed un-used BlockConstructor code.

Added new syntax (0¦ticks|1¦milli[( |-)]seconds|2¦seconds|3¦minutes|4¦hours|5¦days|6¦weeks|7¦months|8¦years) (of|from|[with]in) %timespans%
So you can now get values from a timespan.

Updated libraries: Minecraft 1.18.1 and Skript 2.6.1

Due to how Skript is removing versions equal and older than 1.12 and Mojang requiring latest Java versions. Backwards support for older versions is getting harder and harder, so the following will now apply;

Latest 2.0.3+ version only works with Skript 2.6.1+ and was compiled in Java 17 (MC 1.13+). If you're running 1.9-1.12 or any Java versions that's not Java 17 use Skellett version 2.0.2, it has a zip of multiple possible versions to use. https://github.com/TheLimeGlass/Skellett/releases to view older versions.

Skellett - 1.18 support

Published by TheLimeGlass almost 3 years ago

Added 1.18 support.

Skellett will now be separated into two versions. Java 17 and Java 11. The Java 17 versions is for 1.18+ mc and the Java 11 is for other versions. Both included in a ZIP.

Skellett now runs autonomously on the github, so when a version or library Skellett uses gets updated. The GitHub will automatically get updated and publish a nightly build. You can grab a 1.18.2+ version of Skellett if Mojang decides to do that

Skellett - Block saves, a nice way to save block data.

Published by TheLimeGlass almost 3 years ago

  • Added block saves block save[s] of %blocks% or %blocks%'[s] block save more below.
  • Added automatic github actions, so you can now grab nightly builds at https://github.com/TheLimeGlass/Skellett/actions
  • Fixed collidable condition not being proper grammar.
  • Removed item frame syntaxes, they're going to be going into Khoryl.
  • Removed spawner synatxes, they're going to be going into Khoryl.
  • Removed Jukebox syntaxes, they're going to be going into Khoryl.
  • Removed LLama syntaxes, they're going to be going into Khoryl.
  • Removed Repeater syntaxes, they're going to be going into Khoryl.
  • Removed slime size syntaxes, they're going to be going into Khoryl.

Finally a better way of handling blocks and their types/data! Skellett has a utility expression called block saves, what this does is the return type will be a custom object, that's also serializable yay! That can be saved to a variable. So you can save a block save to a variable and set the block to the exact block save later, example script used to save and load areas:

command /pos1:
	trigger:
		if target block is set:
			set {pos::%player%::1} to location of target block
		else:
			set {pos::%player%::1} to location of player
		message "pos1 set to %{pos::%player%::1}%"

command /pos2:
	trigger:
		if target block is set:
			set {pos::%player%::2} to location of target block
		else:
			set {pos::%player%::2} to location of player
		message "pos2 set to %{pos::%player%::2}%"

command /save <string>:
	trigger:
		{pos::%player%::2} is set
		{pos::%player%::1} is set
		set {saves::%player%::%argument%::*} to block saves of blocks within {pos::%player%::2} to {pos::%player%::1}
		clear {pos::%player%::1} and {pos::%player%::2}
		message "Saved blocks to save %argument%"

command /load <string>:
	trigger:
		{saves::%player%::%argument%::*} is set
		loop {saves::%player%::%argument%::*}:
			set block at loop-value to loop-value
		message "Loaded blocks from save %argument%"

command /delete [<string>]:
	trigger:
		if argument is set:
			delete {saves::%player%::%argument%::*}
			message "Deleted save %argument%"
			stop
		delete {saves::%player%::*}
		message "Deleted all saves"

command /listSaves:
	trigger:
		message indexes of {saves::%player%::*}

on quit:
	delete {pos::%player%::*}

on script unload:
	delete {pos::*}
Skellett - Starting fresh

Published by TheLimeGlass about 3 years ago

Here we are, 2 years later when Skellett rain vain.
This update isn't an addition update unfortunately. This update removes everything that is already added in Skript. Since the SkriptLang team has expanded and became more active, it really deprecates the usage of Skellett. Skellett became so popular because it had so many syntaxes that Skript didn't have yet. So today's update is the start of that change, lets get Skellett back to being useful, I plan on updating Skellett with more modern syntaxes that Skript has yet to add, or features that don't suit Skript.
15% of Skellett has been recoded in this update, and more to come. Thanks for choosing Skellett after all these years, and lets go for another couple more years.

Requirements: Skript 2.6+

Changelog:

Updated:

- Updated to Java 16
- Updated to Skript 2.6
- Updated to Spigot 1.17
- Updated to Gradle 7.1.1
- Updated Citizens to 2.0.27
- 35% smaller jar size
- Changed the collidable state to a condition %livingentities% is|are collidable
- Updated the open book effect to use Spigot method and not reflection now.

Removed:

because they're in Skript 2.6+ now (I added majority of these to Skript myself):
- Removed event cancel event.
- Removed condition to check if redstone is powered.
- Removed condition to check if item is unbreakable.
- Removed condition to check if player is whitelisted.
- Removed the effect to teleport a player to a world spawn (You can get the spawn of a world now)
- Removed active potion effects expression (This is just a string and not properly implemented and Skript will soon)
- Removed expression for getting drops of a block.
- Removed powered block value (Redstone).
- Removed block hardness expression.
- Removed block xp expression.
- Removed clicked action expression it's now inventory action in Skript.
- Removed clicked inventory expression.
- Removed clicked slot expression use index of clicked slot.
- Removed clicked type expression.
- Removed clicked hotbar type expression.
- Removed client side weather syntaxes.
- Removed custom syntaxes shit.
- Removed custom name of entities expression.
- Removed enchantment level expression.
- Removed custom name visible expression.
- Removed player exhaustion expression.
- Removed fall distance expression.
- Removed fishing syntaxes (Use RandomSk until it's added in Skript, Skellett had poor implementation)
- Removed hotbar switch expressions.
- Removed inventory type expression.
- Removed invulnerable state expression.
- Removed projectile bounce expression and condition.
- Removed silent state of entities expression.
- Removed spectate target expression.
- Removed whitelist syntaxes.
- Removed world change event value expression. Use former|future event-location in Skript.
- Removed stuck arrows expression.
- Removed title expression.
- Removed fireworks.
- Removed item despawn event.
- Removed entity teleport event (but kept the event values as Skript doesn't for some reason)
- Removed resurrect event.
- Removed particles (Bad implementation)
- Removed sound syntaxes.

Removed because un-used or un-needed:
- REMOVED ALL DISGUISE SYNTAXES (Unreleased addon for Disguises coming soon)
- Removed the effects relating to files (Use Skent or SkQuery)
- Removed condition to check if a player is viewing the credits. (It used reflection and isn't really a good addition)
- Removed file existence condition (It's in Skent or SkQuery or SkUtils)
- Removed the effect that opens a chest to players (It's in Khoryl now)
- Removed the reload whitelist effect (This isn't required anymore)
- Removed the effect that saved the player list (This isn't required anymore)
- Removed the serialize effect (Skript serializing should not be accessible for Skript users)
- Removed the expression getting size of variables (Inefficient, not needed and shouldn't be accessible for Skript users)
- Removed hitbox syntaxes (This used reflection and was bad, It's now called BoundingBox in Spigot and will be added sometime to Skellett maybe)
- Removed java version expression. (Skript users don't need this)
- Removed long date expression (Skript users don't need this)
- Removed item type to material string expression (Skript users don't need this)
- Removed NBT syntaxes (These are just item flags and should be implemented properly)
- Removed world folder expression (Skript users don't need this and it's not needed for other parts of Skellett)
- Removed Yaml (There are lots of other alternatives now). I'm over the yaml hype train. Don't use YAML as a database, it's for configurations, but Skript has variables and options at the top of a script so.
- 

Bug fixes:

- Fixed adding text components to books (Used to use reflection and it broke in newer Spigot)
- Updated the %players% is in water condition to 1.17 methods.
Skellett - Scoreboard conflicts?

Published by TheLimeGlass almost 4 years ago

Fixed some addon's conflict with scoreboard teams.

Skellett - Bug fixes

Published by TheLimeGlass about 4 years ago

  • Removed Client Border syntaxes.
  • Fixed #98 in which there was a casting issue with Item frame Hanging events.
  • Fixed #92 in which Skellett conflicted with another unknown addon?
Skellett - GitHub issues cleaning

Published by TheLimeGlass about 5 years ago

1.9.8

Fixed:
- Fixed a NullPointerException in player teleport to world spawn syntax when attempting to get a world that doesn't exist.
- Fixed SpawnerSpawnEvent registering on 1.8 servers when it doesn't exist on 1.8 servers.
- Fixed a NullPointerException when adding null text components to books.
- Fixed set collidable being registered on 1.8 when it doesn't exist on 1.8.

Removed:
- Removed g6round state, it's in Vanilla Skript now as a condition. `if %player% is on the ground`
- Removed gravity state, it's in Vanilla Skript now.
- Remove glide state, it's in Vanilla Skript now.
- Removed indices of variables, it's in Vanilla Skript now.
- Removed inventory viewers, it's in Vanilla Skript now.
- Removed offline players, it's in Skript now ;) lol.
- Removed sounds, I manually added it to Vanilla Skript now.
- Removed entities in radius, it's in Vanilla Skript now.
- Removed ping of player, it's in Vanilla Skript now.
- Removed unbreakable, it's in Vanilla Skript now.
- Removed teleport cause, it's in Vanilla Skript now.
- Removed spawn reason, it's in Vanilla Skript now.
- Removed the syntax that overrid Skript's slot system to allow for multiple slots. I manually added it to Vanilla Skript now.
- Removed scoreboard tags, it's in Vanilla Skript now.
- Removed break block naturally, it's in Vanilla Skript now.
- Removed hiding players from other players, it's in Vanilla Skript now.
- Removed particles, Skript has fixed it a bit, it's still trash because of the Spigot API.
Skellett - Holy Triple Sal Cow, a Skellett Update!

Published by TheLimeGlass about 5 years ago

1.9.7:
Removed:
- Removed RPGPlayerLeveling syntax (Was a bad plugin API from the start)
- Removed SkellettProxy (Use Skungee now)
- Removed regenerators
- Removed the DataTypeWatcher packet (Can't be asked to do research and update it's reflection)
- Removed ProtocolSupport (Their API has drastically changed)
- Removed One In The Battle Support
- Removed MySQL syntax, use SkQuery or that other MySQL addon
- Removed Feudal support (Plugin was abandoned)
- Removed Eggwars support
- Removed Book support (It's in vanilla Skript now)
- Removed SquidHQ (They moved on to managing a minecraft server list site)
- Removed fireworks (I added them in vanilla Skript)
- Removed Async World load effect (FAWE has been abandoned at the moment)
- Removed Packets
- Removed Dyed Armour (It's in vanilla Skript now)
- Removed Crop State (The Spigot API for crops has changed completely)
Changed:
- In the latest CorpseReborn, you can't set/get the player instance of the corpse, so now new syntax name of corpse %corpse% will just return the name of the corpse.
Fixed:
- Fixed opening books to players for 1.14.4 servers.
- Also made the syntax multiple players open book %itemstack% to %players%

Skellett - Stuff

Published by TheLimeGlass over 7 years ago

Fixed:

  • Strange bossbar bugs for 1.8 versions and lower
  • Bossbar crashing
  • Bossbar last created version dependant
  • Debug option crash
  • Fixed wrong version crash issue
  • Fixed debug colours not working
  • Changed some register features
  • Fixed some register bugs
  • Cleaned some code up.
  • Citizen type not registering on some events (event-citizen)

Added:

  • NametagEdit support
  • Paste schematic (more WorldEdit coming soon)

Changed:

Syntax:

#Worldedit:
	#effects:
		(place|paste) schematic %string% at %locations% [[(with|at)] angle %-number%] [with limit %-number%] [[and] (without|exclud(e|ing)) air %-boolean%]

#Expressions:
	
	#Can only be reset or cleared (Reset reloads the nametag)
	[nametag edit] [name[ ]]tag of %player/string%
	%player/string%'s [nametag edit] [name[ ]]tag
	
	#Set/Get the prefix of a nametag
	[nametag edit] [name[ ]]tag prefix of %player/string%
	%player/string%'s [nametag edit] [name[ ]]tag prefix
	
	#Set/Get the suffix of a nametag
	[nametag edit] [name[ ]]tag suffix of %player/string%
	%player/string%'s [nametag edit] [name[ ]]tag suffix

Examples:

This will rotate the schematic 90 degrees before pasting.

paste schematic "test" at player with angle 90 and without air true
Skellett - 1.9.5

Published by TheLimeGlass over 7 years ago

Changed:

  • Changed Client time relative syntax
[skellett] [client] relative time of %player% [is] [%-boolean%] [relative] [to] [server]
#to
[client] relative time of %player% (1¦is|2¦is(n't| not)) relative [to server]
  • Changed whitelisted condition syntax
[server] whitelist[ed] [state]
#to
[server] (1¦is|2¦is(n't| not)) whitelisted
  • Fixed what ever the old syntax for this was. Also made a toggle for it? Fixed this crap up.
[file] exist(s|ance) [(at|of)] %string% [is %-boolean%]

Fixed:

  • Added plural to add text component[s]
  • Cleaned up old gross conditions
  • Some code cleaning
  • Some minor bugs
  • Some null pointers
  • Fixed internal errors caused when Citizens disables itself due to unsupported version. Update your Citizens to the recommended version for your server.

Added:
Hidden syntax that are now public or weren't working:
- Jukebox is playing condition
- Jukebox force eject
- Skull owner/rotation

  • Ticks from timespan
  • More citizens stuff
  • More regenerators stuff
  • Remove potion effects
  • Skull stuff
  • Jukebox stuff
  • Last created bossbar
  • Create new inventory expression (Returns empty inventory) (Example below)

Info:

  • As I promised every update will have some sorta Citizens feature until all of Citizens is supported (if it's not a bug fix update) Going back on that promise.

Syntax:

Conditions:
    
    juke[ ]box %block% (1¦is|2¦is(n't| not)) playing [a] (record|track|song)
    
#Effects:

    #Removes all potion effects from a player
    remove all [potion] effects from %players%
    
#Expressions:

    #Returns a blank inventory
    [a] new inv[entory] [with type] %string% [with %-number% row[s]] [named %-string%]
    
    [the] tick[s] (of|from) [time[span]] %timespan%", "[time[span]] %timespan%'s tick[s]
    
    #Returns the offline player of a skull block
    [the] [skellett] skull[ ]owner of [skull] %block%
    [skellett] [skull] %block%'s skull[ ]owner
    
    #Returns the block face of a skull block in direction, blockface or string
    [the] [skellett] skull[ ]rotation of [skull] %block% [in (1¦direction|2¦blockface)]
    [skellett] [skull] %block%'s skull[ ]rotation [in (1¦direction|2¦blockface)]
    
    #Grabs the spigot BlockFace compared from a direction and block
    [the] [block[ ]]face of [block] %block% from %direction%
    [block] %block%'s [block[ ]]face from %direction%
    
    #Grabs the last bossbar that was created
    [the] last created [boss[ ]]bar
    
#Regenerators:
    
    #Effects
    #Create a regenerator with specific blocks. Good for minigames like Paintball.
    (create|make) [a] [new] [skellett] regenerator with ID %string% (from|with) %blocks%
    
    #Expressions
    #Get all blocks of a regenerator
    block[s] of [skellett] regenerator [[with] id] %string%
    
#Citizens:

    #Effect
    (make|force) [the] (npc|citizen) %citizen% (talk|say|speak) %string% [to %-players%]
    
    #Event:
    [on] (npc|citizen) (speech|speak|talk):
        
        #Get message in event
        event-string
        
        #Get citizen in event
        event-citizen

Dab

Skellett - Interactive books and 1.12 actionbars!

Published by TheLimeGlass over 7 years ago

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

Syntax:

#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:

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

Skellett - Bug fixes

Published by TheLimeGlass over 7 years ago

Fixed the 1.8 issues with Citizens not having existing events for 1.8

Fixed a ton of bugs I totally forgot what I fixed xD.

Fixed some null pointers

Added indexes of list variable

Syntax:

#Expressions:
	
	#Grab all indexes of a list variable
	#Info: {example::this::*} The index in this would be "this"
	[(the|all)] [of] [the] indexes (of|[with]in) %listvariable%