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!

This error can be solved ?@LimeGlass
Code:
[21:37:47 INFO]: [Skellett] Connected to SkellettProxy!
[21:37:47 INFO]: [Skellett] SkellettProxy connection established on port 26998
[21:37:47 INFO]: NametagEdit Pool - is starting.
[21:37:47 INFO]: Turned off the whitelist
[21:37:47 WARN]: java.net.SocketException: Socket closed
[21:37:47 WARN]:        at java.net.SocketInputStream.socketRead0(Native Method)
[21:37:47 WARN]:        at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
[21:37:47 WARN]:        at java.net.SocketInputStream.read(SocketInputStream.java:171)
[21:37:47 WARN]:        at java.net.SocketInputStream.read(SocketInputStream.java:141)
[21:37:47 WARN]:        at java.net.SocketInputStream.read(SocketInputStream.java:224)
[21:37:47 WARN]:        at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2585)
[21:37:47 WARN]:        at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2892)
[21:37:47 WARN]:        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2902)
[21:37:47 WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1503)
[21:37:47 WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:423)
[21:37:47 WARN]:        at com.gmail.thelimeglass.Sockets.send(Sockets.java:92)
[21:37:47 WARN]:        at com.gmail.thelimeglass.Sockets$2.run(Sockets.java:113)
[21:37:47 WARN]:        at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58)
[21:37:47 WARN]:        at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52)
[21:37:47 WARN]:        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[21:37:47 WARN]:        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[21:37:47 WARN]:        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[21:37:47 WARN]:        at java.lang.Thread.run(Thread.java:745)
[21:37:47 WARN]: [Skellett] Plugin Skellett v1.8.8a generated an exception while executing task 29
java.lang.NullPointerException
        at com.gmail.thelimeglass.Sockets$2.run(Sockets.java:113) ~[?:?]
        at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[1lobby.jar:git-Paper-1043]
        at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [1lobby.jar:git-Paper-1043]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [1lobby.jar:git-Paper-1043]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
When I use the command 'sk reload all'
This error will appear
[doublepost=1490710923,1490710852][/doublepost]
@LimeGlass
You don't have a socket defined at a port that you're trying to connect to. User error.
 
You don't have a socket defined at a port that you're trying to connect to. User error.
What should I do?

This is my profile
SkellettProxy.yml
Code:
SkellettProxy: true
Host: localhost
Port: 26999
Heartbeat: 50
Disconnect: true
Events: true
EventPort: 26996
GlobalScriptReloadMessage: true

/SkellettProxy/config.yml
Code:
# SkellettProxy config file
# 
# The port must match the port in SkellettProxy.yml from Skellett on servers connected to this Bungeecord.
version: "1.3.0a"
debug: false
Port: 26999

# If a spigot server fails to send a packet to SkellettProxy.
# How many trys should be allowed before claiming that server as offline.
AllowedTrys: 3

# If a spigot server goes unresponsive and this is true, SkellettProxy will stop tracking it.
# This will throw a harmless error in your console everytime a server goes unresponsive though.
DisableTracking: true

# If you have scripts in the folder plugins/SkellettProxy/scripts/
# SkellettProxy will relay these scripts to all connected servers.
# This acts like global scripts to keep all servers up to date.
# All connected servers need to have the "events" option enabled in the SkellettProxy settings.
GlobalScripts:
    Enabled: false

# Network variables allow you to create shared varaibles between multiple servers on the bungeecord.
# SkellettProxy will handle the variables on the Bungeecord instance.
NetworkVariables:
    Enabled: false
    # Allow variables to be re-writen if a server calls for it.
    AllowOverrides: false
    # Automatic sharing means that SkellettProxy will try to make Skellett's (Spigot side) variables
    # match the exact variables as Bungeecord.
    # So basically if you update a global variable, SkellettProxy will make every Spigot server variables match that.
    # So all you need todo is
    #
    # set network variable {test} to "Hello world!"
    #
    # Then on every other server, the variable {test} will be be set to "Hello world!"
    #
    # WARNING: Keep in mind this will override any variable names that match SkellettProxy's.
    # If this is enabled SkellettProxy variable names will be priority!
    # It should be harmless if you don't care about your old data.
    # And last thing, this is cap sensitive, can't change or fix that. That's Skript.
    AutomaticSharing: false
    Backups:
        # Backup the variables when the bungeecord ends.
        End: false
        # Backup the variables every X minutes.
        Interval: false
        # Time is in minutes.
        IntervalTime: 30
        # Broadcasts a message to console saying backups have been saved.
        ConsoleMessage: false

# RedisBungee support will be soon.
 
Make sure you have access to those ports, and that they're not being blocked by your hoster or a firewall etc.
 
Make sure you have access to those ports, and that they're not being blocked by your hoster or a firewall etc.
Even if I shut down the firewall, also can appear the problem
I'm thinking of using the old version or close SkellettProxy
 
Multiple queries still not working:

code_language.skript:
    #Consultamos la DATA del jugador  
    set {_result} to mysql result of query "SELECT * From stats.relacionJugadores WHERE Nombre = '%player%'"
    set {_DataTemp-%player%::*} to mysql string "Victorias" in {_result}
    set {victorias-%player%} to "%{_DataTemp-%player%::1}%"      
    broadcast "*%{_DataTemp-%player%::1}%"

    set {_DataTemp-%player%::*} to mysql string "Derrotas" in {_result}
    set {derrotas-%player%} to "%{_DataTemp-%player%::1}%"  
    broadcast "*%{_DataTemp-%player%::1}%"

It shows for me 0 0 but I in the table are 0 1

Have you found a solution? The author of the plugin doesn't care.
 
The last update (1.8.8a) not connect to mysql database. If I use the version 1.8.8 it connects to database.
 
The last update (1.8.8a) not connect to mysql database. If I use the version 1.8.8 it connects to database.
Really? I haven't changed any MySQL have you enabled your MySQL? In the MySQL file. It may have been set to false.
 
Really? I haven't changed any MySQL have you enabled your MySQL? In the MySQL file. It may have been set to false.
I have put the new version and it does not work mysql. I have put the previous version back and it works. Without changing any of the file yml, and in the file is in "true".
 
i have a problem with mysql connection

Can't understand this condition/effect: set mysql password to "xxx" (arena-pvp.sk, line 10: set mysql password to "xx"')

any suggestions?


and yes... i have MySQL: true
 
i have a problem with mysql connection

Can't understand this condition/effect: set mysql password to "xxx" (arena-pvp.sk, line 10: set mysql password to "xx"')

any suggestions?


and yes... i have MySQL: true
This was suggested to be removed by default. There is a config node in the MySQL.yml found at plugins/Skellett/MySQL.yml saying to enable the password syntax. This is a security feature. You can enable it if you need there.
 
  • Like
Reactions: JAQUBA
Just want to give a suggestion, maybe you can add resource pack support to send resource packs to players. That'd be really cool.
 
  • Like
Reactions: LimeGlass
This was suggested to be removed by default. There is a config node in the MySQL.yml found at plugins/Skellett/MySQL.yml saying to enable the password syntax. This is a security feature. You can enable it if you need there.

worked, but i have problem with 'multiple queries'
Code:
    set {_byName} to mysql result of query "SELECT `name`,`timestamp` FROM `dupeip` WHERE `name` LIKE '%arg-1%' ORDER BY `timestamp` DESC LIMIT 5;"
    set {_addressNum} to size of mysql string "name" from {_byName}
   
    if {_addressNum} is below 1:
      send "<gold>======DUPEIP JAQUBA EDYSZYN====="
      send "<gold>Brak gracza w bazie danych"
      stop
    set {_time::*} to mysql integer "timestamp" from {_byName}
   
    send "%size of {_time::*}%"
   
    loop {_time::*}:
      send "%loop-object% %loop-index% %loop-value%" to console
   
    stop
[\CODE]
 
worked, but i have problem with 'multiple queries'
Code:
    set {_byName} to mysql result of query "SELECT `name`,`timestamp` FROM `dupeip` WHERE `name` LIKE '%arg-1%' ORDER BY `timestamp` DESC LIMIT 5;"
    set {_addressNum} to size of mysql string "name" from {_byName}
 
    if {_addressNum} is below 1:
      send "<gold>======DUPEIP JAQUBA EDYSZYN====="
      send "<gold>Brak gracza w bazie danych"
      stop
    set {_time::*} to mysql integer "timestamp" from {_byName}
 
    send "%size of {_time::*}%"
 
    loop {_time::*}:
      send "%loop-object% %loop-index% %loop-value%" to console
 
    stop
[\CODE]
You have to split it up. Multiple queries don't work

code_language.skript:
set {_byName} to mysql result of query "SELECT `name`,`timestamp` FROM `dupeip` WHERE `name` LIKE '%arg-1%' ORDER BY `timestamp` DESC LIMIT 5;"
set {_addressNum} to size of mysql string "name" from {_byName}
set {_byName} to mysql result of query "SELECT `name`,`timestamp` FROM `dupeip` WHERE `name` LIKE '%arg-1%' ORDER BY `timestamp` DESC LIMIT 5;"
set {_time::*} to mysql integer "timestamp" from {_byName}
 
  • Like
Reactions: JAQUBA
ok, but with many queries to mysql synchronously it will lag server. it's because i have slow mysql server, any suggestions? in skquery it's working very well
 
Put
code_language.skript:
$ thread
Before the code
code_language.skript:
$ thread
set {_byName} to mysql result of query "SELECT `name`,`timestamp` FROM `dupeip` WHERE `name` LIKE '%arg-1%' ORDER BY `timestamp` DESC LIMIT 5;"
 
  • Like
Reactions: JAQUBA
Put
code_language.skript:
$ thread
Before the code
code_language.skript:
$ thread
set {_byName} to mysql result of query "SELECT `name`,`timestamp` FROM `dupeip` WHERE `name` LIKE '%arg-1%' ORDER BY `timestamp` DESC LIMIT 5;"
This can be used for function?
Such as
Code:
$ thread
GetUUID(player)
 
as long as the function doesn't do anything to the world or a player it should be fine.
So I can only be used for the processing of information, or database to read and write
As long as it doesn't contain the player or the world
Right?
 
So I can only be used for the processing of information, or database to read and write
As long as it doesn't contain the player or the world
Right?
You can't run minecraft related stuff in the Async method "thread" system. Things like Math, MySQL, yaml, server machine stuff or URL requests can be used in Async threads.
 
Is it possible to run a sql query without setting a variable like "run mysql query 'LALALA'"?
Searched the docs but nothing found yo