drollking0658

Starting System

When a player joins the server for the first time, a title appears on the screen: “Welcome to Ability SMP.” When a player types the command /abilitysmp start, a 10-second countdown begins.

When the countdown ends:

All players start flying upward about 10 blocks.

Each player receives a random ability.

After that they fall back down, but no fall damage is applied.

A title appears on the screen showing the ability name and its powers.

Ability Activation Controls

Ability 1: Sneak (crouch) + Attack button Ability 2: Sneak (crouch) + Place block button Abilities

  1. Fly Ability

Power 1

Player can fly in survival mode for 3 minutes.

After the time ends, if the player is flying they will fall but take no fall damage.

Cooldown: 10 seconds

Power 2

Launch nearby enemy players 200 blocks into the air.

Enemies take fall damage when landing.

The player who used the ability does not get launched.

Cooldown: 50 seconds

  1. Strong Ability

Power 1

Gives Strength V for 2 minutes.

Cooldown: 20 seconds

Power 2

Gives Strength XX for 3 minutes.

Cooldown: 1 minute

  1. Fire Ability

Power 1

Player becomes immune to lava damage for 4 minutes.

Power 2

Creates a 4×4 magma wall that is 5 blocks high.

Lava falls down from the top of the wall.

Cooldown: 2 minutes

  1. Invisible Ability

Power 1

Player becomes invisible but armor is still visible.

Duration: 1 minute Cooldown: 50 seconds

Power 2

All other players become invisible without armor, while the user remains invisible with armor.

Duration: 3 minutes Cooldown: 3 minutes

  1. Speed Ability

Power 1

Gives Speed III for 2 minutes.

Cooldown: 1 minute

Power 2

Gives Speed X for 1 minute.

Cooldown: 3 minutes

  1. Warden Ability

Power 1

All players within 50 blocks get Blindness, except the user.

Cooldown: 1 minute

Power 2

Fires a Warden Sonic Beam that one-shot kills a player.

Cooldown: 3 minutes

  1. Earth Ability

Power 1

Breaks blocks straight down to the void in a 10×10 area.

Cooldown: 3 minutes

Power 2

Creates a 25×25 dirt wall.

Cooldown: 2 minutes

  1. Control Ability

Power 1

Makes another player fly uncontrollably.

Cooldown: 2 minutes

Power 2

Mind control an enemy player for 3 minutes.

The enemy cannot control their character, but the user can control them.

Cooldown: 3 minutes

Kodari AI
KodariApr 26 at 8:35 am 15,699 (v2)

I’ll create a comprehensive Ability SMP plugin where players receive random abilities with unique powers.

AbilitySMP
An SMP plugin where players receive random abilities with unique powers. Features 8 distinct abilities including Fly, Strong, Fire, Invisible, Speed, Warden, Earth, and Control. Each ability has two powers activated via sneak combinations, complete with cooldowns, visual effects, and a starting ceremony system.

Project Created: AbilitySMP

I’ve created a complete Ability SMP plugin with:

✅ 8 Unique Abilities: Fly, Strong, Fire, Invisible, Speed, Warden, Earth, Control ✅ Dual Powers: Each ability has 2 powers (Sneak + Attack, Sneak + Place Block) ✅ Start Ceremony: Welcome titles, countdown, player launch, random ability assignment ✅ Cooldown System: Configurable cooldowns for all powers ✅ Special Effects: No fall damage protection, lava immunity, mind control, sonic beams ✅ Configuration: Fully customizable durations, cooldowns, and messages

Key Features:

  • Players get welcome title on first join

  • /abilitysmp start initiates 10-second countdown

  • Players launch 10 blocks up and receive random abilities

  • Powers activated via Sneak + Left Click (Power 1) or Sneak + Right Click (Power 2)

  • Mind control system moves controlled players with the controller

  • Warden sonic beam with particle effects

  • Automatic wall generation (Earth/Fire abilities)

  • Cross-version compatible with XSeries

All abilities are fully implemented with their specified durations and cooldowns!

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
manifest.kod
Code
24 1,182
src/main/java/com/abilitysmp/AbilitySMP.java
package com.abilitysmp;

import com.abilitysmp.commands.StartCommand;
import com.abilitysmp.listeners.AbilityActivationListener;
import com.abilitysmp.listeners.DamageListener;
import com.abilitysmp.listeners.JoinListener;
import com.abilitysmp.managers.AbilityManager;
import com.abilitysmp.managers.GameManager;
import com.abilitysmp.managers.PlayerDataManager;
import lombok.Getter;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public class AbilitySMP extends JavaPlugin {
    
    private PlayerDataManager playerDataManager;
    private AbilityManager abilityManager;
    private GameManager gameManager;
    
    @Override
    public void onEnable() {
        saveDefaultConfig();
        
        this.playerDataManager = new PlayerDataManager();
        this.abilityManager = new AbilityManager(this);
        this.gameManager = new GameManager(this);
        
        getCommand("abilitysmp").setExecutor(new StartCommand(this));
        
        getServer().getPluginManager().registerEvents(new JoinListener(this), this);
        getServer().getPluginManager().registerEvents(new AbilityActivationListener(this), this);
        getServer().getPluginManager().registerEvents(new DamageListener(this), this);
        
        getLogger().info("AbilitySMP has been enabled!");
    }
    
    @Override
    public void onDisable() {
        if (gameManager != null) {
            gameManager.cleanup();
        }
        getLogger().info("AbilitySMP has been disabled!");
    }
}