1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon Skellett - The beast addon! 1.9.8

All your Skript needs in one addon!

  1. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,233
    Likes Received:
    172
    Medals:
    I recommend you using skript-db for anything related to SQL. It's the best addon for it.
     
  2. LimeGlass

    Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    605
    Likes Received:
    418
    Medals:
    I plan on redoing the MySQL in it's own addon or something, but for now you can use this addon https://forums.skunity.com/resources/skript-db.372/ Instead.
     
    • Like Like x 1
  3. marcellmit2l

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    11
    Likes Received:
    0
    What is wrong?
    (I tried 127.0.0.1 and 0.0.0.0)

    Code (Java):
    1. # SkellettProxy config file
    2. #
    3. # The port must match the port in SkellettProxy.yml from Skellett on servers connected to this Bungeecord.
    4. version: "1.3.3b"
    5. debug: false
    6. Port: 7377
    7.  
    8. # If a spigot server fails to send a packet to SkellettProxy.
    9. # How many trys should be allowed before claiming that server as offline.
    10. AllowedTrys: 5
    11.  
    12. # If a spigot server goes unresponsive and this is true, SkellettProxy will stop tracking it.
    13. # This will throw a harmless error in your console everytime a server goes unresponsive though.
    14. DisableTracking: false
    15.  
    16. # If you have scripts in the folder plugins/SkellettProxy/scripts/
    17. # SkellettProxy will relay these scripts to all connected servers.
    18. # This acts like global scripts to keep all servers up to date.
    19. # All connected servers need to have the "events" option enabled in the SkellettProxy settings.
    20. GlobalScripts:
    21.     Enabled: true
    22.  
    23. # Network variables allow you to create shared varaibles between multiple servers on the bungeecord.
    24. # SkellettProxy will handle the variables on the Bungeecord instance.
    25. NetworkVariables:
    26.     Enabled: true
    27.     # Allow variables to be re-writen if a server calls for it.
    28.     AllowOverrides: true
    29.     # Automatic sharing means that SkellettProxy will try to make Skellett's (Spigot side) variables
    30.    # match the exact variables as Bungeecord.
    31.    # So basically if you update a global variable, SkellettProxy will make every Spigot server variables match that.
    32.    # So all you need todo is
    33.    #
    34.    # set network variable {test} to "Hello world!"
    35.    #
    36.    # Then on every other server, the variable {test} will be be set to "Hello world!"
    37.    #
    38.    # WARNING: Keep in mind this will override any variable names that match SkellettProxy's.
    39.     # If this is enabled SkellettProxy variable names will be priority!
    40.     # It should be harmless if you don't care about your old data.
    41.    # And last thing, this is cap sensitive, can't change or fix that. That's Skript.
    42.    AutomaticSharing: false
    43.    Backups:
    44.        # Backup the variables when the bungeecord ends.
    45.        End: true
    46.        # Backup the variables every X minutes.
    47.        Interval: true
    48.        # Time is in minutes.
    49.        IntervalTime: 120
    50.        # Broadcasts a message to console saying backups have been saved.
    51.        ConsoleMessage: false

    Code (Java):
    1. # Skellett the addon with the beast name!
    2. # By LimeGlass
    3.  
    4. # The Host must be the main IP of the BungeeCord that is hosting SkellettProxy.
    5. # If the bungeecord and this server are on the same machine, you can leave it as localhost.
    6.  
    7. # The port must match the same port that is in the SkellettProxy config.
    8. SkellettProxy: true
    9. Host: localhost
    10. Port: 7377
    11.  
    12. # Heartbeat is a running task that SkellettProxy uses to check that servers are still connected.
    13. # This is in milliseconds.
    14. Heartbeat: 50
    15.  
    16. # Disconnect if the Bungeecord is offline.
    17. # If this is set to false. Skellett will keep making attempts at connecting.
    18. Disconnect: false
    19.  
    20. # Enable Bungeecord events.
    21. # This will run a repeating task to handle the listener.
    22. # This needs to be enabled if you want to use;
    23. # Bungeecord events, Evaluate effect, Max players, Whitelisted players, Network variables, Global scripts and much more!
    24. Events: true
    25. # The event port is what SkellettProxy looks for when a bungee event has been triggered.
    26. # This can match the port defined in the SkellettProxy settings above. It doesn't really matter.
    27. # The port above is the port from the bungeecord side SkellettProxy config, where as this port is for this server.
    28. # This port has to be DIFFERENT on every one of your bungeecord server if your servers run on the same machine.
    29. EventPort: 7376
    30.  
    31. # A message that is displayed to the console to notify that a GlobalScript has been reloaded.
    32. GlobalScriptReloadMessage: true

    Code (Java):
    1. [20:46:26] [Server thread/WARN]: java.io.EOFException
    2. [20:46:26] [Server thread/WARN]:        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2626)
    3. [20:46:26] [Server thread/WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1321)
    4. [20:46:26] [Server thread/WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
    5. [20:46:26] [Server thread/WARN]:        at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    6. [20:46:26] [Server thread/WARN]:        at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    7. [20:46:26] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    8. [20:46:26] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:3$
    9. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
    10. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    11. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    12. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    13. [20:46:26] [Server thread/WARN]:        at java.lang.Thread.run(Thread.java:745)
    14. [20:46:26] [Craft Scheduler Thread - 6/INFO]: ^[[0;30;1m[^[[0;32;1mSkellett^[[0;30;1m] ^[[0;33;1mSkellettProxy connection established on por$
    15. [20:46:26] [Craft Scheduler Thread - 0/INFO]: ^[[0;30;1m[^[[0;32;1mSkellett^[[0;30;1m] ^[[0;33;1m^[[0;31;1mIncorrect SkellettProxy details, $
    16. [20:46:26] [Craft Scheduler Thread - 0/ERROR]: [Skript] If you're 100% sure your details are correct, this can be caused because some server$
    17. [20:46:26] [Craft Scheduler Thread - 0/INFO]: ^[[0;30;1m[^[[0;32;1mSkellett^[[0;30;1m] ^[[0;33;1m^[[0;31;1mAttempting to reconnect and fix m$
    18. [20:46:26] [Craft Scheduler Thread - 6/INFO]: ^[[0;30;1m[^[[0;32;1mSkellett^[[0;30;1m] ^[[0;33;1m^[[0;31;1mBungeecord went offline. Attempti$
    19. [20:46:26] [Server thread/WARN]: java.io.EOFException
    20. [20:46:26] [Server thread/WARN]:        at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2626)
    21. [20:46:26] [Server thread/WARN]:        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1321)
    22. [20:46:26] [Server thread/WARN]:        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
    23. [20:46:26] [Server thread/WARN]:        at com.gmail.thelimeglass.Sockets.connect(Sockets.java:69)
    24. [20:46:26] [Server thread/WARN]:        at com.gmail.thelimeglass.Sockets$1.run(Sockets.java:27)
    25. [20:46:26] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71)
    26. [20:46:26] [Server thread/WARN]:        at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:3$
    27. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723)
    28. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)
    29. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)
    30. [20:46:26] [Server thread/WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)
    31. [20:46:26] [Server thread/WARN]:        at java.lang.Thread.run(Thread.java:745)
     
  4. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    239
    Likes Received:
    1
    @LimeGlass Could you please add pathfinding goals to the addon?
    SkStuff's pathfinding goals stuff is a pain and does not always work for some reason, also it is very limited. Example: I can not make a mob follow a specific player etc.
     
    • Agree Agree x 1
  5. L

    Joined:
    Jan 26, 2017
    Messages:
    363
    Likes Received:
    19
    If you do that can you Also Add nbt stuff because i think skstuff won't keep updating by someone
     
    • Agree Agree x 1
  6. Goetheus

    Goetheus Member

    Joined:
    Jan 26, 2017
    Messages:
    85
    Likes Received:
    7
    I totally agree with @pepper82 and @Lego_freak1999 ! :emoji_slight_smile:
    NBT stuff and Pathfinding are very useful !

    And I noticed a "warning" about your schematic syntaxes!
    Code (Skript):
    1. 14.12 18:01:09 [Server] INFO (FAWE) @CuboidClipboard used by EffPasteSchematic.pasteOld():93 is deprecated.
    2. 14.12 18:01:09 [Server] INFO (FAWE)  - Alternatives: { class com.sk89q.worldedit.extent.clipboard.BlockArrayClipboard,class com.sk89q.worldedit.extent.clipboard.io.ClipboardFormat }
    Good luck and keep going :emoji_grinning:
    Kiss <3
     
  7. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,233
    Likes Received:
    172
    Medals:
    NBT should be totally handled by a separated addon, it would be more worth create another addon or a fork of skStuff rather than adding it to Skellett.
     
    • Informative Informative x 1
  8. YourMCAdmin

    YourMCAdmin Member

    Joined:
    Jan 31, 2017
    Messages:
    18
    Likes Received:
    0
    @LimeGlass Is it possible to disguise a mob using the on damage event?
    I'm trying to get it to disguise when it takes damage. However, when I use this code I get an error in game that says "Use 'attacker' and/or 'victim' in damage events":

    Code (Skript):
    1. on damage of zombie:
    2.     set {_d} to new disguise with type GIANT
    3.     set disguise of victim to {_d}
    The code works fine when disguising mobs using commands such as:
    Code (Skript):
    1. command /dis:
    2.     trigger:
    3.         spawn chicken at player
    4.         set {_d} to new disguise with type GIANT
    5.         set disguise of last spawned chicken to {_d}
    Any ideas?
     
  9. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    125
    Medals:
    You can try setting a variable to the victim then using that
     
  10. YourMCAdmin

    YourMCAdmin Member

    Joined:
    Jan 31, 2017
    Messages:
    18
    Likes Received:
    0
    I have tried
    Code (Skript):
    1. set {_d} to new disguise with type GIANT
    2. set {_victim} to victim
    3. set disguise of victim to to {_d}
    and still get the same error "Use 'attacker' and/or 'victim' in damage events".
    I suppose I can set a variable to the specific mob, run a console command to disguise that mob. But if I could do it all within that event, it would be much cleaner.
     
  11. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    125
    Medals:
    ... you have to use the variabke in the third line
     
  12. YourMCAdmin

    YourMCAdmin Member

    Joined:
    Jan 31, 2017
    Messages:
    18
    Likes Received:
    0
    Sorry! It was late when I typed that, I messed it up. I am definitely using the variable and getting the same error.
    The proper version:
    Code (Skript):
    1. set {_d} to new disguise with type GIANT
    2. set {_victim} to victim
    3. set disguise of {_victim} to to {_d}
    Still get the error "Use 'attacker' and/or 'victim' in damage events".
     
  13. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    125
    Medals:
    in what line and event
     
  14. LimeGlass

    Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    605
    Likes Received:
    418
    Medals:
    You have "to to" put in there twice, so Skript doesn't know what you want. Remove one of the "to" in the syntax and see if that fixes it. If not please send any console errors you might have. That's what I see is the problem from looking at this code. You can also try putting the "GIANT" in a string as it supports both string and enum.
     
  15. pepper82

    pepper82 Member

    Joined:
    Jan 26, 2017
    Messages:
    239
    Likes Received:
    1
    Hey there,
    how can I permanently remove a NPC (targeted entity) with Skellett?
    (When I try the "remove citizen"-effect it despawns the citizen but after server restart the NPC is back)
     
  16. YourMCAdmin

    YourMCAdmin Member

    Joined:
    Jan 31, 2017
    Messages:
    18
    Likes Received:
    0
    I swear, every time I type something here for help I accidentally typo... I feel like such a fool.
    The "to to" wasn't in my code, I just typed it in here by mistake. Here is a copy paste of my code for fidelity sake!

    Code (Skript):
    1. on damage of zombie:
    2.     set {_d} to new disguise with type GIANT
    3.     set {_victim} to victim
    4.     set disguise of {_victim} to {_d}
    I have tried "GIANT" as a string as well as not as a string. It always throws an error on the "set disguise of {_victim} to {_d}" line. The error is "Use 'attacker' and/or 'victim' in damage events". There are no errors in console, just errors in game upon reloading. I have a ton of skript add-ons, maybe one is interfering somehow. Can anyone confirm that this method does work for them?
     
  17. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    125
    Medals:
    I mean, if you have skript-mirror i guess you can use it to get the victim instead
     
  18. LimeGlass

    Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    605
    Likes Received:
    418
    Medals:
    Do you have the LibsDisguises option enabled in the config for Skellett?
    --- Double Post Merged, Dec 18, 2017, Original Post Date: Dec 18, 2017 ---
    Unregister npc syntax
     
  19. YourMCAdmin

    YourMCAdmin Member

    Joined:
    Jan 31, 2017
    Messages:
    18
    Likes Received:
    0
    Yes I do. I also have the latest Skellett, the latest Skript, the latest LibsDisguise, and ProtocolLib.

    I've noticed disguising works if I'm issuing the command such as:
    Code (Skript):
    1.  
    2. command /madcow:
    3.     trigger:
    4.         spawn zombie at player
    5.         set {_zombie} to last spawned zombie
    6.         set {_d} to new disguise with type COW
    7.         set disguise of {_zombie} to {_d}
    However if I'm using another event or the console is issuing a command, it won't work. Such as the on damage event or this:
    Code (Skript):
    1.  
    2. command /madcow_spawn:
    3.     trigger:
    4.         loop all players:
    5.             make console execute "madcow %loop-player%"
    6.            
    7. command /madcow <player>:
    8.     trigger:
    9.         set {_player} to player-arg
    10.         spawn zombie at {_player}
    11.         set {_zombie} to last spawned zombie
    12.         set {_d} to new disguise with type COW
    13.         set disguise of {_zombie} to {_d}
    In this scenario the zombie spawns, but just won't disguise.
    There are no errors in console.
     
  20. LimeGlass

    Supporter Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    605
    Likes Received:
    418
    Medals:
    Try casting the entity/player through a function rather than an event.
     
Loading...