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!

code_language.skript:
 Can't understand this condition/effect: set tablist name of %player% to "&2%player%" for all players (UTILS-SG.sk, line 89: set tablist name of %player% to "&2%player%" for all players')

- ver 1.8.5
it should be:

code_language.skript:
set tablist name of player for all players to "whatever"
Although using it this way is kinda pointless, if you're setting it for all players then using Skript's tablist name expression should be fine.
 
code_language.skript:
set icon of tab loop-number-1, loop-number-2 for player to mhf_exclamation

I tryed with {_p} parsed as offline player and with ""-Marks, but nothing works :x
 
  • Like
Reactions: Hexivoid
code_language.skript:
set icon of tab loop-number-1, loop-number-2 for player to mhf_exclamation

I tryed with {_p} parsed as offline player and with ""-Marks, but nothing works :x
You set it to a skin object, not to a player. If you want get the skin from an offline player you'd have to use the retrieve skin expression in combination of the asynchronous variable setting effect, like this:
code_language.skript:
set {_player} to ("whatever") parsed as offline player
async set {_skin} to retrieved skin of {_player}
set icon of tab 1, 2 for player to {_skin}
 
  • Like
Reactions: Hexivoid
You set it to a skin object, not to a player. If you want get the skin from an offline player you'd have to use the retrieve skin expression in combination of the asynchronous variable setting effect, like this:
code_language.skript:
set {_player} to ("whatever") parsed as offline player
async set {_skin} to retrieved skin of {_player}
set icon of tab 1, 2 for player to {_skin}

No errors, but the icon is still the same; white...
 
I just tried to upgrade the plugin and then I got an error
Code:
21:46:09 INFO]: Starting Minecraft server on 127.0.0.1:41001
[21:46:09 ERROR]: Could not load 'plugins/sk_MundoSK-v.1.8.5.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:158) ~[wy_denglu.jar:git-Paper-1104]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) [wy_denglu.jar:git-Paper-1104]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:302) [wy_denglu.jar:git-Paper-1104]
        at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:208) [wy_denglu.jar:git-Paper-1104]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:612) [wy_denglu.jar:git-Paper-1104]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_141]
        at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_141]
        at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_141]
        at java.util.jar.JarFile.<init>(JarFile.java:166) ~[?:1.8.0_141]
        at java.util.jar.JarFile.<init>(JarFile.java:130) ~[?:1.8.0_141]
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:146) ~[wy_denglu.jar:git-Paper-1104]
        ... 5 more


[21:46:50 INFO]: Stopping server
[21:46:50 INFO]: [TuSKe] Disabling TuSKe v1.8.2
[21:46:50 INFO]: [skRayFall] Disabling skRayFall v1.9.12
[21:46:50 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!
[21:46:50 INFO]: [Skellett] Disabling Skellett v1.9.6b
[21:46:50 INFO]: [SkStuff] Disabling SkStuff v1.6.4
[21:46:50 INFO]: [SkStuff] SkStuff 1.6.4 has been successfully disabled.
[21:46:50 INFO]: [SkQuery] Disabling SkQuery v3.6.0-Lime
[21:46:50 INFO]: [skUtilities] Disabling skUtilities v0.9.1
[21:46:50 INFO]: [SharpSK] Disabling SharpSK v1.6.3
[21:46:50 INFO]: [SharpSK] Successfully disabled.
[21:46:50 INFO]: [Skript] Disabling Skript v2.2-dev34
[21:46:50 INFO]: [NoCheatPlus] Disabling NoCheatPlus v3.15.1-RC-sMD5NET-b1084
[21:46:50 INFO]: [NoCheatPlus] Version 3.15.1-RC-sMD5NET-b1084 is disabled.
[21:46:50 INFO]: [ProtocolLib] Disabling ProtocolLib v4.3.0
[21:46:50 INFO]: [BungeeHandler] Disabling BungeeHandler v1.0
[21:46:50 INFO]: [WorldBorder] Disabling WorldBorder v1.8.6
[21:46:50 INFO]: [WorldBorder] [CONFIG] Border-checking timed task stopped.
[21:46:50 INFO]: [SQLibrary] Disabling SQLibrary v7.1
[21:46:50 INFO]: SQLibrary stopped.
[21:46:50 INFO]: [WildSkript] Disabling WildSkript v1.9
[21:46:50 INFO]: [SkinsRestorer] Disabling SkinsRestorer v13.0.2
[21:46:09 INFO]: Set PluginClassLoader as parallel capable
[doublepost=1522590447,1522590257][/doublepost]
I just tried to upgrade the plugin and then I got an error
Code:
21:46:09 INFO]: Starting Minecraft server on 127.0.0.1:41001
[21:46:09 ERROR]: Could not load 'plugins/sk_MundoSK-v.1.8.5.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:158) ~[wy_denglu.jar:git-Paper-1104]
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136) [wy_denglu.jar:git-Paper-1104]
        at org.bukkit.craftbukkit.v1_11_R1.CraftServer.loadPlugins(CraftServer.java:302) [wy_denglu.jar:git-Paper-1104]
        at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:208) [wy_denglu.jar:git-Paper-1104]
        at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:612) [wy_denglu.jar:git-Paper-1104]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_141]
        at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_141]
        at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_141]
        at java.util.jar.JarFile.<init>(JarFile.java:166) ~[?:1.8.0_141]
        at java.util.jar.JarFile.<init>(JarFile.java:130) ~[?:1.8.0_141]
        at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:146) ~[wy_denglu.jar:git-Paper-1104]
        ... 5 more


[21:46:50 INFO]: Stopping server
[21:46:50 INFO]: [TuSKe] Disabling TuSKe v1.8.2
[21:46:50 INFO]: [skRayFall] Disabling skRayFall v1.9.12
[21:46:50 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!
[21:46:50 INFO]: [Skellett] Disabling Skellett v1.9.6b
[21:46:50 INFO]: [SkStuff] Disabling SkStuff v1.6.4
[21:46:50 INFO]: [SkStuff] SkStuff 1.6.4 has been successfully disabled.
[21:46:50 INFO]: [SkQuery] Disabling SkQuery v3.6.0-Lime
[21:46:50 INFO]: [skUtilities] Disabling skUtilities v0.9.1
[21:46:50 INFO]: [SharpSK] Disabling SharpSK v1.6.3
[21:46:50 INFO]: [SharpSK] Successfully disabled.
[21:46:50 INFO]: [Skript] Disabling Skript v2.2-dev34
[21:46:50 INFO]: [NoCheatPlus] Disabling NoCheatPlus v3.15.1-RC-sMD5NET-b1084
[21:46:50 INFO]: [NoCheatPlus] Version 3.15.1-RC-sMD5NET-b1084 is disabled.
[21:46:50 INFO]: [ProtocolLib] Disabling ProtocolLib v4.3.0
[21:46:50 INFO]: [BungeeHandler] Disabling BungeeHandler v1.0
[21:46:50 INFO]: [WorldBorder] Disabling WorldBorder v1.8.6
[21:46:50 INFO]: [WorldBorder] [CONFIG] Border-checking timed task stopped.
[21:46:50 INFO]: [SQLibrary] Disabling SQLibrary v7.1
[21:46:50 INFO]: SQLibrary stopped.
[21:46:50 INFO]: [WildSkript] Disabling WildSkript v1.9
[21:46:50 INFO]: [SkinsRestorer] Disabling SkinsRestorer v13.0.2
[21:46:09 INFO]: Set PluginClassLoader as parallel capable


...Well, I solved it, it was a download error, resulting in incomplete file
 
i have a problem with nametags

The tag looks like this
2.png


- But it should show like this

Untitled.png




Code
code_language.skript:
set player's nametag to "&c&lRED &7%player%"
 
i have a problem with nametags

The tag looks like this
2.png


- But it should show like this

Untitled.png




Code
code_language.skript:
set player's nametag to "&c&lRED &7%player%"
this isn't a bug. nicknames are limited to 16 characters
 
how do i edit a mundosk chat packet?
you can get it with

code_language.skript:
on packet event play_server_chat:
    set {_jsonmessage} to "%""chatcomponent"" pjson 0 of event-packet%"
but is it possible to like replace all [this]'s in the message with [that]
 
Hey, I want to ask
I have value and signature now. How do I set the player's skin to them?

Value: eyJ0aW1lc3RhbXAiOjE1MDcyNzk0NDY1MjcsInByb2ZpbGVJZCI6IjAwY2Y2M2JhZDZmNjRjMmFhNjg0MDc0ZWRmYmQzZTg5IiwicHJvZmlsZU5hbWUiOiJNaXNzbW9uIiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsibWV0YWRhdGEiOnsibW9kZWwiOiJzbGltIn0sInVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzFiOTYzYWJhNzM2M2M2YjkzYmI3MTQ3NTQyMWJlN2M4MTIzZmFlM2U3NjMyZmE4Y2YzYTU0NWNhZiJ9fX0=

Signature:
LAzpeZVxCzQtq+BdRVYTJMlscJUpTgEkJSbWbpfRKA2To7VYVYN8HMffcr7+seNwXFMat2KrUyZ6DwGNp8j2cqULg5DQq+XpCQ09xxDNi0DYjm0/AoSLrvdQFhfVBQVzlVwgAMATi4qrkjXyeDDZHTP1nrPGIqNVQZg65CGDAa894/Al/OAbS4du3ihFeUF0DujIdITy91S3KPRJLf/HevPiR2/oZTdqmbgErH0tnpGk6xnWDaIv4a5JnIOEzgIOKpAH1F65i94NJXlYJIquUqwkEeuLcyNyE1w9btWW6QCmbNuYwVaYB2im0WCramfjsLPF+p8ozJmJnxe56pX6WmEvKZYvBdYG9OeMoiQh7hbWqrhP7jWzKM5PsPtsdG1TnPIs1ktgOl1d5THh4mwzpdEqpEi0h6ZldOmn8eO3Fs03AcgGu/Cv183P4zRWkabgdtfQ/7X38dN/NsfEXZfqdaq9dyx/JedIVfPIqSgj8JQYjD6RtCQR3ApGwDCQnpcS9e9Syyzqsu9ucs6yGtV63Q49/WYMp0iky1Rs8IPIfeEX6EPjBHXffERCO3jDoheAkvYMwQSTly51YHhqwnZAN6iLcCFYxz63zLJCA9/ltk5ml9wfdW70oizR9VrGFbtjSDXsIB1bSViVApOajeFHTsvz8D0u+3VBDN9ON4o7XHU=
 
Hey, I want to ask
I have value and signature now. How do I set the player's skin to them?

Value: eyJ0aW1lc3RhbXAiOjE1MDcyNzk0NDY1MjcsInByb2ZpbGVJZCI6IjAwY2Y2M2JhZDZmNjRjMmFhNjg0MDc0ZWRmYmQzZTg5IiwicHJvZmlsZU5hbWUiOiJNaXNzbW9uIiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsibWV0YWRhdGEiOnsibW9kZWwiOiJzbGltIn0sInVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzFiOTYzYWJhNzM2M2M2YjkzYmI3MTQ3NTQyMWJlN2M4MTIzZmFlM2U3NjMyZmE4Y2YzYTU0NWNhZiJ9fX0=

Signature:
LAzpeZVxCzQtq+BdRVYTJMlscJUpTgEkJSbWbpfRKA2To7VYVYN8HMffcr7+seNwXFMat2KrUyZ6DwGNp8j2cqULg5DQq+XpCQ09xxDNi0DYjm0/AoSLrvdQFhfVBQVzlVwgAMATi4qrkjXyeDDZHTP1nrPGIqNVQZg65CGDAa894/Al/OAbS4du3ihFeUF0DujIdITy91S3KPRJLf/HevPiR2/oZTdqmbgErH0tnpGk6xnWDaIv4a5JnIOEzgIOKpAH1F65i94NJXlYJIquUqwkEeuLcyNyE1w9btWW6QCmbNuYwVaYB2im0WCramfjsLPF+p8ozJmJnxe56pX6WmEvKZYvBdYG9OeMoiQh7hbWqrhP7jWzKM5PsPtsdG1TnPIs1ktgOl1d5THh4mwzpdEqpEi0h6ZldOmn8eO3Fs03AcgGu/Cv183P4zRWkabgdtfQ/7X38dN/NsfEXZfqdaq9dyx/JedIVfPIqSgj8JQYjD6RtCQR3ApGwDCQnpcS9e9Syyzqsu9ucs6yGtV63Q49/WYMp0iky1Rs8IPIfeEX6EPjBHXffERCO3jDoheAkvYMwQSTly51YHhqwnZAN6iLcCFYxz63zLJCA9/ltk5ml9wfdW70oizR9VrGFbtjSDXsIB1bSViVApOajeFHTsvz8D0u+3VBDN9ON4o7XHU=
You’d create the skin object by doing something like this:
code_language.skript:
set {_skin} to skin with value “<value>” signature “<signature>”
Then you’d set the player’s skin like this:
code_language.skript:
set {_player}’s displayed skin to {_skin}
 
You’d create the skin object by doing something like this:
code_language.skript:
set {_skin} to skin with value “<value>” signature “<signature>”
Then you’d set the player’s skin like this:
code_language.skript:
set {_player}’s displayed skin to {_skin}
I tested it, the player's skin did not change after the screen flashed briefly
 
Hello, I would like to use your add-on in 1.7.10. Is it possible? If it's not, can you please DM me on Discord ShaDowZ#0001 so we can discuss about it ? Thanks
 
So this is a very important announcement that I have to make: MundoSK will be splitting up into various smaller addons.

This is a huge change that I have decided to make for a variety of reasons. I (and I think a few others) feel that MundoSK as an addon that has come to encompass a large scope of features that are essentially unrelated to other and don’t really have a reason to be in a single addon. This means that users who want a specific set of features that MundoSK has also have to have everything else that MundoSK comes with, and this is problematic because it leads to situations where bugs with certain features are causing issues for people who aren’t using those features at all. It also leads to delays on certain features getting released because other completely different features are still getting worked on or have critical bugs. Overall, it will be much easier to deal with managing multiple smaller addons than one huge one.

What will this mean for current users of MundoSK? Essentially it means that at some point in time, instead of updating your MundoSK version, you’ll have to delete MundoSK and download the new addons that you need for the MundoSK features that you were using.

Currently the plan is that these will be new addons focused on specific purposes, though I’m open to merging some features into existing addons if the developer of that addon thinks it would be a good idea. There are also a lot of MundoSK features that I’m not planning on including in an addon that I will continue to develop, like the achievements stuff - these will probably go into a legacy “lite” version of MundoSK to allow compatibility with users transitioning to the new addons. Right now I have a pretty good idea of how I want to divide things up but everything is open to change as necessary.

This isn’t something that is necessarily going to happen quickly, I don’t have the most time (which is another reason why it’s getting hard to manage MundoSK as it is) but I don’t think it’s going to be a repeat of the 1.7.4 to 1.8 gap or anything like that. I do want to hear the Skript community’s opinions on this change and your feedback on how you are currently using MundoSK and how to make this change in the way that will bring benefits to users as well. There are a lot of small details with which features go where and how to separate things out and I want to make decisions based in part on how people are mostly using these features.

I hope you can understand that this won’t necessarily be the easiest thing to do but I think this will lead to the best prospects for future development and maintenance of MundoSK’s features. I’ll probably do some polls/ask some questions about certain features in the next coming days/couple of weeks to figure out how things should work out. Until then, thank you for understanding why this has to be done and don’t stop Skripting.
[doublepost=1533231349,1533167201][/doublepost]Hey, so I have a couple of things I want some opinions on. So far I have names that I think are good for most of the new addons, but I do want suggestions for two of them. The first one is the world-focused addon. I could just call this MundoSK, but I think that would be confusing. I don't have any really interesting ideas, so I want to see what other people think. The second one is the random-number/probability focused addon. I came up with Skrand for this, but I want to see if there are any more interesting name ideas for this one.

The other thing I want to discuss is MundoSK's JSON features. JSON features right now are required for the `pjson` expression, meaning they are a necessity for most scripts that use MundoSK's packet features. However, they can also be useful in a lot of other places as well, like websocket features, for sending structured information as a string. I'm not sure in what ways (if at all) MundoSK users use JSONObjects, so I'm not exactly sure how to proceed with this. I could make an addon for just JSON, and there's also skript-json, so maybe I could integrate the features into skript-json depending on btk5h's opinion on that. There are some differences with how MundoSK's JSON features work and how skript-json seems to work so there may be some issues there. However, I don't want to make it so that use of the packet-focused addon essentially requires another addon for most of its features to work, so I want to see what suggestions you guys have for this.
 
I think SkWorld & SkRand is very good, it's simple efficient we know directly what we're talking about ^^

According to me for the json I think the best and create that only one is even addon with btk5h to you two you should offer us something very complete ^^