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.
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
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 doingCode (Skript):
- [(default)] displayed skin of %player% [(for %-players%|excluding %-players%)]
- %player%'s [(default)] displayed skin [(for %-players%|excluding %-players%)]
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.Code (Skript):
- set displayed skin of player to alex
Nametag of Player
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.Code (Skript):
- [mundo[sk]] %player%'s [(default)] nametag [for %-players%]
- [mundo[sk]] [(default)] nametag of %player% [for %-players%]
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!
Addon MundoSK 1.8.5
1.8.8 - 1.12 | Packets, WebSockets, World Border/Management/Custom Generation, and more!