MundoSK

Addon MundoSK 1.8.5

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

wow, man. very useful plugin. you added asyn world creator? my hunger games server is lll agged on world create.
code_language.skript:
mapRegenerate loaded: 3.27 seconds
i am using 1.7.5(10.13)
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.
 
Hey how do i input a Unsigned Byte. with packets.

I am trying to do clientside rain.

code_language.skript:
function rainon(viewers: players):
    set {_packet-container} to new play_server_game_state_change packet
    set byte pnum 0 of {_packet-container} to 2
    send packet {_packet-container} to {_viewers::*}

function rainoff(viewers: players):
    set {_packet-container} to new play_server_game_state_change packet
    set byte pnum 0 of {_packet-container} to 1
    send packet {_packet-container} to {_viewers::*}

command /raintest:
    trigger:
        rainon(player)
        wait 5 seconds
        rainoff(player)

d1451e8f2b6635a435df13bec307b639.png
 
Hey how do i input a Unsigned Byte. with packets.

I am trying to do clientside rain.

code_language.skript:
function rainon(viewers: players):
    set {_packet-container} to new play_server_game_state_change packet
    set byte pnum 0 of {_packet-container} to 2
    send packet {_packet-container} to {_viewers::*}

function rainoff(viewers: players):
    set {_packet-container} to new play_server_game_state_change packet
    set byte pnum 0 of {_packet-container} to 1
    send packet {_packet-container} to {_viewers::*}

command /raintest:
    trigger:
        rainon(player)
        wait 5 seconds
        rainoff(player)

d1451e8f2b6635a435df13bec307b639.png
wiki.vg is not always accurate for some packets. You should prefer PacketWrapper (https://github.com/dmulloy2/PacketW...per/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_language.skript:
int pnum 0 of %packet%
float pnum 0 of %packet%
 
  • Like
Reactions: Tlatoani
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_language.skript:
[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":')
[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":')
[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":')
 
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_language.skript:
[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":')
[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":')
[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":')

1: This expression is not in mundosk but in tuske
http://skunity.com/search?search=Minecraft+Version#

2: This also requires viaversion OR Protocolsupport
 
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
Reactions: Spartan9802
I have a problem

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

Code:
[20:10:27 INFO]: [Skript] Xbxy issued effect command: send "%enchants within tool%"
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! [Skript] Severe Error:
[20:10:27 ERROR]: #!#! Unexpected error while executing effect command 'send "%enchants within tool%"' by 'Xbxy'
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[20:10:27 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[20:10:27 ERROR]: #!#! and check whether this error has already been reported.
[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),
[20:10:27 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[20:10:27 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[20:10:27 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Stack trace:
[20:10:27 ERROR]: #!#! java.lang.ClassCastException: org.bukkit.craftbukkit.v1_11_R1.inventory.CraftMetaItem cannot be cast to org.bukkit.inventory.meta.EnchantmentStorageMeta
[20:10:27 ERROR]: #!#!     at com.pie.tlatoani.EnchantedBook.ExprEnchantsInEnchBook.get(ExprEnchantsInEnchBook.java:56)
[20:10:27 ERROR]: #!#!     at com.pie.tlatoani.EnchantedBook.ExprEnchantsInEnchBook.get(ExprEnchantsInEnchBook.java:24)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.toUnformattedString(VariableString.java:470)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getMessageComponents(VariableString.java:485)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.effects.EffMessage.execute(EffMessage.java:86)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleEffectCommand(Commands.java:294)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands$4$1.call(Commands.java:227)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands$4$1.call(Commands.java:1)
[20:10:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftFuture.run(CraftFuture.java:89)
[20:10:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:829)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661)
[20:10:27 ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Version Information:
[20:10:27 ERROR]: #!#!   Skript: 2.2-dev29
[20:10:27 ERROR]: #!#!   Bukkit: 1.11.2-R0.1-SNAPSHOT
[20:10:27 ERROR]: #!#!   Minecraft: 1.11.2
[20:10:27 ERROR]: #!#!   Java: 1.8.0_141 (OpenJDK 64-Bit Server VM 25.141-b16)
[20:10:27 ERROR]: #!#!   OS: Linux amd64 2.6.32-431.el6.x86_64
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Running CraftBukkit: false
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Current node: null
[20:10:27 ERROR]: #!#! Current item: null
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Thread: Server thread
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! End of Error.
[20:10:27 ERROR]: #!#!
 
I have a problem

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

Code:
[20:10:27 INFO]: [Skript] Xbxy issued effect command: send "%enchants within tool%"
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! [Skript] Severe Error:
[20:10:27 ERROR]: #!#! Unexpected error while executing effect command 'send "%enchants within tool%"' by 'Xbxy'
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.
[20:10:27 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/
[20:10:27 ERROR]: #!#! and check whether this error has already been reported.
[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),
[20:10:27 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.
[20:10:27 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.
[20:10:27 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Stack trace:
[20:10:27 ERROR]: #!#! java.lang.ClassCastException: org.bukkit.craftbukkit.v1_11_R1.inventory.CraftMetaItem cannot be cast to org.bukkit.inventory.meta.EnchantmentStorageMeta
[20:10:27 ERROR]: #!#!     at com.pie.tlatoani.EnchantedBook.ExprEnchantsInEnchBook.get(ExprEnchantsInEnchBook.java:56)
[20:10:27 ERROR]: #!#!     at com.pie.tlatoani.EnchantedBook.ExprEnchantsInEnchBook.get(ExprEnchantsInEnchBook.java:24)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.toUnformattedString(VariableString.java:470)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getMessageComponents(VariableString.java:485)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.effects.EffMessage.execute(EffMessage.java:86)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands.handleEffectCommand(Commands.java:294)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands$4$1.call(Commands.java:227)
[20:10:27 ERROR]: #!#!     at ch.njol.skript.command.Commands$4$1.call(Commands.java:1)
[20:10:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftFuture.run(CraftFuture.java:89)
[20:10:27 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:829)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:763)
[20:10:27 ERROR]: #!#!     at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:661)
[20:10:27 ERROR]: #!#!     at java.lang.Thread.run(Thread.java:748)
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Version Information:
[20:10:27 ERROR]: #!#!   Skript: 2.2-dev29
[20:10:27 ERROR]: #!#!   Bukkit: 1.11.2-R0.1-SNAPSHOT
[20:10:27 ERROR]: #!#!   Minecraft: 1.11.2
[20:10:27 ERROR]: #!#!   Java: 1.8.0_141 (OpenJDK 64-Bit Server VM 25.141-b16)
[20:10:27 ERROR]: #!#!   OS: Linux amd64 2.6.32-431.el6.x86_64
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Running CraftBukkit: false
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Current node: null
[20:10:27 ERROR]: #!#! Current item: null
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! Thread: Server thread
[20:10:27 ERROR]: #!#!
[20:10:27 ERROR]: #!#! End of Error.
[20:10:27 ERROR]: #!#!
Is the tool you are trying to get enchants of an enchanted book?
 
Ok ==
There is no error using the Enchanted book
I thought he was able to modify the enchantment of the weapon
That syntax can only be used for enchanted books, so if you want to modify weapon enchantments you have to use some other syntax.
 
That syntax can only be used for enchanted books, so if you want to modify weapon enchantments you have to use some other syntax.
Other syntax?
Such as?
I want to remove the binding curse from a weapon