Skellett - The beast addon!

Addon Skellett - The beast addon! 2.0.10

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

LimeGlass updated Skellett - The addon with a beast name with a new update entry:

SkellettProxy support update

This update doesn't add much for the spigot side of things. This version is mainly used to support the new SkellettProxy update. You can read more about it here https://forums.skunity.com/resources/skellettproxy.87/update?update=225

I fixed a few small bugs though.

Enjoy and thanks for over 300 downloads :emoji_grinning: It means alot. Thank you.

Read the rest of this update entry...
 
I am probably just doing something obviously stupid/wrong, but I cannot seem to get the clicked inventory type to work - Trying to set it up so that safari net items cannot be placed into a player vault, due to them causing the vaults to bug out, but get this on script reloads:
https://i.gyazo.com/cbf98e764f94dbd4167efc6379e5d4ed.png

This being the setup: http://pastebin.com/YUsQKuc3

Any help would be appreciated!
 
I am probably just doing something obviously stupid/wrong, but I cannot seem to get the clicked inventory type to work - Trying to set it up so that safari net items cannot be placed into a player vault, due to them causing the vaults to bug out, but get this on script reloads:
https://i.gyazo.com/cbf98e764f94dbd4167efc6379e5d4ed.png

This being the setup: http://pastebin.com/YUsQKuc3

Any help would be appreciated!
It's not a text, you can try do either:
code_language.skript:
if inventory type of %the inventory% = PLAYER:
code_language.skript:
if "%inventory type of the inventory%" = "PLAYER":
 
It's not a text, you can try do either:
code_language.skript:
if inventory type of %the inventory% = PLAYER:
code_language.skript:
if "%inventory type of the inventory%" = "PLAYER":

These both give errors also when put into my script -
The first option gives:
c5f34ffa2476a7cf42e1d76420339d63.png

The second option gives:
5ad13b335864a92117ef9c016963611c.png


I'm pretty new with script in general, so I'm probably still doing something stupid, but thank you for trying to help me out xD
 
I'm pretty new with script in general, so I'm probably still doing something stupid, but thank you for trying to help me out xD
I putted "the inventory" there so you could replace it with the inventory that you're using, which in this case it's the event-inventory, so this should be:
code_language.skript:
if "%inventory type of event-inventory%" is "PLAYER":
or you could do also:
code_language.skript:
if clicked inventory is player's inventory:
but it should be the same as the above snippet.
 
Last edited by a moderator:
  • Like
Reactions: LimeGlass
I putted "the inventory" there so you could replace it with the inventory that you're using, which in this case it the event-inventory, so this should be:
code_language.skript:
if "%inventory type of event-inventory%" is "PLAYER":
or you could do also:
code_language.skript:
if clicked inventory is player's inventory:
but it should be the same as the above snippet.

Ahh got ya, still earning the lingo xD All working now! Thank you :emoji_grinning:
 
LimeGlass updated Skellett - The addon with a beast name with a new update entry:

Clientside worldborders!

Added:
- Clientside world borders. This means that these borders are only seen to a player.

Fixed:
- Some bug fixes

Syntax:

code_language.skript:
Client borders:

    Expressions:
        
        #Changers: set (Location)
        #Info: The location ignores the y coordinate
        [client [side]] [world] border center [location] (for|of) %player%
        %player%'s [client [side]] [world] border center [location]
        
        #Changers: set, add, remove and reset (Number)...

Read the rest of this update entry...
 
@LimeGlass

How can I get started with PlayerPoints and Skellet, I have been using this plugin since long time, but I want to start a new SK and use PP for some buy/sell transactions. I can not find any documentation about PP with Skellett, I did notice in the config:

Code:
PluginHooks:
  PlayerPoints: true

But I do not know how to check the points of any player, remove or add
 
I just found this:

code_language.skript:
  PlayerPoints:
  - pay %string% %number% [player[ ]]points from %string%['s account]
  - '[(force|make)] %string% [to] pay %number% [player[ ]]points to %string%'
  - '[the] [player[ ]]points of [(player|uuid)] %string%'
  - '[(player|uuid)] %string%''s [player[ ]]points'

Could you guide me with some examples please?
 
I just found this:

code_language.skript:
  PlayerPoints:
  - pay %string% %number% [player[ ]]points from %string%['s account]
  - '[(force|make)] %string% [to] pay %number% [player[ ]]points to %string%'
  - '[the] [player[ ]]points of [(player|uuid)] %string%'
  - '[(player|uuid)] %string%''s [player[ ]]points'

Could you guide me with some examples please?
code_language.skript:
set {_player} to player
add 69 to the player points of {_player}

set {_player} to "LimeGlass" parsed as player
make "%player%" pay 69 player points to "%{_player}%"

The string can be a name or a UUID

So like

make "%uuid of player%" pay 69 player points to "%{_player}%"
 
How can I get the ammount of points?

EDIT:
Solved I was writing bad the sentece xD
code_language.skript:
set {_pp} to player points of %arg-1%

Now I know why it did not work before, right code is:

code_language.skript:
set {_pp} to player points of arg-1
 
Last edited by a moderator:
LimeGlass updated Skellett - The addon with a beast name with a new update entry:

Anti-flicker Stylish scoreboards!

I made the Stylish scoreboards anti-flicker. No changes to the syntax or anything. I just rewrote the system so it doesn't flicker anymore :emoji_grinning:

I have tested it and with a TPS of 19.95+ you will get no flicker at all. But if you start to drop FPS like below 19.95 you start to see some flicker. This only happens when you contantly update the scoreboard ticks at a time like in this video. It won't flicker at all if you don't update by a tick everytime.

In this video i'm updating 15 lines every...

Read the rest of this update entry...
 
I do not know if this is bug or what I am doing wrong?

This code have a weird behavior:

code_language.skript:
    set {_resultSet} to mysql result of query "SELECT address,timestamp FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10" 
    set {_RStimestamp} to {_resultSet} 
    set {_RSaddress} to {_resultSet}
    
    delete {_timeStamp::*}
    delete {_address::*}
    
    #message "%{_timeStamp::1}% - %{_address::1}%"
    set {_timeStamp::*} to mysql string "timestamp" in {_RStimestamp} 
    set {_address::*} to mysql string "address" in {_RSaddress} 
    
    message "%{_timeStamp::1}% - %{_address::1}%"
    message "%{_RStimestamp}% - %{_RSaddress}%"

I tried several ways to get it working but not success.. This example is the last way I have tested, that is why its look really inefficient..
But this is for testing purpouses..

I will not explain the working of this code because it is clear,
the final result I get with this code is:

code_language.skript:
    message "%{_timeStamp::1}% - %{_address::1}%"
    message "%{_RStimestamp}% - %{_RSaddress}%"

Code:
2017-02-21 - <none>
resultSetString - resultSetString

If I switch from this:
code_language.skript:
set {_timeStamp::*} to mysql string "timestamp" in {_RStimestamp}
    set {_address::*} to mysql string "address" in {_RSaddress}

to this:
code_language.skript:
set {_timeStamp::*} to mysql string "address" in {_RStimestamp}
    set {_address::*} to mysql string "timestamp" in {_RSaddress}

Then I get

Code:
192.12.20.1 - <none>
resultSetString - resultSetString

Really weird for me.

I am trying to perform something like this:
code_language.skript:
    set {_resultSet} to mysql result of query "SELECT address,timestamp FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10" 

    delete {_timeStamp::*}
    delete {_address::*}
    
    set {_timeStamp::*} to mysql string "timestamp" in {_resultSet} 
    set {_address::*} to mysql string "address" in {_resultSet} 
    
    message "%{_timeStamp::1}% - %{_address::1}%"

But not success, the behavior is the same as explained before.
[doublepost=1487709582,1487708289][/doublepost]The unique way I found to get the desired result was:

code_language.skript:
    set {_resultSet} to mysql result of query "SELECT timestamp FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10" 
    
    delete {timeStamp::*}
    set {timeStamp::*} to mysql string "timestamp" in {_resultSet}   
    
    set {_resultSet} to mysql result of query "SELECT address FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10"     
    
    delete {address::*}   
    set {address::*} to mysql string "address" in {_resultSet}     
    
    message "%{timeStamp::1}% - %{address::1}%"

But I do not like this way..
 
I do not know if this is bug or what I am doing wrong?

This code have a weird behavior:

code_language.skript:
    set {_resultSet} to mysql result of query "SELECT address,timestamp FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10"
    set {_RStimestamp} to {_resultSet}
    set {_RSaddress} to {_resultSet}
   
    delete {_timeStamp::*}
    delete {_address::*}
   
    #message "%{_timeStamp::1}% - %{_address::1}%"
    set {_timeStamp::*} to mysql string "timestamp" in {_RStimestamp}
    set {_address::*} to mysql string "address" in {_RSaddress}
   
    message "%{_timeStamp::1}% - %{_address::1}%"
    message "%{_RStimestamp}% - %{_RSaddress}%"

I tried several ways to get it working but not success.. This example is the last way I have tested, that is why its look really inefficient..
But this is for testing purpouses..

I will not explain the working of this code because it is clear,
the final result I get with this code is:

code_language.skript:
    message "%{_timeStamp::1}% - %{_address::1}%"
    message "%{_RStimestamp}% - %{_RSaddress}%"

Code:
2017-02-21 - <none>
resultSetString - resultSetString

If I switch from this:
code_language.skript:
set {_timeStamp::*} to mysql string "timestamp" in {_RStimestamp}
    set {_address::*} to mysql string "address" in {_RSaddress}

to this:
code_language.skript:
set {_timeStamp::*} to mysql string "address" in {_RStimestamp}
    set {_address::*} to mysql string "timestamp" in {_RSaddress}

Then I get

Code:
192.12.20.1 - <none>
resultSetString - resultSetString

Really weird for me.

I am trying to perform something like this:
code_language.skript:
    set {_resultSet} to mysql result of query "SELECT address,timestamp FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10"

    delete {_timeStamp::*}
    delete {_address::*}
   
    set {_timeStamp::*} to mysql string "timestamp" in {_resultSet}
    set {_address::*} to mysql string "address" in {_resultSet}
   
    message "%{_timeStamp::1}% - %{_address::1}%"

But not success, the behavior is the same as explained before.
[doublepost=1487709582,1487708289][/doublepost]The unique way I found to get the desired result was:

code_language.skript:
    set {_resultSet} to mysql result of query "SELECT timestamp FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10"
   
    delete {timeStamp::*}
    set {timeStamp::*} to mysql string "timestamp" in {_resultSet}  
   
    set {_resultSet} to mysql result of query "SELECT address FROM ckciplog.log WHERE `name` = 'Martini002' GROUP BY `address` ORDER BY `timestamp` DESC LIMIT 10"    
   
    delete {address::*}  
    set {address::*} to mysql string "address" in {_resultSet}    
   
    message "%{timeStamp::1}% - %{address::1}%"

But I do not like this way..
I have a bug fix next update that might fix your issue
 
LimeGlass updated Skellett - The addon with a beast name with a new update entry:

MySQL bug fix

Added:
- Beta support for SQLite or any SQL driver. You can now input your class path and SQLite option.
- Added create a blank map.

Fixed:
- Fixed a critial bug when connecting to MySQL using the connect syntax.
- Small bugs

Syntax:
code_language.skript:
Expressions:
      
    #Returns a new blank map created for a world
    [skellett] [a] new map[[ ]view] (for|from|with) [world] %world%

Read the rest of this update entry...
 
Hello, There is a still possibility to do it?

Code:
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}

zrzut-ekranu-2017-02-22-o-19-09-29-png.370
 
I Get this error with skellett on recent versions while using your skquery version.


[00:11:48 ERROR]: Error occurred while enabling Skellett v1.8.1b (Is it up to date?)
java.lang.IllegalArgumentException: Can't register java.awt.Image with the code name image because that name is already used by types.image
at ch.njol.skript.registrations.Classes.registerClass(Classes.java:91) ~[?:?]
at com.gmail.thelimeglass.Register.types(Register.java:551) ~[?:?]
at com.gmail.thelimeglass.Skellett.onEnable(Skellett.java:302) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) ~[patched_1.11.2.jar:git-Paper-1059]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:316) [patched_1.11.2.jar:git-Paper-1059]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.11.2.jar:git-Paper-1059]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:378) [patched_1.11.2.jar:git-Paper-1059]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:328) [patched_1.11.2.jar:git-Paper-1059]
at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:437) [patched_1.11.2.jar:git-Paper-1059]
at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:398) [patched_1.11.2.jar:git-Paper-1059]
at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:336) [patched_1.11.2.jar:git-Paper-1059]
at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:276) [patched_1.11.2.jar:git-Paper-1059]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:603) [patched_1.11.2.jar:git-Paper-1059]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_101]

It works if i disable skquery-lime
Can you either fix it or implement the fly mode syntax from skquery in skellett please? i really need the "set player's fly mode to false" expression or something similar
 
LimeGlass updated Skellett - The addon with a beast name with a new update entry:

Bug fixes and inventory stuff

Fixed:
- Crashing bug with image class

Added:

- Inventory rows size
- Make inventory size settable (Needs to be multiple of 9)
- Made open inventory effect not flash or move cursor of player

Syntax:
code_language.skript:
   #Changers: set (Number)
   #This is the size of rows
   [skellett] (gui|menu|inventory|chest|window) row[s] (of|from) %inventory%
   %inventory%'s (gui|menu|inventory|chest|window) row[s]

Read the rest of this update entry...