Class TempBanIpCommand
java.lang.Object
dev.booky.cloudutilities.bukkit.commands.AbstractCommand
dev.booky.cloudutilities.bukkit.commands.TempBanIpCommand
-
Field Summary
Fields inherited from class dev.booky.cloudutilities.bukkit.commands.AbstractCommand
COMMAND_PERMISSION_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> intexecute(io.papermc.paper.command.brigadier.CommandSourceStack source, InetAddress address, Duration duration, @Nullable net.kyori.adventure.text.Component reason) Methods inherited from class dev.booky.cloudutilities.bukkit.commands.AbstractCommand
getAliases, getLabel, getPermission, getPermission, getPermission, register
-
Constructor Details
-
TempBanIpCommand
@Inject public TempBanIpCommand()
-
-
Method Details
-
buildNode
protected com.mojang.brigadier.tree.LiteralCommandNode<io.papermc.paper.command.brigadier.CommandSourceStack> buildNode()- Specified by:
buildNodein classAbstractCommand
-
execute
public int execute(io.papermc.paper.command.brigadier.CommandSourceStack source, InetAddress address, Duration duration, @Nullable net.kyori.adventure.text.Component reason) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-