EU4 test_neighbour Console Command

Documentation and detailed help with working examples.
test_neighbour Command
PlayerDLC: None

This command will tell you if the specified country is a neighbor to your country.

test_neighbour [Country Tag]


The tag of the country you want to check.


Here are examples of how to use test_neighbour.

test_neighbour LIG

This command tell you whether Ligor is your neighbor.

test_neighbour BDA

This command will you whether Baroda is your neighbor.

Looking for EU4 console commands?

Search our complete list!

Quick Overview

The test_neighbour command in Europa Universalis IV is used to check if the target country (identified by their unique tag) is considered a neighboring country to your own.

This can be useful for determining potential allies or enemies, as well as for planning strategic maneuvers.

In-Depth Description

The test_neighbour command is a developer diagnostic tool in Europa Universalis IV (EU4). When you input this command, followed by a specific country tag, it will test and show if that country is considered a neighbor to your own selected country.

In EU4, certain actions such as declaring war, creating alliances, or establishing trade agreements most often require the target nation to be a direct neighbor to your nation. Therefore, understanding whether a potentially targetable nation is considered a 'neighbor' according to the game's mechanics is vital.

How to Open the Command Console

In EU4, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .