ARK · ITEM

Any Weapon Attachment
- Item
- Base Game
A generic weapon attachment item spawnable via GFI code; use it for testing attachment mechanics or filling inventory slots.
Master the Any Weapon Attachment faster. Join our Discord and swap configs, IDs and commands with the community. As of .
Blueprint Path
Full blueprint path
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/WeaponAttachments/PrimalItemWeaponAttachmentGeneric.PrimalItemWeaponAttachmentGeneric'"Spawn Commands
GFI Code
cheat gfi PrimalItemWeaponAttachmentGeneric 1 0 0About
The Any Weapon Attachment is a generic weapon attachment entity. It does not stack and cannot be blueprinted. Admins spawn it primarily for testing attachment systems or populating test inventories.
Spawn it using its GFI code with the standard syntax. The final two parameters control quantity and whether you receive the item or a blueprint; set both to 0 for a single item instance.
Frequently Asked Questions
- How do I add the Any Weapon Attachment to a starter kit or loadout?
- Include
cheat gfi PrimalItemWeaponAttachmentGeneric 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. - Where can I copy the Any Weapon Attachment spawn command?
- Use the copy buttons in the Spawn Commands and Blueprint Path sections near the top of this page. Each copies the full Any Weapon Attachment command to your clipboard in one click, ready to paste into the console.
- Is the Any Weapon Attachment a DLC item or part of the base game?
- The Any Weapon Attachment is part of the base ARK: Survival Ascended game, so no DLC or map pack is required to spawn or craft it.
- How do I spawn the Any Weapon Attachment as a blueprint instead of a finished item?
- Set the final argument to 1:
cheat gfi PrimalItemWeaponAttachmentGeneric 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). - What is the Any Weapon Attachment class used for in mods or spawn tools?
- Spawn managers, loot-table editors, and RCON macros reference the Any Weapon Attachment by its class
PrimalItemWeaponAttachmentGeneric_Cor GFIPrimalItemWeaponAttachmentGeneric. Both uniquely identify it in ARK: Survival Ascended. - How do I open the console to spawn the Any Weapon Attachment?
- 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 Any Weapon Attachment spawn code from this page.
- Does the Any Weapon Attachment 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 Any Weapon Attachment then spawns the same way.
- What items are related to the Any Weapon Attachment?
- See the Related section at the bottom of this page for items commonly used alongside the Any Weapon Attachment, or open Browse Games to explore the full ARK: Survival Ascended database.
- Why isn't my Any Weapon Attachment spawn command working?
- Check three things: admin access is enabled (
enablecheatson servers), the code is typed exactly (PrimalItemWeaponAttachmentGeneric), and all three trailing numbers are present. Copyingcheat gfi PrimalItemWeaponAttachmentGeneric 1 0 0directly from this page avoids the most common mistakes. - Which game is the Any Weapon Attachment from?
- The Any Weapon Attachment 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 Any Weapon Attachment used for?
- The Any Weapon Attachment is a generic weapon attachment entity. It does not stack and cannot be blueprinted. Admins spawn it primarily for testing attachment systems or populating test inventories.
- What's the Any Weapon Attachment class name?
- The class name for the Any Weapon Attachment is
PrimalItemWeaponAttachmentGeneric_C. Class names end in_Cand identify the item's blueprint at runtime, which makes them useful for spawn tools, mods, and RCON macros. - Can I spawn the Any Weapon Attachment over RCON or on a dedicated server?
- Yes. Send the same command through RCON or your control-panel console:
cheat gfi PrimalItemWeaponAttachmentGeneric 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. - How do I spawn multiple Any Weapon Attachment at once?
- Change the quantity argument, the first number after the code. For example
cheat gfi PrimalItemWeaponAttachmentGeneric 25 0 0spawns 25 of the Any Weapon Attachment. Stacks respect the item's maximum stack size. - What's the full blueprint path of the Any Weapon Attachment?
- The full blueprint path is
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/WeaponAttachments/PrimalItemWeaponAttachmentGeneric.PrimalItemWeaponAttachmentGeneric'". Paste it into GiveItem to spawn the exact item:cheat GiveItem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/WeaponAttachments/PrimalItemWeaponAttachmentGeneric.PrimalItemWeaponAttachmentGeneric'" 1 0 0. Copy it exactly, because the path is case sensitive and must keep its wrapping quotes. - What is the admin command to spawn the Any Weapon Attachment?
- Open the admin console and run
cheat gfi PrimalItemWeaponAttachmentGeneric 1 0 0. That gives you one Any Weapon Attachment 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. - Is the Any Weapon Attachment blueprint path case-sensitive?
- Yes.
"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/WeaponAttachments/PrimalItemWeaponAttachmentGeneric.PrimalItemWeaponAttachmentGeneric'"must be typed exactly, including capitalization and the wrapping quotes. Copy it from this page to avoid a typo that returns an empty spawn. - When was the Any Weapon Attachment data last updated?
- The Any Weapon Attachment 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.
- How do I enable admin commands to spawn the Any Weapon Attachment?
- 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 Any Weapon Attachment spawn command. Without admin access the console rejects it. - What's the Any Weapon Attachment GFI short code?
- The GFI code for the Any Weapon Attachment is
PrimalItemWeaponAttachmentGeneric. GFI matches the item by its short blueprint name, socheat gfi PrimalItemWeaponAttachmentGeneric 1 0 0is the fastest way to spawn it without typing the full blueprint path. - Can I get the Any Weapon Attachment without spawning it?
- Yes. The Any Weapon Attachment 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.
- Is the Any Weapon Attachment spawn code on GameServersCodex accurate?
- Yes. The Any Weapon Attachment'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.
- How do I spawn a higher-quality Any Weapon Attachment?
- The second number is quality, where 0 is primitive and higher values roll toward ascendant.
cheat gfi PrimalItemWeaponAttachmentGeneric 1 100 0attempts a top tier Any Weapon Attachment. Quality only affects items that support tiers; on others it's ignored. - What's the difference between the Any Weapon Attachment GFI code and its blueprint path?
- The GFI code
PrimalItemWeaponAttachmentGenericis a short name for quick spawning; the blueprint path"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/WeaponAttachments/PrimalItemWeaponAttachmentGeneric.PrimalItemWeaponAttachmentGeneric'"is the full engine reference used by GiveItem and spawn tools. Both point at the same Any Weapon Attachment. - What do the numbers in the Any Weapon Attachment spawn command mean?
- In
cheat gfi PrimalItemWeaponAttachmentGeneric 1 0 0, the code identifies the Any Weapon Attachment, then the three numbers are quantity, quality, and blueprint flag (0 = item, 1 = blueprint). So it spawns one standard Any Weapon Attachment. - What does the Any Weapon Attachment do in ARK: Survival Ascended?
- A generic weapon attachment item spawnable via GFI code; use it for testing attachment mechanics or filling inventory slots.