[SPIGOT-2939] children value of op or not-op in permissions.yml throws error Created: 20/Dec/16  Updated: 20/Dec/16  Resolved: 20/Dec/16

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

Type: Bug Priority: Major
Reporter: Dale Perkins Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: 1.11, error

Attachments: Text File latest.log     File permissions.yml    
Plugin: none

 Description   

Source: http://wiki.bukkit.org/Permissions.yml
"The value set for each child node will apply whenever the parent-node is called. The four values that can be set are: true, false, op, and not-op."

Having a child value of op or not-op causes an error.

I have attached the permissions.yml and the error log.



 Comments   
Comment by md_5 [ 20/Dec/16 ]

Incorrect documentation on a website which is a wiki and not ours. Children have only ever accepted values of true or false.

This is even in the API so can't be changed:

public Map<String, Boolean> getChildren()
Generated at Tue Apr 15 09:41:59 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.