Compare commits
No commits in common. "263c9644b33ca7a469e8fbe04e83deb454ba063c" and "e151f8617f0c7e31a20f65c9ccc4e685c70f95c2" have entirely different histories.
263c9644b3
...
e151f8617f
4 changed files with 3 additions and 4 deletions
2
pom.xml
2
pom.xml
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>dev.hex</groupId>
|
<groupId>dev.hex</groupId>
|
||||||
<artifactId>silencer</artifactId>
|
<artifactId>silencer</artifactId>
|
||||||
<version>0.0.1</version>
|
<version>1.0.0</version>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
|
|
@ -29,7 +29,6 @@ public class Silencer extends JavaPlugin implements Listener {
|
||||||
|
|
||||||
private LiteralCommandNode<CommandSourceStack> muteCommand() {
|
private LiteralCommandNode<CommandSourceStack> muteCommand() {
|
||||||
return Commands.literal("mute")
|
return Commands.literal("mute")
|
||||||
.requires(sender -> sender.getSender().hasPermission("silencer.mute"))
|
|
||||||
.then(Commands.argument("targets", ArgumentTypes.players())
|
.then(Commands.argument("targets", ArgumentTypes.players())
|
||||||
.executes(ctx -> {
|
.executes(ctx -> {
|
||||||
final PlayerSelectorArgumentResolver targetResolver = ctx.getArgument("targets",
|
final PlayerSelectorArgumentResolver targetResolver = ctx.getArgument("targets",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
name: Silencer
|
name: Silencer
|
||||||
version: '0.0.1'
|
version: '1.0'
|
||||||
main: dev.hex.silencer.Silencer
|
main: dev.hex.silencer.Silencer
|
||||||
description: A simple mute plugin.
|
description: A simple mute plugin.
|
||||||
api-version: '1.21.4'
|
api-version: '1.21.4'
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name: Silencer
|
name: Silencer
|
||||||
author: hex
|
author: hex
|
||||||
main: dev.hex.silencer.Silencer
|
main: dev.hex.silencer.Silencer
|
||||||
version: 0.0.1
|
version: 1.0.0
|
||||||
|
|
Loading…
Reference in a new issue