float duration = (float) args.popDouble("duration");
int amp = args.popInteger("amp", 2);
args.assertCompletelyParsed();
player.add(Effects.class).add(new EntityEffect(type, amp, duration));
player.sendMessage(ChatStyle.GREEN + "Applied effect '" + type + "' with amplitude '" + amp + "' for '" + duration + "' seconds.");
}
@CommandDescription (aliases = {"testscoreboard", "tsb"}, desc = "Not to be confused with '/scoreboard'")
@Permissible ("vanilla.command.debug")
@Filter (PlayerFilter.class)