mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-31 01:23:44 +01:00 
			
		
		
		
	Permission cleanup
This commit is contained in:
		| @@ -210,7 +210,7 @@ permissions: | |||||||
|     default: false |     default: false | ||||||
|   plots.admin.entry.forcefield: |   plots.admin.entry.forcefield: | ||||||
|     default: false |     default: false | ||||||
|   plots.admin.command.chat: |   plots.admin.command.chatspy: | ||||||
|     default: false |     default: false | ||||||
|   plots.admin.caps.other: |   plots.admin.caps.other: | ||||||
|     default: false |     default: false | ||||||
| @@ -236,8 +236,6 @@ permissions: | |||||||
|     default: false |     default: false | ||||||
|   plots.admin.build.heightlimit: |   plots.admin.build.heightlimit: | ||||||
|     default: false |     default: false | ||||||
|   plots.admin.command.update: |  | ||||||
|     default: false |  | ||||||
|   plots.admin.command.rate: |   plots.admin.command.rate: | ||||||
|     default: false |     default: false | ||||||
|   plots.admin.command.trust: |   plots.admin.command.trust: | ||||||
|   | |||||||
| @@ -31,7 +31,7 @@ import com.plotsquared.core.player.PlotPlayer; | |||||||
| import com.plotsquared.core.util.task.TaskManager; | import com.plotsquared.core.util.task.TaskManager; | ||||||
|  |  | ||||||
| @CommandDeclaration(command = "confirm", | @CommandDeclaration(command = "confirm", | ||||||
|     permission = "plots.use", |     permission = "plots.confirm", | ||||||
|     category = CommandCategory.INFO) |     category = CommandCategory.INFO) | ||||||
| public class Confirm extends SubCommand { | public class Confirm extends SubCommand { | ||||||
|  |  | ||||||
|   | |||||||
| @@ -44,7 +44,7 @@ public class Toggle extends Command { | |||||||
|  |  | ||||||
|     @CommandDeclaration(command = "chatspy", |     @CommandDeclaration(command = "chatspy", | ||||||
|         aliases = {"spy"}, |         aliases = {"spy"}, | ||||||
|         permission = "plots.admin.command.chat") |         permission = "plots.admin.command.chatspy") | ||||||
|     public void chatspy(Command command, PlotPlayer<?> player, String[] args, |     public void chatspy(Command command, PlotPlayer<?> player, String[] args, | ||||||
|         RunnableVal3<Command, Runnable, Runnable> confirm, |         RunnableVal3<Command, Runnable, Runnable> confirm, | ||||||
|         RunnableVal2<Command, CommandResult> whenDone) { |         RunnableVal2<Command, CommandResult> whenDone) { | ||||||
|   | |||||||
| @@ -49,7 +49,7 @@ public enum Permission { | |||||||
|     PERMISSION_ADMIN_ENTRY_DENIED("plots.admin.entry.denied"), |     PERMISSION_ADMIN_ENTRY_DENIED("plots.admin.entry.denied"), | ||||||
|     PERMISSION_ADMIN_VISIT_UNTRUSTED("plots.admin.visit.untrusted"), |     PERMISSION_ADMIN_VISIT_UNTRUSTED("plots.admin.visit.untrusted"), | ||||||
|     PERMISSION_ADMIN_ENTRY_FORCEFIELD("plots.admin.entry.forcefield"), |     PERMISSION_ADMIN_ENTRY_FORCEFIELD("plots.admin.entry.forcefield"), | ||||||
|     PERMISSION_COMMANDS_CHAT("plots.admin.command.chat"), |     PERMISSION_ADMIN_COMMANDS_CHATSPY("plots.admin.command.chatspy"), | ||||||
|     PERMISSION_MERGE_OTHER("plots.merge.other"), |     PERMISSION_MERGE_OTHER("plots.merge.other"), | ||||||
|     PERMISSION_MERGE_KEEP_ROAD("plots.merge.keeproad"), |     PERMISSION_MERGE_KEEP_ROAD("plots.merge.keeproad"), | ||||||
|     PERMISSION_ADMIN_CAPS_OTHER("plots.admin.caps.other"), |     PERMISSION_ADMIN_CAPS_OTHER("plots.admin.caps.other"), | ||||||
| @@ -64,7 +64,6 @@ public enum Permission { | |||||||
|     PERMISSION_ADMIN_INTERACT_UNOWNED("plots.admin.interact.unowned"), |     PERMISSION_ADMIN_INTERACT_UNOWNED("plots.admin.interact.unowned"), | ||||||
|     PERMISSION_ADMIN_INTERACT_OTHER("plots.admin.interact.other"), |     PERMISSION_ADMIN_INTERACT_OTHER("plots.admin.interact.other"), | ||||||
|     PERMISSION_ADMIN_BUILD_HEIGHT_LIMIT("plots.admin.build.heightlimit"), |     PERMISSION_ADMIN_BUILD_HEIGHT_LIMIT("plots.admin.build.heightlimit"), | ||||||
|     PERMISSION_ADMIN_UPDATE("plots.admin.command.update"), |  | ||||||
|     PERMISSION_ADMIN_COMMAND_RATE("plots.admin.command.rate"), |     PERMISSION_ADMIN_COMMAND_RATE("plots.admin.command.rate"), | ||||||
|     PERMISSION_ADMIN_COMMAND_TRUST("plots.admin.command.trust"), |     PERMISSION_ADMIN_COMMAND_TRUST("plots.admin.command.trust"), | ||||||
|     PERMISSION_TRUST_EVERYONE("plots.trust.everyone"), |     PERMISSION_TRUST_EVERYONE("plots.trust.everyone"), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 N0tMyFaultOG
					N0tMyFaultOG