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

All your Skript needs in one addon!

  1. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Ya it should be a simple fix. It's conflicting with Skript. Simple fix. I will look into making HologramDisplays hook
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    --- Double Post Merged, Mar 9, 2017, Original Post Date: Mar 9, 2017 ---
    I use the following code to obtain the data, but only the first can be obtained
    How to write ?
    Code (Text):
    1.  
    2.         mysql update "CREATE TABLE IF NOT EXISTS `xbxy` (`name` varchar(255),`list` longtext,`win` longtext,`fail` longtext)"
    3.         mysql update "ALTER TABLE `xbxy` ADD UNIQUE (name)"
    4.         mysql update "INSERT INTO `xbxy` (`name`,`list`,`win`,`fail`) VALUES ('%player%', '0', '0', '0')"
    5.         set {_s1} to mysql result of query "SELECT * From xbxy WHERE name = '%player%'"
    6.         set {_t1::*} to mysql integer "win" in {_s1}
    7.         set {_t2::*} to mysql integer "fail" in {_s1}
    8.         set {_t3::*} to mysql integer "list" in {_s1}
    9.         broadcast "%{_t1::1}%"
    10.         broadcast "%{_t2::1}%"
    11.         broadcast "%{_t3::1}%"
    12.  
    13. show:
    14.  
    15. [17:05:18 INFO]: 0
    16. [17:05:18 INFO]: <none>
    17. [17:05:18 INFO]: <none>
    18.  
    19.  
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Grab data individually. Working on a fix
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Like this?

    Code (Text):
    1.  
    2.         set {_s1} to mysql result of query "SELECT * From xbxy WHERE name = '%player%'"
    3.         set {_t1::*} to mysql integer "win" in {_s1}
    4.         set {_s1} to mysql result of query "SELECT * From xbxy WHERE name = '%player%'"
    5.         set {_t2::*} to mysql integer "list" in {_s1}
    6.         set {_s1} to mysql result of query "SELECT * From xbxy WHERE name = '%player%'"
    7.         set {_t3::*} to mysql integer "fail" in {_s1}
    8.  
    --- Double Post Merged, Mar 9, 2017, Original Post Date: Mar 9, 2017 ---
    @LimeGlass
    I installed 'TabListAPI'
    And view the file
    Syntax.yml
    But I do not understand the code
    Can you provide a writing template ?
    --- Double Post Merged, Mar 9, 2017 ---
    I created a Nametag called 'Asd'
    There was a wrong call
    Is my grammar is wrong

    Code (Text):
    1.  
    2. add player to tag "Asd" from score 2
    3.  
    4. [17:27:20 ERROR]: Can't understand this condition/effect: add player to tag "Asd" from score 2 (0.sk, line 8: add player to tag "Asd" from score 2')
    5.  
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    from score 2 isn't a thing.

    Also I think I added a fix for the MySQL error.
     
  6. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Can provide relevant code? = =
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Will the ability to select and edit maps by metadata be added anytime soon?
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Code (Skript):
    1. create nametag "this"
    2. add player to nametag "this"
    3. set prefix of nametag "this" to "&6something"
    What do you mean? You can use the map initalize event and add metadata all in Skellett? You mean like a custom ID system to track maps?
     
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    i meant like how skquery maps worked bevore as far as i know i am not able to edit a map with like map:12. so edit without the use of the on map: event or without saving the event-map in a variable
     
  10. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Ya Spigot deprecated that ID system and will most likely be removed in 1.12 so I didn't use it. But I had plans to make a custom ID system. I still don't know yet.
     
  11. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    I try to write
    But I find watching each other between players Some people did not name
    and
    Online or offline Sometimes you can see
    Sometimes can't see
    Code (Text):
    1.  
    2. on join:
    3.     create tag with id "n-%player%"
    4.     wait 1 ticks
    5.     set suffix tag with "n-%player%" to "&f[&7test&f]&7"
    6.     add player to nametag "n-%player%"
    7.  
     
  12. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    @xbxy If you have a scoreboard or something that the player is already part of. You can use
    Code (Skript):
    1. create nametag "this" from player
    This will basically create nametag under the player's current scoreboard.
     
  13. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    LimeGlass updated Skellett - The addon with a beast name with a new update entry:

    MySQL fix, Item frames, client chests and more

    Read the rest of this update entry...
     
  14. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
  15. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    @LimeGlass

    Use 1.8.3 let I've got a problem

    Code (Text):
    1.  
    2. command /a:
    3.     trigger:
    4.         set {_s1} to mysql result of query "SELECT list FROM bed WHERE name = '%player%'"
    5.  
    Code (Text):
    1.  
    2. [07:52:00 INFO]: [Skellett] MySQL connect error: The connection property 'autoReconnect' only accepts values of the form: 'true', 'false', 'yes' or 'no'. The value 'true?allowMultiQueries=true' is not in this set.
    3. [07:52:00 ERROR]: #!#!
    4. [07:52:00 ERROR]: #!#! [Skript] Severe Error:
    5. [07:52:00 ERROR]: #!#!
    6. [07:52:00 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
    7. [07:52:00 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
    8. [07:52:00 ERROR]: #!#! and check whether this error has already been reported.
    9. [07:52:00 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
    10. [07:52:00 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
    11. [07:52:00 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
    12. [07:52:00 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
    13. [07:52:00 ERROR]: #!#!
    14. [07:52:00 ERROR]: #!#! Stack trace:
    15. [07:52:00 ERROR]: #!#! java.lang.NullPointerException
    16. [07:52:00 ERROR]: #!#!     at com.gmail.thelimeglass.MySQL.MySQLManager.query(MySQLManager.java:102)
    17. [07:52:00 ERROR]: #!#!     at com.gmail.thelimeglass.MySQL.ExprMySQLQuery.get(ExprMySQLQuery.java:39)
    18. [07:52:00 ERROR]: #!#!     at com.gmail.thelimeglass.MySQL.ExprMySQLQuery.get(ExprMySQLQuery.java:1)
    19. [07:52:00 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:105)
    20. [07:52:00 ERROR]: #!#!     at ch.njol.skript.effects.EffChange.execute(EffChange.java:270)
    21. [07:52:00 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)
    22. [07:52:00 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)
    23. [07:52:00 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)
    24. [07:52:00 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)
    25. [07:52:00 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:222)
    26. [07:52:00 ERROR]: #!#!     at ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:184)
    27. [07:52:00 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleCommand(Commands.java:270)
    28. [07:52:00 ERROR]: #!#!     at ch.njol.skript.command.Commands$1.onServerCommand(Commands.java:181)
    29. [07:52:00 ERROR]: #!#!     at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:35)
    30. [07:52:00 ERROR]: #!#!     at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
    31. [07:52:00 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    32. [07:52:00 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
    33. [07:52:00 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
    34. [07:52:00 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.DedicatedServer.aM(DedicatedServer.java:436)
    35. [07:52:00 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:404)
    36. [07:52:00 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:749)
    37. [07:52:00 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:648)
    38. [07:52:00 ERROR]: #!#!     at java.lang.Thread.run(Thread.java:745)
    39. [07:52:00 ERROR]: #!#!
    40. [07:52:00 ERROR]: #!#! Version Information:
    41. [07:52:00 ERROR]: #!#!   Skript: 2.2-dev25
    42. [07:52:00 ERROR]: #!#!   Bukkit: 1.11.2-R0.1-SNAPSHOT
    43. [07:52:00 ERROR]: #!#!   Minecraft: 1.11.2
    44. [07:52:00 ERROR]: #!#!   Java: 1.8.0_121 (OpenJDK 64-Bit Server VM 25.121-b13)
    45. [07:52:00 ERROR]: #!#!   OS: Linux amd64 2.6.32-431.el6.x86_64
    46. [07:52:00 ERROR]: #!#!
    47. [07:52:00 ERROR]: #!#! Running CraftBukkit: false
    48. [07:52:00 ERROR]: #!#!
    49. [07:52:00 ERROR]: #!#! Current node: null
    50. [07:52:00 ERROR]: #!#! Current item: set {_s1}(as java.lang.Object) to [skellett] mysql result of query %string%
    51. [07:52:00 ERROR]: #!#!
    52. [07:52:00 ERROR]: #!#! Thread: Server thread
    53. [07:52:00 ERROR]: #!#!
    54. [07:52:00 ERROR]: #!#! End of Error.
    55. [07:52:00 ERROR]: #!#!
    56. [07:52:00 INFO]: An internal error occurred while attempting to perform this command.
    57.  
     
  16. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Amazing Author ❤ Thank you for all of these features you've made in skellett.
    Just got some ideas to do:
    - ``make %block% appear open for all players`` » can you also support block at location, like ``set {_BlockAtLoc} to block at %location% (using another location variable...)`` then `` make {_BlockAtLoc} appear open for player``so we can make it/them appear open again if player reconnected. (or just make the opened chest appear always opened even if player reconnected)
    - Add Enchant effect because skript enchant syntax does not support variables or arguments in the syntax i have no idea why!
    - Also, Enderchest does not work probably in "make targeted block appear open" the Enderchest will open and close in 1 second :emoji_frowning:
    That's it for now :emoji_grinning:
    And Thank you.
     
  17. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    You can just use block at {_BlockAtLoc} I might add support for location and block

    I may add the enchant effect

    The ender chest is just what Mojang does. The ender chest contantly needs to have an inventory holder open to keep the chest open. Maybe try spamming the open chest effect? This bug can't be fixed.

    Thanks for suggestions :emoji_grinning: I take in all suggestions.
     
    Ayham Alali likes this.
  18. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    Skript can use variable on its enchant effect, so if you could override this suggestion @LimeGlass
     
    Ayham Alali likes this.
  19. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    @LimeGlass can you fix mysql and create "force flight" to player without double jump?
     
  20. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    234
    LimeGlass updated Skellett - The addon with a beast name with a new update entry:

    Fixed alot of bugs and added a bunch of stuff

    Read the rest of this update entry...
     

Share This Page

Loading...