gameribrahim95

Create a Minecraft plugin named "95_Weapon".

Requirements:

  • Platform: Paper / Spigot (latest version, compatible with Minecraft 1.21.x)
  • Language: Java

Features:

  1. Add at least 5 custom weapons with unique names:

- Flame Blade - Shadow Dagger - Thunder Hammer - Frost Axe - Wind Katana

  1. Each weapon must have:

- Custom damage higher than normal weapons - Special ability (like fire, lightning, freeze, or speed effect)

  1. Cooldown System:

- Each weapon ability must have a 2-second cooldown - Prevent ability spam and show a message if used too early

  1. Effects:

- Add particles and sound effects when ability is used

  1. Commands:

- /giveweapon <name> → gives the selected custom weapon

  1. Permissions:

- Only OP or players with permission can use commands

  1. Config:

- Allow editing weapon damage and cooldown in a config.yml file

  1. Output:

- Provide full source code and compiled .jar file - Include instructions on how to install the plugin

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

No files in this session

Code