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

Minor bug fix.
Some background fixes to try and avoid component parsing errors have been added to this version.

One of the libraries has also been updated.

A few new syntaxes are being tested here, but they are currently unfinished. You can expect to see their full implementation very soon. :emoji_slight_smile:

Included:
  • Translated action bars (beta)
Upcoming:
  • Translated boss bars, scoreboards and tablist features
  • Like
Reactions: Runakai
This update adds several new syntax patterns.

Firstly, it's no longer required to specify a complex or simple translation pattern.
Code:
send [complex] translated [message[s]] %strings% with [(attachment[s]|input[s])] %strings% to %players%

send [simple] translated [message[s]] %strings% to %players%

On top of that, this addon now has support for translations in item lore and inventory names (currently just chest name).

Item lore uses the new translation style, which can be found below:
Code:
"translation.key.here[inputs='hello there!','another input!']"

Item lore syntaxes:
Code:
# Set an individual line.
# Will preserve existing lore/components where possible.
set line %number% of %itemtype%'[s] lore to translated %string%

# Get an item with a set lore.
%itemtype% with translated lore %strings%

Create a chest inventory with a translated name:
Code:
[a] [new] chest with [simple] translat(ed|able) name %string%

[a] [new] chest with [complex] translat(ed|able) name %string% with [(attachment[s]|input[s])] %strings%


Convert a list of strings into the new lore translation key format:
Code:
[the] converted [translation] key %strings%

The first list entry will be used as the key. The subsequent ones (if they exist) will be inputs.
  • Like
Reactions: Runakai