PLUG-329: Update README.md

This commit is contained in:
md_5 2019-03-22 21:37:23 +11:00
parent a827d5fe07
commit 4a0c7cce03

View file

@ -16,7 +16,7 @@ See the [wiki](https://www.spigotmc.org/wiki/plugin-yml/) for more information.
@Dependency("Towny") @Dependency("Towny")
@LoadBefore("Towny") @LoadBefore("Towny")
@SoftDependency("EssentialsX") @SoftDependency("EssentialsX")
@Command(name = "foo", desc = "Foo command", aliases = {"foobar", "fubar"}, permission = "test.foo", permissionMessage = "You do not have permission!", usage = "/<command> [test|stop]") @Commands(@Command(name = "foo", desc = "Foo command", aliases = {"foobar", "fubar"}, permission = "test.foo", permissionMessage = "You do not have permission!", usage = "/<command> [test|stop]"))
@Permission(name = "test.foo", desc = "Allows foo command", defaultValue = PermissionDefault.OP) @Permission(name = "test.foo", desc = "Allows foo command", defaultValue = PermissionDefault.OP)
@Permission(name = "test.*", desc = "Wildcard permission", defaultValue = PermissionDefault.OP, children = {@ChildPermission(name ="test.foo")}) @Permission(name = "test.*", desc = "Wildcard permission", defaultValue = PermissionDefault.OP, children = {@ChildPermission(name ="test.foo")})
@ApiVersion(ApiVersion.Target.v1_13) @ApiVersion(ApiVersion.Target.v1_13)