hahayes1111

Create me a mod for a gun that shoots poop that explode on impact

Kodari AI
KodariApr 18 at 3:33 pm 7,175 (v2)

I’ll create a fun plugin that adds a gun shooting explosive poop projectiles.

PoopGun
A hilarious weapon plugin that adds a poop gun to your server. Players can shoot brown explosive projectiles that detonate on impact with blocks, entities, or the ground. Features customizable explosion power, shooting cooldowns, particle effects, and sound effects. Includes admin commands to give players the special gun item. Perfect for adding chaotic fun to your server with configurable damage settings.

All files created! This plugin adds a hilarious poop gun that shoots explosive projectiles. Players get the gun with /poopgun [player], right-click to shoot snowballs that explode on impact with particles, sounds, and configurable explosion power. Includes cooldown system and full XSeries cross-version compatibility.

hahayes1111

is the mod for fabric or forge and which version of minecraft is it for

Kodari AI
KodariApr 18 at 3:34 pm 1,631 (v2)

This is actually a Bukkit/Spigot/Paper plugin, not a Fabric or Forge mod. These are different platforms:

  • Bukkit/Spigot/Paper plugins (what I created): Server-side modifications that run on Bukkit-based servers. Players connect with vanilla Minecraft clients - no client-side mods needed.

  • Fabric/Forge mods: Client-side or client+server modifications that require players to install mods on their game client.

What I created:

  • Platform: Bukkit/Spigot/Paper servers

  • Minecraft Versions: 1.8 through 1.21+ (thanks to XSeries cross-version compatibility)

  • Client requirement: Vanilla Minecraft - players don’t install anything

To use this plugin:

  1. Install it on a Spigot, Paper, or Purpur server

  2. Players join with regular Minecraft (no mods)

  3. Use /poopgun command to get the gun

  4. Right-click to shoot explosive poop projectiles

If you specifically need a Fabric or Forge mod instead, I cannot create that - this development environment is exclusively for Bukkit/Spigot plugin development. Bukkit plugins are server-side only and much more common for multiplayer servers.

Would you like me to adjust anything about the plugin I created, or did you actually want a plugin (which is what I made)?

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
7 408
src/main/java/com/poopgun/PoopGun.java
package com.poopgun;

import com.poopgun.commands.GiveGunCommand;
import com.poopgun.listeners.GunListener;
import com.poopgun.managers.ProjectileManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class PoopGun extends JavaPlugin {

    private ProjectileManager projectileManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.projectileManager = new ProjectileManager();
        
        getCommand("poopgun").setExecutor(new GiveGunCommand(this));
        getServer().getPluginManager().registerEvents(new GunListener(this), this);
        
        getLogger().info("PoopGun has been enabled! Time to get messy!");
    }

    @Override
    public void onDisable() {
        if (projectileManager != null) {
            projectileManager.clear();
        }
        getLogger().info("PoopGun has been disabled. Cleaning up the mess...");
    }
}