package com.earth2me.essentials.commands; import org.bukkit.Server; import com.earth2me.essentials.User; public class Commandtpohere extends EssentialsCommand { public Commandtpohere() { super("tpohere"); } @Override public void run(Server server, User user, String commandLabel, String[] args) throws Exception { if (args.length < 1) { throw new NotEnoughArgumentsException(); } //Just basically the old tphere command User p = getPlayer(server, args, 0); charge(user); p.getTeleport().now(user); user.sendMessage("ยง7Teleporting..."); } }