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. MundoSK 1.8.4 - Per-Player Nametags

    Tlatoani
    The main focus of this update is a major reorganization of the code involved with skin and nametag changing in order to make it more maintainable and stable, as well as to make it easier to implement changes and new features.

    Before we get into that, there are two small changes I want to mention:
    Chat Tab Complete
    This is just the addition to the documentation of this event's player event-value, which was previously undocumented.

    Tab Complete
    This event now has a `sender` event-value to represent the thing that was trying to tab-complete something. Like in a command, you can use `player` assuming that the sender will be a player (if it isn't a player player will not be set, like in a command).

    Now for the more important focus of this update. To start, as there has been a reorganization of code, it's expected that certain bugs will be fixed and more likely than not some new bugs have been introduced. A specific bug that has been fixed is one that was introduced in MundoSK 1.8.3, where changing a player's nametag would also change their tablist name if that hadn't previously been changed.

    In terms of more concrete changes:

    Displayed Skin of Player
    Code (Skript):
    1. [(default)] displayed skin of %player% [(for %-players%|excluding %-players%)]  
    2. %player%'s [(default)] displayed skin [(for %-players%|excluding %-players%)]
    There has been a slight syntax change to this expression, in the form of a new `default` syntax. This cannot be used simultaneously as specifying specific target players or excluded players. The point of this new syntax is for the whole syntax to better describe its functionality. Previously, simply doing
    Code (Skript):
    1. set displayed skin of player to alex
    would only change the skin appearance for players who hadn't been specifically targeted in previous uses of the syntax. Now, this functionality has been moved to the syntax using `default`, and the simple syntax that doesn't use `default` will change the skin appearance for all players regardless of prior values. This may be a bit confusing, so I added some examples to the documentation describing what certain code would do.

    Nametag of Player
    Code (Skript):
    1. [mundo[sk]] %player%'s [(default)] name[]tag [for %-players%]  
    2. [mundo[sk]] [(default)] name[]tag of %player% [for %-players%]
    This expression has received a larger addition: the ability to change the nametag of a player differently for different targets. This functionality is essentially the same as and mirrored from the similar functionality of Displayed Skin of Player, with the note that this syntax does not allow excluded players. Other than that, the working of `default` and specifying target players is the same as Displayed Skin of Player, and like that expression, this also now has examples to relieve confusion.
    Goetheus, KingAlterIV and Uzumaki like this.
Return to update list...