Add comment to config to warn customers that changing command visibility also affects command blocks
This commit is contained in:
		
							
								
								
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -5,7 +5,7 @@ | |||||||
|     <!-- A good example on why temporary names for project identification shouldn't be used --> |     <!-- A good example on why temporary names for project identification shouldn't be used --> | ||||||
|     <groupId>LibsDisguises</groupId> |     <groupId>LibsDisguises</groupId> | ||||||
|     <artifactId>LibsDisguises</artifactId> |     <artifactId>LibsDisguises</artifactId> | ||||||
|     <version>10.0.3</version> |     <version>10.0.3-SNAPSHOT</version> | ||||||
|  |  | ||||||
|     <build> |     <build> | ||||||
|         <defaultGoal>exec:java clean install</defaultGoal> |         <defaultGoal>exec:java clean install</defaultGoal> | ||||||
|   | |||||||
| @@ -80,10 +80,11 @@ public abstract class Disguise { | |||||||
|      * If set, how long before disguise expires |      * If set, how long before disguise expires | ||||||
|      */ |      */ | ||||||
|     private long disguiseExpires; |     private long disguiseExpires; | ||||||
|     @Getter |  | ||||||
|     /** |     /** | ||||||
|      * For when plugins may want to assign custom data to a disguise, such as who owns it |      * For when plugins may want to assign custom data to a disguise, such as who owns it | ||||||
|      */ private final HashMap<String, Object> customData = new HashMap<>(); |      */ | ||||||
|  |     @Getter | ||||||
|  |     private final HashMap<String, Object> customData = new HashMap<>(); | ||||||
|  |  | ||||||
|     public Disguise(DisguiseType disguiseType) { |     public Disguise(DisguiseType disguiseType) { | ||||||
|         this.disguiseType = disguiseType; |         this.disguiseType = disguiseType; | ||||||
|   | |||||||
| @@ -22,6 +22,7 @@ Permissions: | |||||||
|   # The permissions for commands are a simple 'libsdisguises.seecmd.command' where 'command' can be |   # The permissions for commands are a simple 'libsdisguises.seecmd.command' where 'command' can be | ||||||
|   # 'disguise', 'undisguise' etc. A simple 'libsdisguises.seecmd' permission may also work for children |   # 'disguise', 'undisguise' etc. A simple 'libsdisguises.seecmd' permission may also work for children | ||||||
|   # If you change this while the server is running, players may need to rejoin for it to take effect |   # If you change this while the server is running, players may need to rejoin for it to take effect | ||||||
|  |   # Remember that command blocks need 'TRUE' or 'OP' to use the commands. | ||||||
|   # TRUE = Everyone can see this, the default. Can be negated with permissions |   # TRUE = Everyone can see this, the default. Can be negated with permissions | ||||||
|   # FALSE = No one can see this without permissions to allow it |   # FALSE = No one can see this without permissions to allow it | ||||||
|   # OP = Only operators can see this |   # OP = Only operators can see this | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user