Матвій Радисюк

Make a sword six seven

Kodari AI
KodariSep 5 at 8:01 pm 1
SwordSixSeven
A Minecraft plugin that adds a unique legendary sword called "Six Seven" obtainable through crafting, mob drops, or commands. The sword features custom enchantments, particle effects, and a special ability that triggers on right-click, dealing area damage and applying slowness to nearby enemies. Includes configurable damage values, cooldown timers, and lore customization through a config file. Players can upgrade the sword using experience levels at an anvil, with each upgrade increasing damage and adding visual effects. The plugin integrates with permissions for admin control and provides a command to give the sword to players.

Created the Six Seven Minecraft plugin.

  • /sword gives players a custom diamond sword named Six Seven

  • Sharpness VII

  • Unbreaking VI

  • Permission: sixseven.sword

  • Non-players are rejected

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
5 120
src/main/java/com/example/sixseven/SixSevenPlugin.java
package com.example.sixseven;

import org.bukkit.plugin.java.JavaPlugin;

public final class SixSevenPlugin extends JavaPlugin {

    @Override
    public void onEnable() {
        if (getCommand("sword") == null) {
            getLogger().severe("The sword command is missing from plugin.yml.");
            getServer().getPluginManager().disablePlugin(this);
            return;
        }

        getCommand("sword").setExecutor(new SwordCommand());
    }
}