Skip to main content
Version: 5.11.4

CountryCode

Description

CountryCode is an enum value used to register a country code in the BACKND SDK.
With a country code, users and guilds can search by filtering each code in the console.
BACKND provides country codes of 196 countries.

To use CountryCode, add the following syntax to the top of the script:

using BackEnd.GlobalSupport;

CountryCode values are as follows.

Country name(English)Country code(ISO 3166-1 alpha-2)
GhanaGH
GabonGA
GuyanaGY
GambiaGM
GuatemalaGT
GrenadaGD
GreeceGR
GuineaGN
Guinea-BissauGW
NamibiaNA
NauruNR
NigeriaNG
South SudanSS
South AfricaZA
NetherlandsNL
NepalNP
NorwayNO
New ZealandNZ
NigerNE
NicaraguaNI
Korea, Republic ofKR
DenmarkDK
DominicaDM
Dominican RepublicDO
GermanyDE
Timor-LesteTL
Lao People's Democratic RepublicLA
LiberiaLR
LatviaLV
Russian FederationRU
LebanonLB
LesothoLS
RomaniaRO
LuxembourgLU
RwandaRW
LibyaLY
LithuaniaLT
LiechtensteinLI
MadagascarMG
Marshall IslandsMH
MalawiMW
MalaysiaMY
MaliML
MexicoMX
MonacoMC
MoroccoMA
MauritiusMU
MauritaniaMR
MozambiqueMZ
MontenegroME
Moldova, Republic ofMD
MaldivesMV
MaltaMT
MongoliaMN
United States of AmericaUS
MyanmarMM
Micronesia(Federated States of)FM
VanuatuVU
BahrainBH
BarbadosBB
Holy SeeVA
BahamasBS
BangladeshBD
BeninBJ
Venezuela(Bolivarian Republic of)VE
Viet NamVN
BelgiumBE
BelarusBY
BelizeBZ
Bosnia and HerzegovinaBA
BotswanaBW
Bolivia(Plurinational State of)BO
BurundiBI
Burkina FasoBF
BhutanBT
North MacedoniaMK
BulgariaBG
BrazilBR
Brunei DarussalamBN
SamoaWS
Saudi ArabiaSA
San MarinoSM
Sao Tome and PrincipeST
SenegalSN
SerbiaRS
SeychellesSC
Saint LuciaLC
Saint Vincent and the GrenadinesVC
Saint Kitts and NevisKN
SomaliaSO
Solomon IslandsSB
SudanSD
SurinameSR
Sri LankaLK
SwedenSE
SwitzerlandCH
SpainES
SlovakiaSK
SloveniaSI
Syrian Arab RepublicSY
Sierra LeoneSL
SingaporeSG
United Arab EmiratesAE
ArmeniaAM
ArgentinaAR
IcelandIS
HaitiHT
IrelandIE
AzerbaijanAZ
AfghanistanAF
AndorraAD
AlbaniaAL
AlgeriaDZ
AngolaAO
Antigua and BarbudaAG
EritreaER
EswatiniSZ
EstoniaEE
EcuadorEC
EthiopiaET
El SalvadorSV
United Kingdom of Great Britain and Northern IrelandGB
YemenYE
OmanOM
AustraliaAU
AustriaAT
HondurasHN
JordanJO
UgandaUG
UruguayUY
UzbekistanUZ
UkraineUA
IraqIQ
Iran(Islamic Republic of)IR
IsraelIL
EgyptEG
ItalyIT
IndiaIN
IndonesiaID
JapanJP
JamaicaJM
ZambiaZM
Equatorial GuineaGQ
Korea(Democratic People's Republic of)KP
GeorgiaGE
ChinaCN
Central African RepublicCF
DjiboutiDJ
ZimbabweZW
ChadTD
CzechiaCZ
ChileCL
CameroonCM
Cabo VerdeCV
KazakhstanKZ
QatarQA
CambodiaKH
CanadaCA
KenyaKE
ComorosKM
Costa RicaCR
C?te d'IvoireCI
ColombiaCO
CongoCG
Congo, Democratic Republic of theCD
CubaCU
KuwaitKW
CroatiaHR
KyrgyzstanKG
KiribatiKI
CyprusCY
Taiwan, Province of ChinaTW
TajikistanTJ
Tanzania, United Republic ofTZ
ThailandTH
TurkeyTR
TogoTG
TongaTO
TurkmenistanTM
TuvaluTV
TunisiaTN
Trinidad and TobagoTT
PanamaPA
ParaguayPY
PakistanPK
Papua New GuineaPG
PalauPW
Palestine, State ofPS
PeruPE
PortugalPT
PolandPL
FranceFR
FijiFJ
FinlandFI
PhilippinesPH
HungaryHU