Custom Guns

Custom Guns

A fully customizable datapack & mod for Minecraft 1.20.5+ that features custom guns that fully integrate with the surrounding world. Anyone can make their own gun with a straightforward command setup.

by
99.5K Downloads
datapackfabricforgeneoforgequiltgame-mechanicslibraryutility
Rent Server with this Mod

About this Mod

Header

Modrinth

Discord

Website


📖 Description

A fully customizable datapack for Minecraft 1.20.5+ that features custom guns that fully integrate with the surrounding world.
You can create your own guns with custom stats and also use this with friends without having to install mods.

No resource pack required for it to work.

⭐ Features

• Functional and accurate guns with realistic names, movement, and recoil.

• Functional throwables like grenades.

• Works with and without resource packs.

• 100% Multiplayer supported.

• It is easy to change settings via the chat menu.

• Create your own guns or use the ones that are already in the datapack.

🎗️ Compatibility

compatibility

⚙️ Installation

After installing it, you may need to restart your world with /reload.

To open the chat menu, use /reload again.

⚡️IMPORTANT REMINDER

You need permissions to use commands to install and configure the settings!

This means that commands must be turned on in single-player and OP in multiplayer however, you do not need permission to use commands to use the guns, only to create them or to change the settings.

🛠️ Creation

For V2.1.0+

Hold the item that you want to convert into a gun in your mainhand and run this command:

/function guns:create {name:"AR-15",color:"blue",bullets:30,bullet_type:"medium",damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}

Replace the stats with your desired stats.

Unsupported items for custom gun creation are: All types of firework, rods, armor pieces, buckets, bows, potions, (throwables), empty maps, spawn eggs, eggs, snowballs, tridents, axes (still strip logs when right clicked on them), ender pearls, debug stick, and ender eyes.

For V2

Hold the item that you want to convert into a gun in your mainhand and run this command:

/function guns:create {name:"AR-15",color:"blue",bullets:30,magazine:90,damage:9,headshot:20,cooldown:2,bloom:false,semi_auto:false,range:70,reload_time:40}

Replace the stats with your desired stats.

For V1

To make your own guns, simply use this command in a command block since it is too long for the chat box.

/data modify storage guns create set value {
    Damage:20,
    Headshot:20,
    Bullets:3,
    Magazine:3,
    Bloom:0,
    Cooldown:30,
    Recoil:2.5,
    Range:300,
    Semi-Auto:true,
    ReloadTime:40,
    Name:"AWP",
}

After modifying the storage for your weapon run

/item modify entity @s weapon.mainhand main:change_stats

Available Versions

Custom Guns v2.3.0release
MC 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2fabric, forge, neoforge, quilt
April 27, 2026
Custom Guns v2.3.0release
MC 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2datapack
April 27, 2026
Custom Gunsrelease
MC 1.21.9, 1.21.10, 1.21.11fabric, forge, neoforge, quilt
February 19, 2026
Custom Gunsrelease
MC 1.21.9, 1.21.10, 1.21.11datapack
February 19, 2026
Custom Gunsrelease
MC 1.21.10, 1.21.11fabric, forge, neoforge, quilt
December 9, 2025

How to Install Custom Guns on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set datapack Loader

In the panel under "Egg", select the datapack loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Custom Guns". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

datapackfabricforgeneoforgequilt

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+22 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Custom Guns server crashes on startup – what to do?

Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is Custom Guns compatible with datapack and fabric and forge and neoforge and quilt?

Custom Guns officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 26.1.2, 26.1.1, 26.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Custom Guns – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Custom Guns consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Custom Guns with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.81.21.71.21.61.21.5+15 more