Spigot [Skript Java Addon] Skellett 2.0.0

All your Skript needs in one addon!

  1. That's strange I will look into that.
     
  2. It should, if it doesn't send me the errors.
     
  3. Hi @LimeGlass !
    I can't create nametags with Skellett, my server version is 1.11.2 and i have the latest version of Skellett

    My code : http://prntscr.com/h3alpb
    Error : Can't understand this condition/effect

    Would you have a solution to solve that ? Do I use the bad syntax ?
     
    • Like Like x 1
  4. It was changed to NametagEdit stuff. More stable.
     
  5. Don't use dev-32 then. I have been recoding Skellett for awhile and I will test it when I get to that part. Use bensku's inventory type other.
     
    • Like Like x 1
  6. What do you mean by bensku's inventory type ?
    I've tried every version from 1.9.6b to 1.9.0e and it still doesn't work ! I'm still gonna try previous build, I hope it will works...
    I also tried to change the version of skript itself, and it still doesn't works, from the version dev32 to dev29, the skript doesn't work :(
     
    #287 Daxxas, Oct 31, 2017
    Last edited: Oct 31, 2017
  7. Bensku modified the inventory types

    Code (Text):
       

        left mouse button, left mouse button with shift, right mouse button, right mouse button with shift, window border using right mouse button, window border using left mouse button, middle mouse button, number key, double click using mouse, drop key, drop key with control, creative action, unknown
     
    https://bensku.github.io/Skript/classes.html#clickaction

    if clicked type is left mouse button with shift:

    if clicked action is clone stack:
     
  8. Yes, but how can I detect if the player is in a crafting bench or not ? That's why I wanted to use skellett at the first place
     
  9. Code (Text):
    on inventory click:
        If inventory type of clicked inventory is "CRAFTING":
            send "test"
    This work only on the 4x4 crafting grid of player's inventory, not the crafting bench 3x3 grid :(
     
  10. I have a problem with the boss bar title and progress my no error is displayed on the console the only error is "null can not be set to anything"

    Skellett version : 1.9.6b
    Minecraft Version : 1.12.2

    Code (Text):
    command /test [<number>]:
      trigger:
        set {_bar} to new bossbar

        set title of bossbar {_bar} to "Timer : %arg 1% seconds"
        set color of bossbar {_bar} to BLUE
        set style of bossbar {_bar} to SEGMENTED_20

        set {_deno} to (arg 1) * 20
        set {_num} to (arg 1) * 20

        while {_num} >= 0:

          set {_sec} to "%{_num} / 20%" parsed as integer
          set title of bossbar {_bar} to "Timer : %{_sec}% seconds"

          set progress of bossbar {_bar} to {_num} / {_deno}
          add player to bossbar {_bar}
          wait 1 tick
          remove 1 from {_num}

          if {_num} is 0:
            set progress of bossbar {_bar} to {_num} / {_deno}
            add player to bossbar {_bar}
            wait 3 tick
            remove player from bossbar {_bar}
            stop

          wait 1 ticks
     
     
    #292 KrentelTV, Nov 8, 2017
    Last edited: Nov 8, 2017
  11. If you have SkRayFall which you most likely do. They override Skellett's so you're going to have to use SkRayFall's
     
  12. I'm trying to check the name and lore of an item a player is holding when right-clicking, and it doesn't seem to work. I have Skript 2.2 and Skellet 1.9.6b installed. Here's my syntax:

    Code (Text):

    on rightclick holding enchanted book named "custom name":
            if lore of item contains "some lore":
                    message "It works!"
     
     
  13. Ok thanks you
     
  14. Split it up. You have to for Skript to understand it.


    Code (Text):
    on rightclick with enchanted book:
        if name of player's tool is "custom name":
            if lore of player's tool contains "some lore":
                    message "It works!"
    It might also just be book and not enchanted book
     
  15. Thanks for the quick reply. I've gotten it to recognize the enchanted book and the name, but the lore isn't working. Here's what I've got:
    Code (Text):

    on rightclick holding enchanted book:
            message "enchanted book worked"
            if name of player's tool is "custom name":
                    message "custom name worked!"
                    if lore of player's tool contains "custom lore":
                            message "lore worked!"

     
    I get the first two messages, but not the last. I've tried "if lore of player's tool is" and "if lore of player's tool is set" as well.

    UPDATE: I tried "if 1st line of lore of player's tool contains" and it works!
     
    #297 SullyTheUnusual, Nov 10, 2017
    Last edited: Nov 10, 2017
  16. @LimeGlass Help my server can't connect with bungee
    11.11 14:17:42 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:42 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:42 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:42 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:42 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:42 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)
    11.11 14:17:42 [Server] WARN at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    11.11 14:17:42 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)
    11.11 14:17:42 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)
    11.11 14:17:42 [Server] WARN at java.lang.Thread.run(Thread.java:748)
    11.11 14:17:42 [Server] [Informatie] SkellettProxy connection established on port 7331
    11.11 14:17:43 [Server] [Informatie] Incorrect SkellettProxy details, No socket found or was denied access. For socket at 91.121.100.34:7332
    11.11 14:17:43 [Server] ERROR If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
    11.11 14:17:43 [Server] [Informatie] Attempting to reconnect and fix myself...
    11.11 14:17:43 [Server] [Informatie] Bungeecord went offline. Attempting to reconnect...
    11.11 14:17:43 [Server] WARN java.io.EOFException
    11.11 14:17:43 [Server] WARN at java.io_ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
    11.11 14:17:43 [Server] WARN at java.io_ObjectInputStream.readObject0(ObjectInputStream.java:1502)
    11.11 14:17:43 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:43 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:43 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:43 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:43 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:43 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)
    11.11 14:17:43 [Server] WARN at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    11.11 14:17:43 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)
    11.11 14:17:43 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)
    11.11 14:17:43 [Server] Skipped 92 lines due to rate limit (30/s)
    11.11 14:17:43 [Server] [Informatie] Incorrect SkellettProxy details, No socket found or was denied access. For socket at 91.121.100.34:7332
    11.11 14:17:43 [Server] ERROR If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
    11.11 14:17:43 [Server] [Informatie] Attempting to reconnect and fix myself...
    11.11 14:17:43 [Server] [Informatie] Bungeecord went offline. Attempting to reconnect...
    11.11 14:17:44 [Server] WARN java.io.EOFException
    11.11 14:17:44 [Server] WARN at java.io_ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
    11.11 14:17:44 [Server] WARN at java.io_ObjectInputStream.readObject0(ObjectInputStream.java:1502)
    11.11 14:17:44 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:44 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:44 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:44 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:44 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:44 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)
    11.11 14:17:44 [Server] WARN at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    11.11 14:17:44 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)
    11.11 14:17:44 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)
    11.11 14:17:44 [Server] WARN at java.lang.Thread.run(Thread.java:748)
    11.11 14:17:44 [Server] [Informatie] SkellettProxy connection established on port 7331
    11.11 14:17:44 [Server] [Informatie] Incorrect SkellettProxy details, No socket found or was denied access. For socket at 91.121.100.34:7332
    11.11 14:17:44 [Server] ERROR If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
    11.11 14:17:44 [Server] [Informatie] Attempting to reconnect and fix myself...
    11.11 14:17:44 [Server] [Informatie] Bungeecord went offline. Attempting to reconnect...
    11.11 14:17:44 [Server] WARN java.io.EOFException
    11.11 14:17:44 [Server] WARN at java.io_ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
    11.11 14:17:44 [Server] WARN at java.io_ObjectInputStream.readObject0(ObjectInputStream.java:1502)
    11.11 14:17:44 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:44 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:44 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:44 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:44 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:45 [Server] Skipped 82 lines due to rate limit (30/s)
    11.11 14:17:45 [Server] WARN java.io.EOFException
    11.11 14:17:45 [Server] WARN at java.io_ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
    11.11 14:17:45 [Server] WARN at java.io_ObjectInputStream.readObject0(ObjectInputStream.java:1502)
    11.11 14:17:45 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:45 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:45 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:45 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:45 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)
    11.11 14:17:45 [Server] WARN at java.lang.Thread.run(Thread.java:748)
    11.11 14:17:45 [Server] [Informatie] SkellettProxy connection established on port 7331
    11.11 14:17:45 [Server] [Informatie] Incorrect SkellettProxy details, No socket found or was denied access. For socket at 91.121.100.34:7332
    11.11 14:17:45 [Server] ERROR If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
    11.11 14:17:45 [Server] [Informatie] Attempting to reconnect and fix myself...
    11.11 14:17:45 [Server] [Informatie] Bungeecord went offline. Attempting to reconnect...
    11.11 14:17:45 [Server] WARN java.io.EOFException
    11.11 14:17:45 [Server] WARN at java.io_ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
    11.11 14:17:45 [Server] WARN at java.io_ObjectInputStream.readObject0(ObjectInputStream.java:1502)
    11.11 14:17:45 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:45 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:45 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:45 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:45 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675)
    11.11 14:17:45 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574)
    11.11 14:17:46 [Server] Skipped 92 lines due to rate limit (30/s)
    11.11 14:17:46 [Server] [Informatie] Incorrect SkellettProxy details, No socket found or was denied access. For socket at 91.121.100.34:7332
    11.11 14:17:46 [Server] ERROR If you're 100% sure your details are correct, this can be caused because some server's want a number host rather than localhost. Try inserting 0.0.0.0 or 127.0.0.1 instead of localhost. Error:
    11.11 14:17:46 [Server] [Informatie] Attempting to reconnect and fix myself...
    11.11 14:17:46 [Server] [Informatie] Bungeecord went offline. Attempting to reconnect...
    11.11 14:17:46 [Server] WARN java.io.EOFException
    11.11 14:17:46 [Server] WARN at java.io_ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2917)
    11.11 14:17:46 [Server] WARN at java.io_ObjectInputStream.readObject0(ObjectInputStream.java:1502)
    11.11 14:17:46 [Server] WARN at java.io_ObjectInputStream.readObject(ObjectInputStream.java:422)
    11.11 14:17:46 [Server] WARN at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    11.11 14:17:46 [Server] WARN at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    11.11 14:17:46 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71)
    11.11 14:17:46 [Server] WARN at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353)
    11.11 14:17:46 [Server] WARN at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:730)

    Getting this error al the time ^^^
     
  17. Hub server config:

    # Skellett the addon with the beast name!
    # By LimeGlass

    # The Host must be the main IP of the BungeeCord that is hosting SkellettProxy.
    # If the bungeecord and this server are on the same machine, you can leave it as localhost.

    # The port must match the same port that is in the SkellettProxy config.
    SkellettProxy: true
    Host: 91.121.100.34
    Port: 7332

    # Heartbeat is a running task that SkellettProxy uses to check that servers are still connected.
    # This is in milliseconds.
    Heartbeat: 50

    # Disconnect if the Bungeecord is offline.
    # If this is set to false. Skellett will keep making attempts at connecting.
    Disconnect: true

    # Enable Bungeecord events.
    # This will run a repeating task to handle the listener.
    # This needs to be enabled if you want to use;
    # Bungeecord events, Evaluate effect, Max players, Whitelisted players, Network variables, Global scripts and much more!
    Events: true
    # The event port is what SkellettProxy looks for when a bungee event has been triggered.
    # This can match the port defined in the SkellettProxy settings above. It doesn't really matter.
    # The port above is the port from the bungeecord side SkellettProxy config, where as this port is for this server.
    # This port has to be DIFFERENT on every one of your bungeecord server if your servers run on the same machine.
    EventPort: 7331

    # A message that is displayed to the console to notify that a GlobalScript has been reloaded.
    GlobalScriptReloadMessage: true

    Bungee config:

    # SkellettProxy config file
    #
    # The port must match the port in SkellettProxy.yml from Skellett on servers connected to this Bungeecord.
    version: "1.3.3b"
    debug: false
    Port: 7332

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

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

    # 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: true
    # Allow variables to be re-writen if a server calls for it.
    AllowOverrides: true
    # 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: true
    # Backup the variables every X minutes.
    Interval: true
    # Time is in minutes.
    IntervalTime: 120
    # Broadcasts a message to console saying backups have been saved.
    ConsoleMessage: false