Package me.lucyy.squirtgun.bungee
Class BungeeNodeExecutor
java.lang.Object
net.md_5.bungee.api.plugin.Command
me.lucyy.squirtgun.bungee.BungeeNodeExecutor
- All Implemented Interfaces:
net.md_5.bungee.api.plugin.TabExecutor
public class BungeeNodeExecutor
extends net.md_5.bungee.api.plugin.Command
implements net.md_5.bungee.api.plugin.TabExecutor
Wraps a
CommandNode so it can be executed by a BungeeCord proxy.-
Constructor Summary
ConstructorsConstructorDescriptionBungeeNodeExecutor(me.lucyy.squirtgun.command.node.CommandNode<me.lucyy.squirtgun.platform.audience.PermissionHolder> node, me.lucyy.squirtgun.format.FormatProvider formatter, BungeePlatform platform) -
Method Summary
Methods inherited from class net.md_5.bungee.api.plugin.Command
canEqual, equals, getAliases, getName, getPermission, getPermissionMessage, hashCode, hasPermission, setPermissionMessage, toString
-
Constructor Details
-
BungeeNodeExecutor
public BungeeNodeExecutor(me.lucyy.squirtgun.command.node.CommandNode<me.lucyy.squirtgun.platform.audience.PermissionHolder> node, me.lucyy.squirtgun.format.FormatProvider formatter, BungeePlatform platform)- Parameters:
node- the root command node to executeformatter- the command sender to pass to the contextplatform- the platform that this node belongs to
-
-
Method Details
-
execute
- Specified by:
executein classnet.md_5.bungee.api.plugin.Command
-
onTabComplete
- Specified by:
onTabCompletein interfacenet.md_5.bungee.api.plugin.TabExecutor
-