Quantcast
Channel: BungeeCord Discussion
Viewing all articles
Browse latest Browse all 3776

Command Arguments

$
0
0
Hello,

I'm making a plugin, for this plugin i need to set args to the Command,

Right now i have this:

Code (text):
 public helpclass(ClassLocator This)
  {
    super("help");
  }
 
    @Override
  public void execute(CommandSender sender, String[] args)
  {
    if ((sender instanceof ProxiedPlayer))
    {
      ProxiedPlayer p = (ProxiedPlayer)sender;
      p.sendMessage();
But, how i can add Args?

Viewing all articles
Browse latest Browse all 3776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>