Created
December 20, 2014 15:19
-
-
Save Limeth/55862e6aff0a47138461 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Command | |
public String tell(EntityRef sender, @CommandParam(value = "target", suggester = SUGGESTER_PLAYER) EntityRef target, String message) { | |
return "sent."; | |
} | |
private class PlayerSuggester extends Suggester { | |
@Override | |
public List<EntityRef> suggest() { | |
return /*all entityrefs of players*/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment