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. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    Can you send the full code, MundoSK version, and Bukkit/Spigot version? Also, do you get any errors on reload, or errors in console when running the code?
     
  2. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    Code (Skript):
    1. [03:47:49 ERROR]: Can't understand this condition/effect: hide loop-player in the tablist of player (test.sk, line 4: hide loop-player in the tablist of player')
    - dev27
    - spigot 1.8.8
    - mundosk last version

    Code (Skript):
    1. command /teste:
    2.     trigger:
    3.         loop all players:
    4.             hide loop-player in the tablist of player
    5.      
    6.      
    7.  
     
  3. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    That seems like it should load properly, what version of ProtocolLib are you using?
     
  4. Parrothead

    Parrothead Active Member

    Joined:
    Feb 1, 2017
    Messages:
    27
    Likes Received:
    3
    Hi,

    I was using your example on the first page to change a player's skin to one given by texture and value, but I can't seem to get it to work.
    Using this skin for reference (https://mineskin.org/105245).

    Code (Skript):
    1. command /textureswap:
    2.     trigger:
    3.         set player's displayed skin to skin with texture "http://textures.minecraft.net/texture/ad718f3a91d27deca4bb10456fb697de2c7eeb1674fa9271fb9dfa76ac05240" value "eyJ0aW1lc3RhbXAiOjE1MTY5NTE4NzQ0NTYsInByb2ZpbGVJZCI6ImQxY2VjOWFkMWRhODQxNzliMWU1NjA0ZjcyYmZiMjI2IiwicHJvZmlsZU5hbWUiOiJydXRnZXI0NjUiLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2FkNzE4ZjNhOTFkMjdkZWNhNGJiMTA0NTZmYjY5N2RlMmM3ZWViMTY3NGZhOTI3MWZiOWRmYTc2YWMwNTI0MCJ9fX0="
    Thank you for reading.
     
  5. Snow-Pyon

    Moderator Resource Staff

    Joined:
    Jan 25, 2017
    Messages:
    1,234
    Likes Received:
    172
    Medals:
    1. I recommend you putting the signature and value in different lines, if you have a very long line Skript will throw an StackOverFlowError (and if it does,.
    2. I don't know where you got that syntax but the real one is:
    Code (Skript):
    1. skin [texture] with value %string% signature %string%
    so, you may use it as:
    Code (Skript):
    1. set {_value} to "eyJ0aW1lc3RhbXAiOjE1MTY5NTE4NzQ0NTYsInByb2ZpbGVJZCI6ImQxY2VjOWFkMWRhODQxNzliMWU1NjA0ZjcyYmZiMjI2IiwicHJvZmlsZU5hbWUiOiJydXRnZXI0NjUiLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2FkNzE4ZjNhOTFkMjdkZWNhNGJiMTA0NTZmYjY5N2RlMmM3ZWViMTY3NGZhOTI3MWZiOWRmYTc2YWMwNTI0MCJ9fX0="
    2. set {_signature} to "T/wHDml85qa1ONQqG+UFruYLsG2W/V8MxjCO3Kxpxlf8zX+QFA+8F1o8h+ERFukdoekib3DTdDvedhPDsyPKWwh5ZgFmg/Wh3shLppk1G5X/Nxe2z5ojji+Kybhrdg8PpKhLHoubY5n0QLRnutG41ij5SS1zUyYyqM9fru6OJMzYz2Fw/3u3gy446aPcBsHfbXue5Qp/PT1/cRfXquKiSkAIrXLn8GBngVP6TnQEJN6/AxDfprCQ7NMj+l+1aUjB8RO1cyMzHJUGyNWJDA7iZCBDaLzU5/bGau79ryogCHGWJERdmUYAnOnYqG/d3Ik51tM0OAPv6hpDBEiDaJsdcQMABy6/mtz9efaz0FAp8fWve7iCsB9Wnz71ACYGqEBFi5kDoDFvZcf86/O3suY2x1cuzB/2OOgIjN9/vb1AHqwJrT6e49bd9T51C0eW8uRIwQ6x9o3iNNZd8KuTi3UrKjshTEEd0LQESncTlJWWYm06P2n8Vu/EbSbJTQ7CHkECzj698t99GtPHk2TvUoHReE2oV3elJ+cowMrFD7iEdZX+neB2lKfu2BzpdVd1ZoZW1FNIa8QLTo081EQ4LafaGwreDuud4Xr7rN4RHQUzLXYsGwsw9dRu/p4BvxGdL8pvOUPy9tAiBAEiRqCxy0hb07OCNqbF/CX8Y9bxT5BcUW8="
    3. set {_skin} to skin with value {_value} signature {_signature}
    By the way, what I do is save my skins in a JSON file such as:
    Code ( (Unknown Language)):
    1. {
    2.     "Necromacer":
    3.     {
    4.         "value": "eyJ0aW1lc3RhbXAiOjE1MTY5NTE4NzQ0NTYsInByb2ZpbGVJZCI6ImQxY2VjOWFkMWRhODQxNzliMWU1NjA0ZjcyYmZiMjI2IiwicHJvZmlsZU5hbWUiOiJydXRnZXI0NjUiLCJzaWduYXR1cmVSZXF1aXJlZCI6dHJ1ZSwidGV4dHVyZXMiOnsiU0tJTiI6eyJ1cmwiOiJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlL2FkNzE4ZjNhOTFkMjdkZWNhNGJiMTA0NTZmYjY5N2RlMmM3ZWViMTY3NGZhOTI3MWZiOWRmYTc2YWMwNTI0MCJ9fX0=",
    5.         "signature": "T/wHDml85qa1ONQqG+UFruYLsG2W/V8MxjCO3Kxpxlf8zX+QFA+8F1o8h+ERFukdoekib3DTdDvedhPDsyPKWwh5ZgFmg/Wh3shLppk1G5X/Nxe2z5ojji+Kybhrdg8PpKhLHoubY5n0QLRnutG41ij5SS1zUyYyqM9fru6OJMzYz2Fw/3u3gy446aPcBsHfbXue5Qp/PT1/cRfXquKiSkAIrXLn8GBngVP6TnQEJN6/AxDfprCQ7NMj+l+1aUjB8RO1cyMzHJUGyNWJDA7iZCBDaLzU5/bGau79ryogCHGWJERdmUYAnOnYqG/d3Ik51tM0OAPv6hpDBEiDaJsdcQMABy6/mtz9efaz0FAp8fWve7iCsB9Wnz71ACYGqEBFi5kDoDFvZcf86/O3suY2x1cuzB/2OOgIjN9/vb1AHqwJrT6e49bd9T51C0eW8uRIwQ6x9o3iNNZd8KuTi3UrKjshTEEd0LQESncTlJWWYm06P2n8Vu/EbSbJTQ7CHkECzj698t99GtPHk2TvUoHReE2oV3elJ+cowMrFD7iEdZX+neB2lKfu2BzpdVd1ZoZW1FNIa8QLTo081EQ4LafaGwreDuud4Xr7rN4RHQUzLXYsGwsw9dRu/p4BvxGdL8pvOUPy9tAiBAEiRqCxy0hb07OCNqbF/CX8Y9bxT5BcUW8="
    6.     },
    7.     "Fujinomiya":
    8.     {
    9.         "value": "eyJ0aW1lc3RhbXAiOjE1MTY5Nzg2MDk4OTUsInByb2ZpbGVJZCI6ImMxZWQ5N2Q0ZDE2NzQyYzI5OGI1ODFiZmRiODhhMjFmIiwicHJvZmlsZU5hbWUiOiJ5b2xvX21hdGlzIiwic2lnbmF0dXJlUmVxdWlyZWQiOnRydWUsInRleHR1cmVzIjp7IlNLSU4iOnsidXJsIjoiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9jNzBjZjMxYWM3YzgzNGFlMWYxZDA3NGIyODkzODViMmYyYmViZmNkNzZjZDI0MTg5MTUxNTg2ZGQ2M2RhNmMifX19",
    10.         "signature": "hrBuTE3MqryJMfHPYkWnXym3GufMrtSNkYpa8roVZVv5wVJBadCztynmGpI7/DXGsoLOlfwZqOymBwuJnKFdKuvUhLAYv3t4P1zVI7WHqFhSFSN8u3G3RsxFKjGRZc3ce1c8Acu17/A9VZjH5KcJp8YJpEJ+ZAveBTGY79iexJw5upcO9+lBO4yD9NQdNfaHgcQ7Va4nGK5yv2Gi41gv7pGcwuwDxUfPRnkzmWdiaF44aFpLCTEn9VmKUHxgM9fJZE+BlfEL3fr8NO/KolgXxIBiJTfJ5T94Fq0UpxkH9mj0nEAiRmiGYdg3UI+2uXmVXeQQxhC9aNrIijYHjJJI3yMtd+kf9RYDmI1VudWrDiOvaARm+Oh79HeXWCnKLL1EIFYN4c3AOPJZWTO/+qnkbgPho0pN6DV5NQRNnP+5xHG0OsHuwkgVCPAOYc8H3SNMFS35EWpNoTJJHpCGJsT58VeCMF2cU1tTD+wcYKRcdOJNz73ese6p9+MiwNRaySWx6pbT+xwfaSXaowi8PHzhxHo1/OngR0HBl+9zf1zlvXKrzO9XoXK4csNjlYV6I8h6NGu4dtEGVJIgzdozoEBK1gQsclttlgW14Ry7pFRrDWnDQJ/7Y7kMSq5CzJWfcKu9/1zyKqUWZJWW2DINtqwaO57a+FfYHxxy6XIc93G8T1c="
    11.     }
    12. }
    And then read it the following way:
    Code (Skript):
    1. on script load:
    2.  
    3.   set {_skins} to join (file contents of "plugins/MundoSK/skins.json") by system property line separator # You can put it wherever you want
    4.   map json {_skins} to {_skins::*} # this requires skript-json, can be done with MundoSK though
    5.  
    6.   loop tree of {_skins::*}:
    7.  
    8.     set {_indexes::*} to split branch by "::"
    9.     if {_indexes::2} is "value":
    10.       set {_current-value} to loop-value
    11.     else:
    12.       set {_current-signature} to loop-value
    13.  
    14.     if {_current-value} and {_current-signature} is set:
    15.       set {skin::%{_indexes::1}%} to skin with value {_current-value} signature {_current-signature}
    16.       clear {_current-value} and {_current-signature}
    17.  
    18. on script unload:
    19.  
    20.   clear {skin::*}
    And finally, use them wherever you want, example:
    Code (Skript):
    1. command /skin <name="Fujinomiya">:
    2.   trigger:
    3.     set displayed skin of sender to {skin::%arg-1%}
     
    #185 Snow-Pyon, Jan 26, 2018
    Last edited: Jan 28, 2018
    • Winner Winner x 1
  6. Parrothead

    Parrothead Active Member

    Joined:
    Feb 1, 2017
    Messages:
    27
    Likes Received:
    3
    Thank you so much! That was very informative

    edit: Is it possible to disguise mobs as players and then change their skin?
     
    #186 Parrothead, Jan 27, 2018
    Last edited: Jan 27, 2018
  7. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    126
    Medals:
    Yes, but it isnt fun
     
  8. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
  9. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,102
    Likes Received:
    150
    Tlatoani updated MundoSK with a new update entry:

    MundoSK 1.8.5 - Player Skull Improvements

    Read the rest of this update entry...
     
    • Like Like x 1
  10. Govindas

    Govindas Well-Known Member

    Joined:
    Feb 5, 2017
    Messages:
    61
    Likes Received:
    3
    updating from mundosk 1.7.5-BETA.10.13 to latest version broke NametagEdit nametags, so I had to downgrade, would like this to be fixed (and mundosk tablist also didn't work.. kept resetting after few seconds)
     
  11. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    Can you send your Bukkit/Spigot version and ProtocolLib version, as wella as the code that you used for MundoSK tablist?
     
  12. Govindas

    Govindas Well-Known Member

    Joined:
    Feb 5, 2017
    Messages:
    61
    Likes Received:
    3
    ProtocolLib 4.3.1-SNAPSHOT-b3
    latest 1.11.2 PaperSpigot

    now when I'm using old version of MundoSK the tablist works nice (using 1.7.5-BETA.10.13)
     
  13. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    What about the code that you used for the tablist?
     
  14. Govindas

    Govindas Well-Known Member

    Joined:
    Feb 5, 2017
    Messages:
    61
    Likes Received:
    3
    set tablist name of player to "test"
    sorry I forgot to include
     
    • Like Like x 1
  15. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    That syntax was removed in a recent version of MundoSK, so if it was parsing it was probably from Skript or some other addon. MundoSK has the following syntax instead:
    Code (Skript):
    1. tablist name of %player% for %players%
    You can write this like this:
    Code (Skript):
    1. tablist name of %player% for all players
    One note with this is that this will only affect players currently online, so when a new player joins, you will have to set it for them too, so it may be a good idea to store these settings in a variable and set the tabist according to the variable in ‘on join’.

    Right now I don’t know what is causing the problem with NameTagEdit, to immediately fix it you can go to MundoSK’s config and set the `enable_custom_skin_and_tablist` option to false. This will MundoSK’s skin and nametag syntaxes, but it will also disable its tablist syntaxes, so if you need those, that may not be a good option. I’m not sure if I’ll have time to work on this bug before the weekend, I may have time tomorrow but I’m not sure.
     
    • Like Like x 1
  16. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    how i can change player's name in tablist?
     
  17. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    Code (Skript):
    1. tablist name of %player% for %players%
    This is the expression that you need to set (note that you need ProtocolLib for tablist modifications). You can find other MundoSK tablist syntaxes by doing ‘/mundosk doc tablist’ or by searching ‘tab’ in the docs online.
     
  18. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    and that should change the name of player?

    Code (Skript):
    1. set tablist name of player to "&2%player%" for all players
    not work
     
  19. Tlatoani

    Addon Developer

    Joined:
    Jan 24, 2017
    Messages:
    151
    Likes Received:
    89
    Medals:
    How doesn’t it work? Does it show an error when parsing, or an error in console when running? What version of MundoSK are you using (don’t say latest)?
     
  20. Uzumaki

    Uzumaki Well-Known Member

    Joined:
    Feb 20, 2017
    Messages:
    290
    Likes Received:
    8
    Code (Skript):
    1.  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
     
Loading...