heltikus
📎 1 file 1,240 chars
📄
pasted-code-1778179184487.txt
txt 1 lines
▶
Make a plugin for version 1.21.4 paper for the server. The plugin adds the /admin items command. Only the server owner can write this command. When writing the command, a menu opens where custom items are depicted, such as a deadly mace. This is a mace with a density of 5, a gust of wind, and 3 durability. If you right-click on it when the mace is in your hand, then within a radius of 10 blocks there will be pieces of earth and all players in this radius will be damaged as from a mace from 7 blocks, and whoever used this ability will be thrown up 15 blocks. Then, the second item is a snowball called a snowstorm. When activated, all players within a radius of 10 blocks are frozen and cannot move for 7 seconds, and the blocks are covered with snow and ice. Reload time is 60 seconds. Cooldown on a mace is 120 seconds. Item 3 is an undead staff. Custom model. When you right-click on any mob, it becomes your pet, and whoever you target When you attack, your mobs will start hitting him too. Then, the Varden crossbow shoots a Varden beam that deals massive damage but doesn't kill you completely. The villager's staff summons a deadly beam that deals massive damage. The item issuance commands are /ADMINITEM GIVE PLAYER ITEM NAME.
Kodari AI
KodariMay 7 at 6:42 pm 16,034 (v2)

I’ll create a custom items plugin with a GUI menu and unique abilities.

AdminItems
Advanced custom items plugin featuring unique abilities including a deadly mace with area damage and knockup, snowstorm projectiles that freeze players, undead pet summoning staff, warden beam crossbow, and villager damage staff. Features GUI-based item management, cooldown system, and admin commands for distribution.

AdminItems plugin created!

Features:

  • GUI Menu (/adminitems or /admin) - Only OPs can access, displays all 5 custom items

  • Custom Items:

    • Deadly Mace: Density V, Wind Burst III, right-click for AoE earthquake attack (10 block radius, launches user 15 blocks up)

    • Snowstorm Snowball: Throw to freeze all players in 10 block radius for 7 seconds and cover area in snow

    • Undead Staff: Right-click mobs to enslave them as pets that attack your targets

    • Warden Crossbow: Fires sonic boom arrows dealing massive damage but leaves targets alive

    • Villager Staff: Right-click to fire emerald beam dealing high damage

  • Give Command: /adminitem give <player> <item> to distribute items

  • Cooldown System: Prevents ability spam (configurable in config.yml)

  • MiniMessage Colors: Modern text formatting with gradients support

Items use PersistentDataContainer for tracking, abilities have particle effects and sounds, and the pet system uses AI targeting.

heltikus

Make a plugin for Minecraft 1.21.4 paper that, when you use the /customad command, a menu with custom items appears. 1 custom item is a wither skeleton skull called Yorik's head. When activated, it summons 4 wither skeletons in netherite armor. Yoriks are friendly to the player and follow him at the player's speed without leaving their, so to speak, king. If the player hits someone, they will run at him whoever he hits and start killing them. They are impossible to kill, they disappear 20 seconds after being summoned, with a 100-second cooldown. 2nd item is a rhinoceros, it will be coal. When activated, a destroyer appears that wakes up forward, causing great damage, and then disappears. Add another 10 of these weapons of your choice, and a command for issuing them to a player and their names. Only an admin can issue them and take them from the menu, like they were issued.

Kodari AI
KodariMay 7 at 7:22 pm 10,703 (v2)

I’ll create a comprehensive custom items plugin with 12 unique weapons and a GUI system.


CustomAD Plugin Complete!

Features 12 unique custom weapons:

  1. Yorik’s Head - Summons 4 invincible wither skeleton guards (20s duration, 100s cooldown)

  2. Rhinoceros - Spawns charging ravager dealing massive damage

  3. Phoenix Feather - Grants flight + fire immunity for 15s

  4. Void Compass - Teleports to looked-at location

  5. Storm Caller - Summons lightning strikes around you

  6. Time Freeze Clock - Freezes all nearby entities for 10s

  7. Dragon’s Breath - Shoots explosive dragon fireball

  8. Soul Reaper - Steals health from nearby enemies

  9. Gravity Hammer - Launches all nearby entities into the air

  10. Shadow Cloak - Grants invisibility + speed for 30s

  11. Earthquake Totem - Creates damaging shockwave

  12. Meteor Staff - Rains down fireballs from the sky

Commands:

  • /customad - Opens GUI menu (admin only)

  • /customad give <player> <item> - Give items to players

All items use persistent data tracking, have cooldowns, particle effects, and sounds. Yorik’s guards follow at player speed and attack targets.

heltikus

не лучше вместо своих добавь оружия как с королевской битвы ютубира такого как SpeedSilver Sworlf4000 и другие капиример лучше всего как с сервера bloodstone

heltikus

Make a plugin for 1.21.4 paper with custom weapons like on the Minecraft server Bloodstone.

Kodari AI
KodariMay 7 at 7:29 pm 100 (v2)

The generation was stopped before any content could be produced.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
18 1,056
src/main/java/com/adminitems/AdminItems.java
package com.adminitems;

import com.adminitems.commands.AdminItemsCommand;
import com.adminitems.commands.GiveItemCommand;
import com.adminitems.inventory.gui.GUIListener;
import com.adminitems.inventory.gui.GUIManager;
import com.adminitems.listeners.ItemUseListener;
import com.adminitems.listeners.PetAttackListener;
import com.adminitems.managers.CooldownManager;
import com.adminitems.managers.ItemManager;
import com.adminitems.managers.PetManager;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AdminItems extends JavaPlugin {
    
    private GUIManager guiManager;
    private CooldownManager cooldownManager;
    private ItemManager itemManager;
    private PetManager petManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.guiManager = new GUIManager();
        this.cooldownManager = new CooldownManager();
        this.itemManager = new ItemManager(this);
        this.petManager = new PetManager();
        
        getCommand("customad").setExecutor(new AdminItemsCommand(this));
        getCommand("adminitem").setExecutor(new GiveItemCommand(this));
        
        Bukkit.getPluginManager().registerEvents(new GUIListener(guiManager), this);
        Bukkit.getPluginManager().registerEvents(new ItemUseListener(this), this);
        Bukkit.getPluginManager().registerEvents(new PetAttackListener(petManager), this);
        
        getLogger().info("AdminItems has been enabled!");
    }
    
    @Override
    public void onDisable() {
        petManager.clearAllPets();
        getLogger().info("AdminItems has been disabled!");
    }
}