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 MundoSK 1.8.5

1.8.8 - 1.12 | Packets, WebSockets, World Border/Management/Custom Generation, and more!

  1. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    wow, man. very useful plugin. you added asyn world creator? my hunger games server is lll agged on world create.
    Code (Skript):
    1. mapRegenerate loaded: 3.27 seconds
    i am using 1.7.5(10.13)
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Async world creation isn't possible as far as I am aware as Bukkit handles the world creation and does not allow it to be used async.
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    Hey how do i input a Unsigned Byte. with packets.

    I am trying to do clientside rain.

    Code (Skript):
    1. function rainon(viewers: players):
    2.     set {_packet-container} to new play_server_game_state_change packet
    3.     set byte pnum 0 of {_packet-container} to 2
    4.     send packet {_packet-container} to {_viewers::*}
    5.  
    6. function rainoff(viewers: players):
    7.     set {_packet-container} to new play_server_game_state_change packet
    8.     set byte pnum 0 of {_packet-container} to 1
    9.     send packet {_packet-container} to {_viewers::*}
    10.  
    11. command /raintest:
    12.     trigger:
    13.         rainon(player)
    14.         wait 5 seconds
    15.         rainoff(player)
    [​IMG]
     
  4. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    wiki.vg is not always accurate for some packets. You should prefer PacketWrapper (https://github.com/dmulloy2/PacketWrapper/tree/master/PacketWrapper/src/main/java/com/comphenix/packetwrapper) whenever possible. If you go to PacketWrapper's class for play_server_game_state_change, you will see that the values for the packet are:
    Code (Skript):
    1. int pnum 0 of %packet%
    2. float pnum 0 of %packet%
     
  5. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,049
    Likes Received:
    145
    • Like Like x 1
  6. TSBeatz

    TSBeatz Member

    Joined:
    Apr 26, 2017
    Messages:
    9
    Likes Received:
    1
    Hello. why is this not work?
    Spigot-Server 1.12
    Protocollib 4.3.0
    MundoSK 1.7.5-BETA.10.19
    Script 2.2-dev31c


    Code (Skript):
    1. [12:42:40] [Server thread/ERROR]: [Skript] Can't understand this expression: mc version of player (Verbinden.sk, line 31: if "%mc version of player%" contains "1.8":')
    2. [12:42:40] [Server thread/ERROR]: [Skript] Can't understand this expression: mc version of player (Verbinden.sk, line 33: if "%mc version of player%" contains "1.9":')
    3. [12:42:40] [Server thread/ERROR]: [Skript] Can't understand this expression: mc version of player (Verbinden.sk, line 39: if "%mc version of player%" is "1.10":')
     
  7. L

    Joined:
    Jan 26, 2017
    Messages:
    363
    Likes Received:
    19
    1: This expression is not in mundosk but in tuske
    http://skunity.com/search?search=Minecraft+Version#

    2: This also requires viaversion OR Protocolsupport
     
  8. TSBeatz

    TSBeatz Member

    Joined:
    Apr 26, 2017
    Messages:
    9
    Likes Received:
    1
  9. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    An announcement for all users of MundoSK's border syntaxes: in the version MundoSK 1.7.5-BETA.10.22, a config option has been added to disable the `size` syntax in favor of `diameter` in border syntaxes that involve the length (diameter) of the border. This should resolve the conflict between MundoSK's `size of %world%` syntax and the Skript `size of %objects%` syntax. Do note that in a future version of MundoSK the `size` syntax for border syntaxes will completely removed in favor of `diameter`
     
    • Like Like x 1
  10. Spartan9802

    Spartan9802 Member

    Joined:
    Jan 26, 2017
    Messages:
    158
    Likes Received:
    8
    When will you have an update? :emoji_grinning:
     
  11. x

    xbxy Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    I have a problem

    !send "%enchants within tool%"
    And cannot be modified or added

    Code (Text):
    1.  
    2. [20:10:27 INFO]: [Skript] Xbxy issued effect command: send "%enchants within tool%"
    3. [20:10:27 ERROR]: #!#!
    4. [20:10:27 ERROR]: #!#! [Skript] Severe Error:
    5. [20:10:27 ERROR]: #!#! Unexpected error while executing effect command 'send "%enchants within tool%"' by 'Xbxy'
    6. [20:10:27 ERROR]: #!#!
    7. [20:10:27 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
    8. [20:10:27 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
    9. [20:10:27 ERROR]: #!#! and check whether this error has already been reported.
    10. [20:10:27 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),
    11. [20:10:27 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
    12. [20:10:27 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
    13. [20:10:27 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
    14. [20:10:27 ERROR]: #!#!
    15. [20:10:27 ERROR]: #!#! Stack trace:
    16. [20:10:27 ERROR]: #!#! java.lang.ClassCastException: org.bukkit.craftbukkit.v1_11_R1.inventory.CraftMetaItem cannot be cast to org.bukkit.inventory.meta.EnchantmentStorageMeta
    17. [20:10:27 ERROR]: #!#!     at com.pie.tlatoani.EnchantedBook.ExprEnchantsInEnchBook.get(ExprEnchantsInEnchBook.java:56)
    18. [20:10:27 ERROR]: #!#!     at com.pie.tlatoani.EnchantedBook.ExprEnchantsInEnchBook.get(ExprEnchantsInEnchBook.java:24)
    19. [20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103)
    20. [20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.toUnformattedString(VariableString.java:470)
    21. [20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getMessageComponents(VariableString.java:485)
    22. [20:10:27 ERROR]: #!#!     at ch.njol.skript.effects.EffMessage.execute(EffMessage.java:86)
    23. [20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
    24. [20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleEffectCommand(Commands.java:294)
    25. [20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands$4$1.call(Commands.java:227)
    26. [20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands$4$1.call(Commands.java:1)
    27. [20:10:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftFuture.run(CraftFuture.java:89)
    28. [20:10:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356)
    29. [20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:829)
    30. [20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403)
    31. [20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763)
    32. [20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661)
    33. [20:10:27 ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
    34. [20:10:27 ERROR]: #!#!
    35. [20:10:27 ERROR]: #!#! Version Information:
    36. [20:10:27 ERROR]: #!#!   Skript: 2.2-dev29
    37. [20:10:27 ERROR]: #!#!   Bukkit: 1.11.2-R0.1-SNAPSHOT
    38. [20:10:27 ERROR]: #!#!   Minecraft: 1.11.2
    39. [20:10:27 ERROR]: #!#!   Java: 1.8.0_141 (OpenJDK 64-Bit Server VM 25.141-b16)
    40. [20:10:27 ERROR]: #!#!   OS: Linux amd64 2.6.32-431.el6.x86_64
    41. [20:10:27 ERROR]: #!#!
    42. [20:10:27 ERROR]: #!#! Running CraftBukkit: false
    43. [20:10:27 ERROR]: #!#!
    44. [20:10:27 ERROR]: #!#! Current node: null
    45. [20:10:27 ERROR]: #!#! Current item: null
    46. [20:10:27 ERROR]: #!#!
    47. [20:10:27 ERROR]: #!#! Thread: Server thread
    48. [20:10:27 ERROR]: #!#!
    49. [20:10:27 ERROR]: #!#! End of Error.
    50. [20:10:27 ERROR]: #!#!
    51.  
     
  12. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    Is the tool you are trying to get enchants of an enchanted book?
     
  13. x

    xbxy Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    Ok ==
    There is no error using the Enchanted book
    I thought he was able to modify the enchantment of the weapon
     
  14. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    That syntax can only be used for enchanted books, so if you want to modify weapon enchantments you have to use some other syntax.
     
  15. x

    xbxy Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    Other syntax?
    Such as?
    I want to remove the binding curse from a weapon
     
  16. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    MundoSK doesn’t have any syntax for it, you’ll have to use a Skript syntax or some other addon for it.
     
  17. x

    xbxy Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    170
    Likes Received:
    8
    Well, thank you
     
    • Like Like x 1
  18. f

    feerko Member

    Joined:
    Feb 19, 2017
    Messages:
    70
    Likes Received:
    1
    how can i hide an entity (for example armor stand) from player?
     
  19. White

    White Well-Known Member

    Joined:
    Jan 26, 2017
    Messages:
    445
    Likes Received:
    25
  20. f

    feerko Member

    Joined:
    Feb 19, 2017
    Messages:
    70
    Likes Received:
    1
Loading...