@Override
	public void execute(CommandSender sender, String gateName, List<String> args) {
		this.sender = sender;
		
		this.sender = sender;
		
		if (gateName == null) {
			error("No gate given.");
			reply("Usage: /gate settoll <gatename> <amount>");
		} else if (!gateExists(gateName)) {
			reply("Gate not found: " + gateName);
		} else {
			if (plugin.getPluginManager().getEconomy() == null) {
				sender.sendMessage(ChatColor.RED + "ERROR: No economy plugin was found, so this setting has no effect.");
				return;
			}
			
			double toll = 0.00;
			
			try {
				toll = Double.parseDouble(args.get(0));
			} catch (Exception e) {
				sender.sendMessage(ChatColor.RED + "ERROR: invalid currency amount");
				return;
			}
			
			getGate(gateName).setToll(toll);
			reply("Gate " + gateName + (toll > 0 ? " now collecting " + plugin.getPluginManager().getEconomy().format(toll) + " toll." : " doesn't collect tolls"));
		}
	}