[SPIGOT-3551] Unrestricted-advancements in commands.yml does not fully unrestrict advancements Created: 05/Sep/17  Updated: 06/Sep/17  Resolved: 06/Sep/17

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Seb Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: advancements, functions
Environment:

git-Spigot-65e8124-bde2a93 (MC: 1.12.1) (Implementing API version 1.12.1-R0.1-SNAPSHOT)

no plugins


Attachments: File log_Trigger.mcfunction    

 Description   

In my server's commands.yml file, "unrestricted-advancements" is set to true. As i understood it, this setting was implemented to make any command executed by an advancement bypass any permissions.

I have a custom advancement pack which works 100% on a vanilla minecraft server (no spigot/bukkit), but when I put the advancement pack on a server which only has a clean install of spigot, I get an error stating "I'm sorry, but you do not have permission to perform this command. Please contact the server administrator if you believe this is in error."

The advancement in question checks if a player has a full inventory of logs by summoning an area_effect_cloud to run a clear command in order to use the /stats command to check if the player has a full inventory of logs via scoreboards. I have attached the function in question to this post.

 

Without "unrestricted-advancements" working, the custom advancements are broken, so i've marked this as major due to their being no workaround.

 



 Comments   
Comment by md_5 [ 06/Sep/17 ]

I swear advancements and functions will be the death of me

Generated at Fri Mar 14 17:31:33 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.