ARK · ITEM

Code-Key
- Item
A quest item used to unlock certain locked containers and doors; obtained by completing specific missions or challenges.
Master the Code-Key faster. Join our Discord and swap configs, IDs and commands with the community. As of .
Blueprint Path
Full blueprint path
"Blueprint'/Game/Genesis/CoreBlueprints/Resources/PrimalItemResource_CodeKey.PrimalItemResource_CodeKey'"Spawn Commands
GFI Code
cheat gfi PrimalItemResource_CodeKey 1 0 0About
The Code-Key is a quest resource that functions as an unlock mechanism for designated containers and locked structures throughout the game. Admins use it to gate access to loot or areas tied to mission progression, or to hand out manually when testing or rewarding players.
It does not stack and cannot be blueprinted. Spawn it with its GFI code using the cheat command provided in the reference table.
Frequently Asked Questions
- What is the Code-Key class used for in mods or spawn tools?
- Spawn managers, loot-table editors, and RCON macros reference the Code-Key by its class
PrimalItemResource_CodeKey_Cor GFIPrimalItemResource_CodeKey. Both uniquely identify it in ARK: Survival Ascended. - What is the GFI code for the Code-Key?
- The GFI code for the Code-Key is
PrimalItemResource_CodeKey. GFI matches the item by its short blueprint name, socheat gfi PrimalItemResource_CodeKey 1 0 0is the fastest way to spawn it without typing the full blueprint path. - How do I spawn the Code-Key in ARK: Survival Ascended?
- Open the admin console and run
cheat gfi PrimalItemResource_CodeKey 1 0 0. That gives you one Code-Key instantly. The three numbers after the code are quantity, quality, and blueprint flag. Raise the first to spawn a stack, or set the last to 1 to receive it as a blueprint instead of a finished item. Verified against the current ARK: ASA build as of June 28, 2026. - When was the Code-Key data last updated?
- The Code-Key entry was last verified on GameServersCodex on June 28, 2026. We track the live ARK: ASA build, so the IDs and commands here reflect the current patch.
- Is the Code-Key blueprint path case-sensitive?
- Yes.
"Blueprint'/Game/Genesis/CoreBlueprints/Resources/PrimalItemResource_CodeKey.PrimalItemResource_CodeKey'"must be typed exactly, including capitalization and the wrapping quotes. Copy it from this page to avoid a typo that returns an empty spawn. - Which game is the Code-Key from?
- The Code-Key is from ARK: Survival Ascended. Every ID, code, and command on this page is specific to ARK: Survival Ascended and its current live build.
- What is the Code-Key?
- A quest item used to unlock certain locked containers and doors; obtained by completing specific missions or challenges.
- How do I spawn multiple Code-Key at once?
- Change the quantity argument, the first number after the code. For example
cheat gfi PrimalItemResource_CodeKey 25 0 0spawns 25 of the Code-Key. Stacks respect the item's maximum stack size. - What do the numbers in the Code-Key spawn command mean?
- In
cheat gfi PrimalItemResource_CodeKey 1 0 0, the code identifies the Code-Key, then the three numbers are quantity, quality, and blueprint flag (0 = item, 1 = blueprint). So it spawns one standard Code-Key. - Where can I copy the Code-Key spawn command?
- Use the copy buttons in the Spawn Commands and Blueprint Path sections near the top of this page. Each copies the full Code-Key command to your clipboard in one click, ready to paste into the console.
- Is the Code-Key spawn code on GameServersCodex accurate?
- Yes. The Code-Key's class name, GFI code, item ID, and blueprint path are reproduced exactly from the live game data and re-checked each patch, so you can copy them straight into your console.
- What is the blueprint path for the Code-Key?
- The full blueprint path is
"Blueprint'/Game/Genesis/CoreBlueprints/Resources/PrimalItemResource_CodeKey.PrimalItemResource_CodeKey'". Paste it into GiveItem to spawn the exact item:cheat GiveItem "Blueprint'/Game/Genesis/CoreBlueprints/Resources/PrimalItemResource_CodeKey.PrimalItemResource_CodeKey'" 1 0 0. Copy it exactly, because the path is case sensitive and must keep its wrapping quotes. - How do I open the console to spawn the Code-Key?
- On PC, press Tab to open the admin console, paste the command, and press Enter. On Xbox and PlayStation, open the pause menu and use the on-screen command bar. Then drop in the Code-Key spawn code from this page.
- What is the Code-Key used for?
- The Code-Key is a quest resource that functions as an unlock mechanism for designated containers and locked structures throughout the game. Admins use it to gate access to loot or areas tied to mission progression, or to hand out manually when testing or rewarding players.
- How do I enable admin commands to spawn the Code-Key?
- In single-player, cheats are on by default. On a dedicated or hosted server, log in as admin first with
enablecheats <AdminPassword>, then run the Code-Key spawn command. Without admin access the console rejects it. - Can I spawn the Code-Key over RCON or on a dedicated server?
- Yes. Send the same command through RCON or your control-panel console:
cheat gfi PrimalItemResource_CodeKey 1 0 0. If your tool already runs with admin context, drop the leading "cheat". It works the same on hosted, self-hosted, and RCON setups. - What's the difference between the Code-Key GFI code and its blueprint path?
- The GFI code
PrimalItemResource_CodeKeyis a short name for quick spawning; the blueprint path"Blueprint'/Game/Genesis/CoreBlueprints/Resources/PrimalItemResource_CodeKey.PrimalItemResource_CodeKey'"is the full engine reference used by GiveItem and spawn tools. Both point at the same Code-Key. - What's the Code-Key class name?
- The class name for the Code-Key is
PrimalItemResource_CodeKey_C. Class names end in_Cand identify the item's blueprint at runtime, which makes them useful for spawn tools, mods, and RCON macros. - Does the Code-Key spawn command work in single-player and multiplayer?
- Yes, the command is identical in both. Single-player has cheats enabled by default; multiplayer just requires an admin login first. The Code-Key then spawns the same way.
- Why isn't my Code-Key spawn command working?
- Check three things: admin access is enabled (
enablecheatson servers), the code is typed exactly (PrimalItemResource_CodeKey), and all three trailing numbers are present. Copyingcheat gfi PrimalItemResource_CodeKey 1 0 0directly from this page avoids the most common mistakes. - What items are related to the Code-Key?
- See the Related section at the bottom of this page for items commonly used alongside the Code-Key, or open Browse Games to explore the full ARK: Survival Ascended database.
- How do I add the Code-Key to a starter kit or loadout?
- Include
cheat gfi PrimalItemResource_CodeKey 1 0 0in your server's kit or spawn script, and set the quantity argument to hand out multiples. Pair it with other item commands from the Codex to build a full loadout. - Can I get the Code-Key without spawning it?
- Yes. The Code-Key can also be obtained through normal ARK: Survival Ascended progression. Admins usually spawn it for speed when testing, running events, or outfitting players, which is what the commands on this page are for.
- How do I spawn a higher-quality Code-Key?
- The second number is quality, where 0 is primitive and higher values roll toward ascendant.
cheat gfi PrimalItemResource_CodeKey 1 100 0attempts a top tier Code-Key. Quality only affects items that support tiers; on others it's ignored. - How do I spawn the Code-Key as a blueprint instead of a finished item?
- Set the final argument to 1:
cheat gfi PrimalItemResource_CodeKey 1 0 1. The last number is the blueprint flag, where 0 gives the crafted item and 1 gives its blueprint (for craftable items; on items with no blueprint the flag is simply ignored).