Getting an online player

RealAstro

New Member
I'm creating a command and i want to know a way to give a player something with a command
/moneypouch (player) (tier) (amount)
on bukkit its Player target = Bukkit.getServer().getPlayer(args[0]);
i would like to know if it's similar to it
 

RealAstro

New Member
UPDATE:
For anyone that's looking for the answer it's
Player target = this.plugin.getServer().getPlayer(args[1]);
Took a while to find it
 
Top