T
📎 1 file 13,965 chars
📄
pasted-code-1786953964716.txt
txt 566 lines
▶
CREATE A COMPLETE MINECRAFT PAPER PLUGIN CALLED "SOUL REAPER SCYTHE"

I want a complete, production-ready Minecraft Java Edition server plugin for a custom weapon called:

§5§lSoul Reaper

PLATFORM:
- Minecraft Java Edition
- Paper/Spigot
- Java
- Make the Minecraft/Paper version configurable or clearly specify the target version.
- Include every required source file.
- Include plugin.yml.
- The project must compile without errors.
- Prefer Bukkit/Paper APIs and avoid NMS unless absolutely necessary.

==================================================
1. CUSTOM SCYTHE DESIGN
==================================================

Create a custom Minecraft weapon based closely on the uploaded scythe reference image.

The scythe should have:

- A long dark black/brown twisted handle.
- A large curved scythe blade.
- Ancient dark-fantasy appearance.
- Rough, damaged, skeletal-looking blade.
- Dark gray/black metal or bone texture.
- Jagged and irregular blade edges.
- Small purple magical details around the upper blade.
- Slight magical purple glow.
- The weapon must clearly look like a giant fantasy scythe.
- Do NOT make it look like a vanilla Minecraft sword, axe, hoe, or normal item.

The uploaded image is the visual reference for the weapon shape and overall style.

==================================================
2. CUSTOM 3D MODEL
==================================================

Create the scythe as a REAL 3D Minecraft item model.

Do NOT make it simply a flat 2D item texture.

Use a custom resource pack with:

- Custom item model.
- Custom texture.
- Correct model JSON.
- Required texture files.
- Required item-model configuration for the target Minecraft version.
- Correct CustomModelData/item-model system depending on the target version.

The scythe should appear large in the player's hand and have the proportions of a two-handed fantasy scythe.

Provide the complete resource-pack folder structure.

Explain exactly where every file belongs.

==================================================
3. ITEM
==================================================

Item name:

§5§lSoul Reaper

Lore:

§7A cursed weapon capable of bending
§7the forces around its wielder.
"
§dAbilities:
§5» §fTelekinesis
§5» §fSoul Pull
§5» §fReaper Strike
§5» §fTime Freeze

Give the weapon:

- High custom attack damage.
- Slightly reduced attack speed because it is a heavy weapon.
- Very high durability or prevent durability loss.
- Prevent normal crafting.
- Prevent unauthorized players from creating the weapon.
- Store a unique persistent item identifier so renamed/copied items cannot easily bypass ability checks.

==================================================
4. ABILITY — TELEKINESIS
==================================================

Right-click with the Soul Reaper Scythe.

Target the entity the player is looking at within approximately 20 blocks.

Rules:

- Target living entities.
- Ignore the caster.
- Players can be affected if enabled in config.
- Create purple/black particles around the target.
- Lift the target slightly into the air.
- Pull the target toward the caster OR hold it suspended in front of the caster.
- The caster can move while controlling the target.
- Duration: 3 seconds.
- Cooldown: 8 seconds.

The effect must actually feel like telekinesis, not simply knockback.

Visual effects:

- Purple particles around target.
- Dark particles around target.
- Particle trail connecting caster/scythe to target.
- Small floating particles.
- Magical sound when activated.
- When telekinesis ends, gently throw the target backward.

==================================================
5. ABILITY — SOUL PULL
==================================================

Sneaking + right-click with the scythe.

Pull nearby hostile mobs toward the caster.

Range:

12 blocks.

Rules:

- Pull hostile mobs toward the player.
- Do not pull bosses by default.
- Do not pull players unless enabled in config.
- Create purple particle trails.
- Use a dark magical sound.
- Cooldown: 12 seconds.

The pull should look controlled and magical instead of ordinary knockback.

==================================================
6. ABILITY — REAPER STRIKE
==================================================

Left-click an entity while holding the Soul Reaper Scythe.

Create a powerful sweeping scythe attack.

Effects:

- Dark-purple slash effect.
- Damage the target.
- Damage nearby enemies in a small arc.
- Apply Slowness for approximately 2 seconds.
- Play a powerful scythe/sweep sound.
- Spawn purple and dark particles.
- Add a cooldown to prevent spam.

The attack should visually look like the player is swinging a giant magical scythe.

==================================================
7. ABILITY — TIME FREEZE
==================================================

TIME FREEZE IS THE SPECIAL ULTIMATE ABILITY.

DEFAULT ACTIVATION:
Use keyboard key "5" if technically possible.

IMPORTANT:
A normal Bukkit/Paper server plugin cannot directly detect arbitrary keyboard keys.

Therefore:

- If direct key detection is impossible, use HOTBAR SLOT 5 as the default activation method.
- Make the activation method configurable.
- Clearly explain this limitation.
- Do not pretend a normal server plugin can directly read keyboard input.

==================================================
TIME FREEZE BEHAVIOR
==================================================

When activated:

- Freeze all nearby entities and players within 20 blocks.
- Do NOT freeze the player using the scythe.
- Default duration: 5 seconds.
- Default cooldown: 30 seconds.

The most important requirement:

FREEZE PLAYERS IN THEIR EXACT CURRENT POSTURE.

If a player is:

- Standing → freeze standing.
- Jumping → freeze exactly where they are in the jump.
- Falling → freeze exactly in the air.
- Flying → freeze in their current flying position.
- Sneaking → preserve their sneaking state.
- Looking in a direction → preserve their exact head direction.

Their body AND HEAD must remain completely frozen.

The frozen player's head must NOT continue tracking other players.

Do not allow:

- Movement.
- Gravity.
- Knockback.
- Attacking.
- Jumping.
- Normal interactions.
- Ability usage.
- Movement caused by damage.

Do not simply apply Slowness 255.

Do not make frozen players fall to the ground.

Do not teleport them downward.

Preserve their exact:

- X
- Y
- Z
- Yaw
- Pitch
- Flying state
- Sneaking state
- Relevant movement state

==================================================
TIME FREEZE VISUAL EFFECT
==================================================

Make Time Freeze extremely cinematic.

When activated:

1. The Soul Reaper Scythe briefly glows purple/red.
2. Create a red circular shockwave around the caster.
3. Spawn bright red REDSTONE/DUST particles.
4. Create thin red laser-like particle beams from the scythe/caster toward every frozen target.
5. Add small red particles traveling along the laser beams.
6. Mix dark-purple particles with the red particles.
7. Create a subtle red/purple aura around every frozen player.

The red beams should look like magical REDSTONE LASERS.

Do NOT simply spam random red particles.

The beams should visually connect the caster/scythe to the frozen targets.

Particle colors should be configurable.

Default:

laser-color: "255,0,0"

==================================================
TIME FREEZE START
==================================================

When activated:

- Play a powerful magical/time-freeze sound.
- Create the red shockwave.
- Create the red laser beams.
- Freeze all targets immediately.
- Freeze their exact posture and head direction.

Display action bar:

§c§lTIME FROZEN

==================================================
TIME FREEZE END
==================================================

After 5 seconds:

- Release every frozen target simultaneously.
- Remove all laser particles.
- Create a red/purple burst around each target.
- Restore movement.
- Restore their previous state where possible.
- Play a time-release sound.

Display:

§d§lTIME RESUMED

==================================================
8. FREEZE MANAGER
==================================================

Create a dedicated FreezeManager system.

Store for each frozen player:

- UUID
- X
- Y
- Z
- Yaw
- Pitch
- Game mode
- Flying state
- Sneaking state
- Relevant movement state

Safely restore players if:

- Time Freeze ends.
- Caster disconnects.
- Frozen player disconnects.
- Plugin disables.
- Server reloads.

Prevent:

- Multiple freeze tasks stacking.
- Duplicate freezes.
- Frozen players bypassing the freeze.
- Teleport exploits.
- Ability exploits.
- Frozen players attacking.
- Frozen players moving through knockback.

Handle invalid/dead/offline entities safely.

==================================================
9. TIME FREEZE TARGETS
==================================================

Configurable options:

- Affect players: true
- Affect mobs: true
- Affect bosses: false
- Radius: 20 blocks
- Duration: 5 seconds
- Cooldown: 30 seconds

Do not freeze:

- The caster.
- Spectators.
- Players outside the radius.

==================================================
10. PARTICLE OPTIMIZATION
==================================================

The plugin MUST be optimized.

Do NOT create huge numbers of particles every tick.

Use efficient scheduled tasks.

Allow particle amount to be configured.

Make sure Time Freeze with multiple players does not cause significant server lag.

Cancel all scheduled tasks properly when:

- Ability ends.
- Player disconnects.
- Plugin disables.

==================================================
11. CONFIG.YML
==================================================

Create a complete config.yml containing:

telekinesis:
  enabled: true
  range: 20
  duration-seconds: 3
  cooldown-seconds: 8
  affect-players: true

soul-pull:
  enabled: true
  range: 12
  cooldown-seconds: 12
  affect-players: false
  affect-bosses: false

reaper-strike:
  enabled: true
  damage: 8
  radius: 4
  cooldown-seconds: 3
  slowness-duration: 2

time-freeze:
  enabled: true
  activation: "HOTBAR_SLOT_5"
  radius: 20
  duration-seconds: 5
  cooldown-seconds: 30
  affect-players: true
  affect-mobs: true
  affect-bosses: false
  particle-count: 8
  laser-particles: true
  laser-color: "255,0,0"
  laser-size: 1.5
  preserve-head-rotation: true
  preserve-posture: true

general:
  players-can-be-affected: true
  bosses-can-be-affected: false

==================================================
12. COMMANDS
==================================================

Add:

/soulscythe give 

/soulscythe reload

Permissions:

soulscythe.admin

Add tab completion.

Only players with the appropriate permission can use admin commands.

==================================================
13. EXPLOIT PROTECTION
==================================================

Prevent:

- Weapon duplication.
- Ability duplication.
- Unauthorized creation.
- Fake renamed items activating abilities.
- Exploiting cooldowns.
- Multiple Time Freeze instances.
- Plugin reload causing permanent freezes.
- Disconnected players remaining frozen.
- Dead entities causing errors.

Use PersistentDataContainer to identify the real Soul Reaper Scythe.

==================================================
14. RESOURCE PACK
==================================================

Provide the complete resource pack structure.

Example:

resourcepack/
 ├── pack.mcmeta
 └── assets/
     └── minecraft/
         ├── models/
         ├── textures/
         └── items/

Use the correct folder structure for the target Minecraft version.

Include:

- Scythe model JSON.
- Scythe texture.
- Item model configuration.
- Any required overrides.
- Correct namespace.
- Correct item configuration.

The final resource pack must make the weapon appear as the custom 3D Soul Reaper Scythe.

==================================================
15. PLUGIN PROJECT
==================================================

Provide:

- pom.xml OR Gradle build file.
- Main plugin class.
- Command class.
- Ability manager.
- Telekinesis manager.
- Soul Pull manager.
- Reaper Strike manager.
- Time Freeze manager.
- Particle utility.
- Cooldown manager.
- Item manager.
- Configuration manager.
- Event listeners.
- Resource-pack instructions.
- plugin.yml.
- config.yml.

Organize the code cleanly into packages.

==================================================
16. BUILD AND INSTALLATION
==================================================

At the end provide exact instructions for:

1. Creating/building the plugin.
2. Compiling it.
3. Locating the generated JAR.
4. Installing it into the Paper server.
5. Installing the resource pack.
6. Restarting the server.
7. Giving the weapon to a player.
8. Testing every ability.

Also provide all commands and permissions.

==================================================
17. FINAL QUALITY REQUIREMENTS
==================================================

The plugin must:

- Compile without errors.
- Avoid unnecessary NMS.
- Be optimized.
- Be safe against common exploits.
- Handle player disconnects.
- Handle server/plugin shutdown.
- Handle cooldowns correctly.
- Handle invalid entities safely.
- Avoid excessive particle spawning.
- Use configurable values.
- Include comments explaining important code.
- Never leave players permanently frozen.
- Never leave scheduled tasks running after the plugin disables.

MOST IMPORTANT VISUAL REQUIREMENTS:

The weapon must look like the uploaded dark fantasy scythe reference.

The Time Freeze ability must look cinematic with:

- Red REDSTONE-style laser beams.
- Red shockwave.
- Purple magical particles.
- Frozen players visibly suspended exactly where they were.
- Frozen players maintaining their original body/head orientation.
- The Soul Reaper Scythe glowing with purple/red energy.

The overall visual theme should be:

DARK FANTASY + SOUL REAPER + PURPLE MAGIC + RED TIME ENERGY.
Kodari AI
KodariAug 17 at 8:09 am 1
SoulReaperScythe
A complete Paper plugin adding a custom 3D-modeled Soul Reaper Scythe weapon with four magical abilities. Telekinesis lifts and pulls targets with purple particles. Soul Pull drags nearby hostile mobs toward the caster. Reaper Strike delivers a sweeping AoE attack with slowness. Time Freeze cinematically suspends all nearby entities in their exact posture using red laser beams and a shockwave, with a robust FreezeManager ensuring safe restoration. Includes configurable cooldowns, particle optimization, exploit protection via PersistentDataContainer, admin commands, and a full resource pack for the custom scythe model.
  1. Build a Paper 1.20.4 Gradle plugin with separated item, cooldown, ability, freeze, command, and listener systems.

  2. Add configurable abilities, exploit protection, lifecycle cleanup, commands, and plugin metadata.

  3. Add a self-contained custom 3D resource-pack model and installation documentation.

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code