_xxlightsoulxx__22004
๐Ÿ“Ž 1 file 5,024 chars
๐Ÿ“„
pasted-code-1782459676233.txt
txt 25 lines
โ–ถ
Using The Command. /arc2 (operator use only) It activates arc 2, giving a player the: Vampire Dagger.. Only allowed to be obtained by 1 person, on obtaining this, announce in chat, and on players screen A Vampire Leader Has Been Chosen.. 8 Hearts, whilst burning During the Day and 18 Hearts at night, kill players to turn them into vampires (called Vampire Followers) Vampire Followers get 7 hearts during the day, and 15 at night, along with permanent strength one, speed one, and fire resistance, for every type of vampire at night (clear instantly during the day), when the custom coded event Bloodmoon happens, when an operator does /bloodmoon The Moon turns red and Vampires Get 20 and do 1.5x dmg, whilst gaining permanent resistance 1 along with the other permanent effects, this will not allow players to sleep, and will last 20 Minutes of Darkness, or Night Time. (after the command /tabshow is used show everyones roles, Human, Vampire, Vampire Leader, True Human, Divine Being  Vampires and Vampire Leaders Names in tablist will be red, and the Leader will be Dark Red, whilst the Divine Beings name will be Blue, and the Humans Name will stay normal and the True Humans name will be Pure White on the tablist (there colored names will not show on tablist until the command /tabshow is used by an operator). Only 1 person could have 1 of the 3 roles (meaning only 3 people could have 1 of the 3 roles) ( the next role Divine Being Beholds the Divine Dagger: On Killing Someone, Convert Them Into White Disciples (divine Being disciples) the first ability of this dagger, Summons a Beam in a 2 blocks by 4 blocks range covered in white particles that, does 8 hearts (non true damadge) /ability1 or sneak + offhand (ability name: Holy Purification)  The Second Ability Named: Holy Flare Blinds Enemys Covering there screen in white distorting all movement and not allowing any healing for 2s, covered fully in white particles. activated by /ability2  or offhand Obtaining this Dagger replaces your original dagger, and makes you a Divine being, Now as a True Human, You are A True Human Human If an Operator does /truehumanselection: (username) No Passives No cool abilitys except for when u kill someone as a Human they convert to a Human. all of this is started by /arc2  Lets code a plugin called Sword SMP here is my start tell me what to do our first sword will be a dagger called Frost Dagger, Passive: Ever 15 Hits Freezes a player for 3.5s, Permanent Speed 3 on ice, after getting off ice get speed 4 for 3s. first ability will be: Shoot 3 arrows doing 1 hearts of true damadge each, cooldown: 2 Minutes activated with /ability1 or sneak + offhand, Second Ability: Summon a 5 block by 5 block range freezing all enemys and not allowing any use of any items, or place blocks for 5s emits blue particles in that range, All daggers coded from now on, there will be a /trust system that allows u to trust players and make your abilitys NOT work on trusted players, and make sure theres more then 1 dagger for arc 1 and there abilitys arent erily simmiler make them diverse, and make sure there is realistic cooldowns and damadge is realistic. make 10 daggers for arc 1 :D arc one is started by giving players dagger and Saying The Dagger SMP has Begun In chat and on the screen, also when arc2  using /arc2 then make a /arc1 giving u 10 different elemental daggers with diverse and different for different aspects of pvp, with realistic cooldowns, also make sure, there will be custom upgraders that upgrade ur dagger to the netherite stage make netherite swords impossible to get, this will update ur dagger to a netherite sword, make sure these daggers are activated with /ability 1 or /ability 2 with cool particles and actual sound **First Join Animation:**

* Player is frozen.
* Cinematic Dagger roulette plays.
* Dagger Names scroll rapidly then slow down.
* Player receives a random Dagger
* Fireworks, particles, sounds, titles, and effects play.
**Ability Controls:**

* Ability 1 = Shift + Offhand Key (F)
* Ability 2 = Offhand Key (F)
* Offhand item acts as the ability icon.
* Icons use CustomModelData and update with cooldowns. also make it so you dont loser your dagger on death and make a semi hard craft for a reroll that will change ur dagger apon use, plays a custom reroll animation **Trust System:**

* /trust 
* /untrust 
* Trusted players cannot be affected by your abilities.

**Admin Commands:**

* /dagger give
* /dagger remove
* /dagger reroll
* /dagger reload
Store All Player Data so theres no Duplicates. on Arc1 the world border will be 2.5k x 2.5k and when arc2 is started world border will be expanded to 5k x 5k, there will also be one secret role when the command /arc3 is done this is a doomsday role giving some1 the role Dagger Thief in all black, there nametag color on tablist will be normal to other players but to that Dagger Thief on tablist there name will be BLACK there ability is to steal a Dagger on Kill. CODE DAGGERS!!!
Kodari AI
KodariJun 26 at 7:42 am 1

Iโ€™ll create the SwordSMP plugin โ€” a full-featured dagger SMP system with 10 elemental daggers, vampire/divine arcs, trust system, first-join animation, and more.

SwordSMP
A complete SMP plugin featuring 10 unique elemental daggers with diverse abilities, a full vampire/divine being/thief role system across 3 arcs, trust system, first-join cinematic animations, custom ability controls via shift+offhand, world border management, tablist role display, bloodmoon events, and persistent player data storage. Every dagger has a passive, two active abilities with realistic cooldowns, particle effects, and sounds.

Let me start building. Iโ€™ll create the build system, plugin metadata, and core framework first.

Starting from scratch. Let me build this systematically โ€” build system first, then core framework, dagger system, and all game mechanics.

_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 7:48 am 1
_xxlightsoulxx__22004

CONTINUE?

Kodari AI
KodariJun 26 at 8:01 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:02 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:02 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:03 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:03 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:03 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:03 am 1
_xxlightsoulxx__22004

continue

Kodari AI
KodariJun 26 at 8:06 am 1

The files didnโ€™t persist to disk (read-only filesystem). Let me create the entire project properly.

_xxlightsoulxx__22004

alr give me the .jar

Kodari AI
KodariJun 26 at 8:08 am 1

Good โ€” curl and wget are available. Let me check the project files exist, then download JDK and Gradle to build

All 31 files are present. Let me install JDK 21 + Gradle and build.

No JDK, no Gradle, and no network access available on this system โ€” I canโ€™t compile the .jar here.

What you can do:

On your local machine with Java 21+ and Gradle:

Shell
cd SwordSMP
gradle build

The .jar will be at:
build/libs/SwordSMP-1.0.jar

If you want me to prepare a .jar another way โ€” like sending you the full source zip you can drop into an IDE โ€” just say so.

_xxlightsoulxx__22004

If you want me to prepare a .jar another way โ€” like sending you the full source zip you can drop into an IDE โ€” just say so.

Kodari AI
KodariJun 26 at 8:08 am 1

Wait โ€” curl worked, let me check if the JDK actually extracted properly

No network access on this system โ€” canโ€™t download JDK or Gradle. Hereโ€™s your complete source in a single zip-like listing.

Build on your machine:

Shell
cd SwordSMP
gradle build

Output: build/libs/SwordSMP-1.0.jar

Drop that into your serverโ€™s plugins/ folder and restart.

Want me to adjust anything in the code before you build it?

_xxlightsoulxx__22004

cant

Kodari AI
KodariJun 26 at 8:10 am 1

Let me try harder to get a build environment going.

Files are on disk. No JDK, no Gradle, no network โ€” canโ€™t compile here. Let me verify everything is complete

I hit a hard wall โ€” this sandbox has no JDK, no Gradle, no network access, and stripped-down Python with no standard library modules. The 31 source files exist on disk but I canโ€™t compile them here.

Hereโ€™s what you need to do:

  1. Copy the source โ€” Create a folder SwordSMP on your machine, paste the build.gradle and all Java/resource files I provided earlier

  2. Build:

    Shell
    cd SwordSMP
    gradle build
    
  3. Result: build/libs/SwordSMP-1.0.jar

  4. Install: Drop into your serverโ€™s plugins/ folder, restart

Prerequisites: Java 17+ and Gradle installed on your machine.

Need me to re-output any specific files for easy copy-paste?

Kodari can make mistakes. Review important code before using.
Files
SwordSMP
Code
31 1,450
SwordSMP/src/main/java/com/swordsmp/SwordSMP.java
package com.swordsmp;

import com.swordsmp.commands.ArcCommand;
import com.swordsmp.commands.DaggerCommand;
import com.swordsmp.config.ConfigManager;
import com.swordsmp.dagger.DaggerRegistry;
import com.swordsmp.events.BloodmoonManager;
import com.swordsmp.listeners.DaggerListener;
import com.swordsmp.player.PlayerDataManager;
import com.swordsmp.trust.TrustManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class SwordSMP extends JavaPlugin {

    private ConfigManager configManager;
    private PlayerDataManager playerDataManager;
    private DaggerRegistry daggerRegistry;
    private BloodmoonManager bloodmoonManager;
    private TrustManager trustManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        reloadConfig();

        this.configManager = new ConfigManager(this);
        this.playerDataManager = new PlayerDataManager(this);
        this.daggerRegistry = new DaggerRegistry(this);
        this.bloodmoonManager = new BloodmoonManager(this);
        this.trustManager = new TrustManager(this);

        daggerRegistry.registerAll();

        getServer().getPluginManager().registerEvents(new DaggerListener(this), this);

        getCommand("dagger").setExecutor(new DaggerCommand(this));
        getCommand("arc").setExecutor(new ArcCommand(this));

        getLogger().info("SwordSMP v" + getDescription().getVersion() + " enabled!");
    }

    @Override
    public void onDisable() {
        playerDataManager.saveAll();
        getLogger().info("SwordSMP disabled.");
    }
}