This is a Skript addon designed to allow for full control over Advancements in 1.12+
Here is a well explained wiki of what Advancements are http://minecraft.gamepedia.com/Advancements
There will be more changes and features added in the future. The current Spigot build as of posting this, doesn't allow for player's to join the server. Also spigot is still doing heavy development on these features. More will be added soon.
All syntax except events are generated in a Syntax.yml that you can edit.
Syntax:
Here is a well explained wiki of what Advancements are http://minecraft.gamepedia.com/Advancements
There will be more changes and features added in the future. The current Spigot build as of posting this, doesn't allow for player's to join the server. Also spigot is still doing heavy development on these features. More will be added soon.
All syntax except events are generated in a Syntax.yml that you can edit.
Syntax:
code_language.skript:
#Events:
#Event called when a player finishs an advancement
[on] [player] advancement (award|get|complete):
event-player
event-key #The key of the advancement
event-advancement
#Types:
Advancement = advancement
NamespacedKey = (namespacedkey|key)
#Effects:
#Create an advancement for a world
(make|create) [a[n]] advancement [[with] name[d]] %string% [[(,| and)] [with]] title %string% [[(,| and)] [with]] desc[ription] %string%" [[(,| and)] [with]] icon %string% [[(,| and)] [with]] trigger %string% [[(,| and)] [with]] background %string% [[(,| and)] [for]] world %string% [[(,| and)] [with]] item %itemtype%
#Force the advancement to be awarded
(award|give) [all criteria of] advancement %advancement% to %player%
#Revoke access of this advancement
(revoke|take|remove) [all criteria of] advancement %advancement% from %player%
#Expressions:
#Get the criteria of this string (more info http://minecraft.gamepedia.com/Advancements)
advancement criteria of %advancement%
%advancement%'s advancement criteria
#Get the NamespacedKey class of an advancement.
#Info: If messages it will contain the namespace and the key
advancement [name[ ]spaced] key of %advancement%
%advancement%'s advancement [name[ ]spaced] key
#Return the AdvancementProgress class of an advancement for a player
#Info: Still under working progress
advancement progress of %advancement% (for|of|from) %player%
%player%'s advancement progress for %advancement%