Skip to main content

ARK · ITEM

ARK: Survival Ascended Any Gun item

Any Gun

  • Item
  • Base Game

A generic gun weapon item used as a placeholder or fallback in server configurations, spawnable via GFI code.

Running the Any Gun on your server? Hop into our Discord and get a hand from admins who use it every day. Live as of .

Blueprint Path

Full blueprint path

"Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemWeaponGenericGun.PrimalItemWeaponGenericGun'"

Spawn Commands

GFI Code

cheat gfi PrimalItemWeaponGenericGun 1 0 0

About

The Any Gun is a generic firearm weapon class that serves as a catch-all or default gun entity in ARK's item system. It does not stack and cannot be crafted from a blueprint.

Admins encounter this item primarily in command sequences or when troubleshooting weapon-related configurations. Spawn it using its GFI code if you need to test weapon mechanics or fill a gap in a custom loadout setup.

Frequently Asked Questions

Can I spawn the Any Gun over RCON or on a dedicated server?
Yes. Send the same command through RCON or your control-panel console: cheat gfi PrimalItemWeaponGenericGun 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 a higher-quality Any Gun?
The second number is quality, where 0 is primitive and higher values roll toward ascendant. cheat gfi PrimalItemWeaponGenericGun 1 100 0 attempts a top tier Any Gun. Quality only affects items that support tiers; on others it's ignored.
What's the difference between the Any Gun GFI code and its blueprint path?
The GFI code PrimalItemWeaponGenericGun is a short name for quick spawning; the blueprint path "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemWeaponGenericGun.PrimalItemWeaponGenericGun'" is the full engine reference used by GiveItem and spawn tools. Both point at the same Any Gun.
What is the admin command to spawn the Any Gun?
Open the admin console and run cheat gfi PrimalItemWeaponGenericGun 1 0 0. That gives you one Any Gun 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 Gun blueprint path case-sensitive?
Yes. "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemWeaponGenericGun.PrimalItemWeaponGenericGun'" must be typed exactly, including capitalization and the wrapping quotes. Copy it from this page to avoid a typo that returns an empty spawn.
Is the Any Gun spawn code on GameServersCodex accurate?
Yes. The Any Gun'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.
Can I get the Any Gun without spawning it?
Yes. The Any Gun 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 the Any Gun as a blueprint instead of a finished item?
Set the final argument to 1: cheat gfi PrimalItemWeaponGenericGun 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's the full blueprint path of the Any Gun?
The full blueprint path is "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemWeaponGenericGun.PrimalItemWeaponGenericGun'". Paste it into GiveItem to spawn the exact item: cheat GiveItem "Blueprint'/Game/PrimalEarth/CoreBlueprints/Weapons/PrimalItemWeaponGenericGun.PrimalItemWeaponGenericGun'" 1 0 0. Copy it exactly, because the path is case sensitive and must keep its wrapping quotes.
Why isn't my Any Gun spawn command working?
Check three things: admin access is enabled (enablecheats on servers), the code is typed exactly (PrimalItemWeaponGenericGun), and all three trailing numbers are present. Copying cheat gfi PrimalItemWeaponGenericGun 1 0 0 directly from this page avoids the most common mistakes.
How do I open the console to spawn the Any Gun?
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 Gun spawn code from this page.
What do the numbers in the Any Gun spawn command mean?
In cheat gfi PrimalItemWeaponGenericGun 1 0 0, the code identifies the Any Gun, then the three numbers are quantity, quality, and blueprint flag (0 = item, 1 = blueprint). So it spawns one standard Any Gun.
Is the Any Gun a DLC item or part of the base game?
The Any Gun is part of the base ARK: Survival Ascended game, so no DLC or map pack is required to spawn or craft it.
What's the Any Gun class name?
The class name for the Any Gun is PrimalItemWeaponGenericGun_C. Class names end in _C and identify the item's blueprint at runtime, which makes them useful for spawn tools, mods, and RCON macros.
What does the Any Gun do in ARK: Survival Ascended?
A generic gun weapon item used as a placeholder or fallback in server configurations, spawnable via GFI code.
Where can I copy the Any Gun 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 Gun command to your clipboard in one click, ready to paste into the console.
How do I add the Any Gun to a starter kit or loadout?
Include cheat gfi PrimalItemWeaponGenericGun 1 0 0 in 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.
What is the Any Gun used for?
The Any Gun is a generic firearm weapon class that serves as a catch-all or default gun entity in ARK's item system. It does not stack and cannot be crafted from a blueprint.
What items are related to the Any Gun?
See the Related section at the bottom of this page for items commonly used alongside the Any Gun, or open Browse Games to explore the full ARK: Survival Ascended database.
What is the GFI code for the Any Gun?
The GFI code for the Any Gun is PrimalItemWeaponGenericGun. GFI matches the item by its short blueprint name, so cheat gfi PrimalItemWeaponGenericGun 1 0 0 is the fastest way to spawn it without typing the full blueprint path.
How do I spawn multiple Any Gun at once?
Change the quantity argument, the first number after the code. For example cheat gfi PrimalItemWeaponGenericGun 25 0 0 spawns 25 of the Any Gun. Stacks respect the item's maximum stack size.
How current is the Any Gun spawn info?
The Any Gun 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 Gun?
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 Gun spawn command. Without admin access the console rejects it.
What is the Any Gun class used for in mods or spawn tools?
Spawn managers, loot-table editors, and RCON macros reference the Any Gun by its class PrimalItemWeaponGenericGun_C or GFI PrimalItemWeaponGenericGun. Both uniquely identify it in ARK: Survival Ascended.
Which game is the Any Gun from?
The Any Gun is from ARK: Survival Ascended. Every ID, code, and command on this page is specific to ARK: Survival Ascended and its current live build.
Does the Any Gun 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 Gun then spawns the same way.