-
Notifications
You must be signed in to change notification settings - Fork 5
nation_placeholders
-
<arg>
- A required parameter -
[arg]
- An optional parameter -
<arg1|arg2>
- Multiple parameters options -
<arg=value>
- Default or suggested value -
[-f flag]
- A optional command argument flag
For placeholders {getLand}
For filters #getLand>30
Use round brackets for arguments #myFunction(123)
Days since joining the alliance
This command has no arguments
Permission:
Milliseconds since joining the alliance
This command has no arguments
Permission:
This command is public
Sum of all attrition bounties placed on them
This command has no arguments
This command is public
Decimal pct of days they login
This command has no arguments
This command is public
Decimal pct of turns they login
This command has no arguments
This command is public
Decimal pct of days they login in the past week
This command has no arguments
This command is public
Can be declared on by a nation of score
Arguments:
<score>
- double
A decimal number
This command is public
Can be spied by a nation of score
Arguments:
<score>
- double
A decimal number
This command is public
Can declare war on a nation of score
Arguments:
<score>
- double
A decimal number
This command is public
Can perform a spy attack against a nation of score
Arguments:
<score>
- double
A decimal number
Sheet lookup
Arguments:
<sheet>
- SpreadSheet
A google spreadsheet id or url For shorthand, use a comma when specifying the sheet tab e.g.
sheet:ID,TAB_NAME
For a url, append#gid=1234
or#tab=tabName
to specify the id of the tab to use
<tabName>
- String
A single line of text
<columnSearch>
- String
<columnOutput>
- String
<search>
- String
Permission:
This command is public
Renamed to cityurl
Arguments:
<index>
- int
A whole number
This command is public
Get the city url by index
Arguments:
<index>
- int
A whole number
If on the correct MMR for their alliance (if one is set)
This command has no arguments
Permission:
This command is public
Number of wars matching a filter
Arguments:
<warFilter>
- Predicate<DBWar>
This command is public
Days since the last three consecutive daily logins
This command has no arguments
This command is public
Days since the last four consecutive daily logins
This command has no arguments
This command is public
Days since the last five consecutive daily logins
This command has no arguments
This command is public
Days since the last six consecutive daily logins
This command has no arguments
This command is public
Days since the last seven consecutive daily logins
This command has no arguments
This command is public
Days since last specified consecutive daily logins
Arguments:
<checkPastXDays>
- long
A whole number
<sequentialDays>
- int
This command is public
Days since last aircraft purchase
This command has no arguments
This command is public
Days since last bank deposit
This command has no arguments
This command is public
Days since last defensive war
This command has no arguments
This command is public
Days since last missile purchase
This command has no arguments
This command is public
Days since last ship purchase
This command has no arguments
This command is public
Days since their last offensive war
This command has no arguments
This command is public
Days since last ship purchase
This command has no arguments
This command is public
Days since last soldier purchase
This command has no arguments
This command is public
Days since last spy purchase
This command has no arguments
This command is public
Days since last tank purchase
This command has no arguments
This command is public
Days since last war
This command has no arguments
The alliance tax rate necessary to break even when distributing raw resources
This command has no arguments
Permission:
This command is public
Estimated daily Gross National Income (GNI)
This command has no arguments
This command is public
Minutes since last active in-game
This command has no arguments
This command is public
Days since creation
This command has no arguments
This command is public
Number of aircraft
This command has no arguments
This command is public
Decimal ratio of aircraft a nation has out of their maximum (between 0 and 1)
This command has no arguments
All time defensive wars involved in
This command has no arguments
Permission:
No description provided
This command has no arguments
Permission:
All time offensive wars involved in
This command has no arguments
Permission:
All time wars involved in
This command has no arguments
Permission:
Net nation deposits with their alliance guild
This command has no arguments
Permission:
Net nation deposits with their alliance guild divided by their city count
This command has no arguments
Permission:
This command is public
Alliance Name
This command has no arguments
This command is public
Globally unique id of the position in the alliance
This command has no arguments
This command is public
Alliance rank by score
Arguments:
[filter]
- NationFilter
A comma separated list of filters (can include nations and alliances)
This command is public
Game url for alliance
This command has no arguments
This command is public
Alliance ID
This command has no arguments
This command is public
Get the number of active offensive wars with a list of nations
Arguments:
<nations>
- Set<DBNation>
A comma separated list of nations, alliances and filters
This command is public
Get number of barracks Shorthand for getAvgBuilding(barracks)
This command has no arguments
This command is public
Get number of buildings
Arguments:
<building>
- Building
A city building type
This command is public
Number of buildings per city
Arguments:
[buildings]
- Set<Building>
A comma separated list of building types
This command is public
Get number of drydocks Shorthand for getAvgBuilding(drydock)
This command has no arguments
This command is public
Get number of factories Shorthand for getAvgBuilding(factory)
This command has no arguments
This command is public
Get number of hangars Shorthand for getAvgBuilding(hangar)
This command has no arguments
This command is public
Average land per city
This command has no arguments
This command is public
average infrastructure in cities
This command has no arguments
This command is public
The absolute turn of leaving beige
This command has no arguments
Total stockpile value based on last war loss or espionage
This command has no arguments
Permission:
This command is public
Game turns left on the beige color bloc
This command has no arguments
This command is public
List of nation ids which are blockading this nation with their navy ships in-game
This command has no arguments
This command is public
List of nation ids whuch are blockaded by this nation's navy ships in-game
This command has no arguments
This command is public
Get a map of each war type to the total value of bounties for that type that this nation has
This command has no arguments
This command is public
Number of buildings total
Arguments:
[buildings]
- Set<Building>
A comma separated list of building types
This command is public
Number of built cities
This command has no arguments
This command is public
Number of cities at a date
Arguments:
<time>
- long[Timestamp]
A unix timestamp, a DMY date or a time difference that will resolve to a timestamp from the current date
This command is public
Number of cities built since date
Arguments:
<time>
- long[Timestamp]
A unix timestamp, a DMY date or a time difference that will resolve to a timestamp from the current date
This command is public
Cost of cities built since a date divided by the current city count
Arguments:
<time>
- long[Timestamp]
A unix timestamp, a DMY date or a time difference that will resolve to a timestamp from the current date
<allowProjects>
- boolean
This command is public
Cost of cities built since a date
Arguments:
<time>
- long[Timestamp]
A unix timestamp, a DMY date or a time difference that will resolve to a timestamp from the current date
<allowProjects>
- boolean
This command is public
Get the min city count of the first matching city range c1-10, c11-15
Arguments:
<ranges>
- CityRanges
A range of city counts (inclusive)
This command is public
Absolute turn the city time ends before being able to buy a city
This command has no arguments
This command is public
Turns left on the city timer
This command has no arguments
This command is public
Nation color bloc
This command has no arguments
This command is public
The absolute turn the color change timer expires
This command has no arguments
This command is public
The number of turns until the color timer expires
This command has no arguments
This command is public
Continent
This command has no arguments
This command is public
Unix timestamp of date created
This command has no arguments
This command is public
Days since a nation posted a spy report
This command has no arguments
This command is public
The turn of the day (0-11) when their day change (DC) unit rebuy is available
This command has no arguments
This command is public
Number of active defensive wars
This command has no arguments
This command is public
Get the number of active defensive wars with a list of nations
Arguments:
<nations>
- Set<DBNation>
A comma separated list of nations, alliances and filters
This command is public
Domestic policy
This command has no arguments
This command is public
The absolute turn the domestic policy change timer expires
This command has no arguments
This command is public
The number of turns until the domestic policy timer expires
This command has no arguments
This command is public
Set of nation ids fighting this nation
This command has no arguments
This command is public
Estimated combined strength of the enemies its fighting
This command has no arguments
This command is public
Absolute turn number when entering Vacation Mode (VM)
This command has no arguments
This command is public
Absolute turn when full espionage slots will reset
This command has no arguments
This command is public
Get the number of active wars with a list of nations
Arguments:
<nations>
- Set<DBNation>
A comma separated list of nations, alliances and filters
This command is public
Get total free building slots in this nations cities
This command has no arguments
This command is public
Free offensive war slots
This command has no arguments
This command is public
Number of free project slots
This command has no arguments
This command is public
Their gross income (GNI)
This command has no arguments
This command is public
Effective ground strength with munitions, enemy air control, and daily rebuy
Arguments:
<munitions>
- boolean
<enemyAc>
- boolean
[includeRebuy]
- Double
A decimal number
This command is public
The nation id
This command has no arguments
This command is public
Total infra in all cities
This command has no arguments
Get unix timestamp of when a unit was purchased last
Arguments:
<unit>
- MilitaryUnit
Military unit name
Permission:
This command is public
Leader name
This command has no arguments
This command is public
Absolute turn number when leaving Vacation Mode (VM)
This command has no arguments
This command is public
No description provided
This command has no arguments
This command is public
Average military unit building capacity (unit mmr) in all cities as a whole number soldiers tanks aircraft ships Maximum is: 5553
This command has no arguments
This command is public
Array of the average military buildings (building mmr) in all cities as a decimal [barracks, factories, hangars, drydocks] e.g. [5.0,5.0,5.0,3.0]
This command has no arguments
This command is public
The average military buildings (building mmr) in all cities as a whole number barracks factories hangars drydocks Maximum is: 5553
This command has no arguments
This command is public
Maximum offensive war slots
This command has no arguments
This command is public
Number of missiles
This command has no arguments
Total money looted
This command has no arguments
Permission:
This command is public
The nation name
This command has no arguments
This command is public
Nation Name
This command has no arguments
This command is public
Game url for nation
This command has no arguments
This command is public
Nation ID
This command has no arguments
This command is public
Number of nations
This command has no arguments
This command is public
Number of nuclear weapons (nukes)
This command has no arguments
This command is public
Number of defensive wars since date
Arguments:
<date>
- long
A whole number
This command is public
Number of offensive wars since date
Arguments:
<date>
- long
A whole number
This command is public
Number of built projects
This command has no arguments
This command is public
No description provided
This command has no arguments
This command is public
Number of active offensive and defensive wars
This command has no arguments
This command is public
All time wars against active nations
This command has no arguments
This command is public
Number of offensive and defensive wars since date
Arguments:
<date>
- long
A whole number
This command is public
Number of active offensive wars
This command has no arguments
This command is public
Total offensive espionage spy slots
This command has no arguments
This command is public
Discord online status
This command has no arguments
This command is public
Total population in all cities
This command has no arguments
This command is public
Raw positional value (0 = remove, 1 = app, 2 = member, 3 = officer 4 = heir, 5 = leader)
This command has no arguments
This command is public
Alliance position enum id 0 = None or Removed 1 = Applicant 2 = Member 3 = Officer 4 = Heir 5 = Leader
This command has no arguments
This command is public
Alliance unique id of the position level As shown in the position edit page
This command has no arguments
This command is public
Turn epoch when project timer expires
This command has no arguments
This command is public
The projects built as a bitmask
This command has no arguments
This command is public
Turns left on the project timer before being able to buy a project
This command has no arguments
Set of projects this nation has
This command has no arguments
Permission:
This command is public
The radiation level of the nation
This command has no arguments
This command is public
Relative strength compared to enemies its fighting (1 = equal)
This command has no arguments
This command is public
Gets a resource amount from a map of resources
Arguments:
<resources>
- Map<ResourceType, Double>
A comma separated list of resources and their amounts
<resource>
- ResourceType
The name of a resource
This command is public
Gets the total resource value for a map of resources
Arguments:
<resources>
- Map<ResourceType, Double>
A comma separated list of resources and their amounts
This command is public
Daily revenue value of nation
This command has no arguments
This command is public
Nation Score (ns)
This command has no arguments
This command is public
Decimal ratio of ships a nation has out of their maximum (between 0 and 1)
This command has no arguments
This command is public
Number of navy ships
This command has no arguments
This command is public
Decimal ratio of soldiers a nation has out of their maximum (between 0 and 1)
This command has no arguments
This command is public
Number of soldiers
This command has no arguments
This command is public
Most recent spy count
This command has no arguments
This command is public
Maximum spies a nation can have
This command has no arguments
This command is public
How many spy reports they have posted today
This command has no arguments
This command is public
Military strength (1 plane = 1)
This command has no arguments
This command is public
Effective strength of the strongest nation this nation is fighting
This command has no arguments
This command is public
Get the effective military strength of the strongegst nation within the provided score range
Arguments:
<minScore>
- double
A decimal number
<maxScore>
- double
This command is public
Relative strength of the strongest nation this nation is fighting (1 = equal)
This command has no arguments
This command is public
Effective strength of the strongest nation this nation is attacking (offensive war)
Arguments:
<minScore>
- double
A decimal number
<maxScore>
- double
This command is public
Decimal ratio of tanks a nation has out of their maximum (between 0 and 1)
This command has no arguments
This command is public
Number of tanks
This command has no arguments
This command is public
ID of their in-game tax rate bracket
This command has no arguments
This command is public
Total land in their cities
This command has no arguments
This command is public
Treasure bonus decimal percent
This command has no arguments
This command is public
No description provided
This command has no arguments
This command is public
Turns remaining until their day change (DC)
This command has no arguments
Get units at a specific date
Arguments:
<unit>
- MilitaryUnit
Military unit name
<date>
- long
A whole number
Permission:
This command is public
Age of discord account in days
This command has no arguments
This command is public
Age of discord account in milliseconds
This command has no arguments
This command is public
The registered discord username and user discriminator
This command has no arguments
This command is public
The registered discord user id
This command has no arguments
This command is public
The registered discord user mention (or null)
This command has no arguments
This command is public
Number of turns since entering Vacation Mode (VM)
This command has no arguments
This command is public
Number of turns in Vacation Mode (VM)
This command has no arguments
This command is public
War policy
This command has no arguments
This command is public
The absolute turn the war policy change timer expires
This command has no arguments
This command is public
The number of turns until the war policy timer expires
This command has no arguments
This command is public
Total wars lost
This command has no arguments
This command is public
Total wars won
This command has no arguments
This command is public
Check if the nation has all permissions
Arguments:
<permissions>
- Set<AlliancePermission>
A comma separated list of In-game permission in an alliance
This command is public
Check if the nation has any permissions
Arguments:
<permissions>
- Set<AlliancePermission>
A comma separated list of In-game permission in an alliance
This command is public
purchased aircraft today
This command has no arguments
This command is public
purchased missiles today
This command has no arguments
This command is public
purchased nuclear weapons today
This command has no arguments
This command is public
purchased ships today
This command has no arguments
This command is public
purchased soldiers today
This command has no arguments
This command is public
purchased spies today
This command has no arguments
This command is public
purchased tanks today
This command has no arguments
This command is public
Has any bounties placed on them to defeat them in war or detonate a nuke
This command has no arguments
This command is public
Has any bounties placed on them to detonate a nuke
This command has no arguments
This command is public
Check if the nation has a permissions
Arguments:
<permission>
- AlliancePermission
In-game permission in an alliance
This command is public
If this nation has a previous ban attached to their nation or discord id
This command has no arguments
This command is public
If the nation has a project
Arguments:
<project>
- Project
A project name. Replace spaces with
_
. See: https://politicsandwar.com/nation/projects/
This command is public
If the nation has all of the specified projects
Arguments:
<projects>
- Set<Project>
A comma separated list of nation projects
[any]
- boolean
This command is public
If the nation has the treasure
This command has no arguments
This command is public
If there is remaining purchase for a unit today
Arguments:
<unit>
- MilitaryUnit
Military unit name
This command is public
If they have undefined military values
This command has no arguments
This command is public
Has any bounties placed on them to defeat them in war
This command has no arguments
This command is public
The modifier for infra damage
Arguments:
<type>
- AttackType
An attack type
This command is public
The modifier for infra damage
Arguments:
<type>
- AttackType
An attack type
This command is public
If nation color matches the alliance color
This command has no arguments
This command is public
If this nation has an offensive war against an enemy in the provided city range
Arguments:
<minCities>
- double
A decimal number
<maxCities>
- double
This command is public
If this nation has an offensive war against an enemy in the provided score range
Arguments:
<minScore>
- double
A decimal number
<maxScore>
- double
This command is public
If this nation has a ban attached to their nation or discord id that has not expired
This command has no arguments
This command is public
If nation color is beige
This command has no arguments
This command is public
Whether their war policy is blitzkrieg and within the first 12 turns of switching to it
This command has no arguments
This command is public
If blockaded by navy ships in-game
This command has no arguments
This command is public
If blockading a nation in-game with navy ships
This command has no arguments
This command is public
If this nation has a defensive war from an enemy in the provided city range
Arguments:
<minCities>
- double
A decimal number
<maxCities>
- double
This command is public
If this nation is in the enemies coalition
This command has no arguments
This command is public
If there are remaining espionage slots
This command has no arguments
This command is public
If espionage slots are full
This command has no arguments
This command is public
If fighting a war against another active nation
This command has no arguments
This command is public
If this nation has an war with an enemy in the provided city range
Arguments:
<minCities>
- double
A decimal number
<maxCities>
- double
This command is public
If this nation has a war with an enemy in the provided score range
Arguments:
<minScore>
- double
A decimal number
<maxScore>
- double
This command is public
If nation color is gray
This command has no arguments
This command is public
If this nation is in a nation list
Arguments:
<nations>
- Set<DBNation>
A comma separated list of nations, alliances and filters
This command is public
If in the discord guild for their alliance
This command has no arguments
This command is public
If in the milcom discord guild for their alliance
This command has no arguments
This command is public
If a specified nation is within this nations espionage range
Arguments:
<other>
- DBNation
nation id, name or url
This command is public
If this nation is in war declare range of the current attacking nation
This command has no arguments
This command is public
If online ingame or discord
This command has no arguments
This command is public
Are any cities powered
This command has no arguments
This command is public
Returns self nation ID if the nation is a reroll, otherwise 0
This command has no arguments
This command is public
If the nation is taxable
This command has no arguments
This command is public
If registered with Locutus
This command has no arguments
This command is public
Unix timestamp when last deposited in a bank
This command has no arguments
This command is public
Decimal pct of times they login during UTC daychange
This command has no arguments
This command is public
The modifier for loot given when they are defeated in war
This command has no arguments
This command is public
Estimated loot value including aliance bank loot when defeated in a raid war based on last war loss or espionage
This command has no arguments
This command is public
The modifier for loot given when they defeat an enemy in war
Arguments:
<isGround>
- boolean
This command is public
If this nation is not daily active and lost their most recent war
This command has no arguments
This command is public
Maximum total bounty placed on them of any type
This command has no arguments
This command is public
The infra level of their highest city
This command has no arguments
This command is public
Maximum total bounty placed on them of any war type
This command has no arguments
This command is public
Total monetary value of military units
This command has no arguments
This command is public
Minimum resistance of self in current active wars
This command has no arguments
This command is public
Minimum resistance of self in current active wars, assuming the enemy translates their MAP into ground/naval with guaranteed IT
This command has no arguments
This command is public
Sum of all nuke bounties placed on them
This command has no arguments
This command is public
Sum of all ordinary bounties placed on them
This command has no arguments
This command is public
Total project slots (used + unused)
This command has no arguments
This command is public
Sum of all raid bounties placed on them
This command has no arguments
This command is public
How many days the treasure is in said nation
This command has no arguments