fakhir ali

Sale mery lye aik plugin bna jis mai mai apne dosto ki phar ke rkh do

Kodari AI
KodariSep 28 at 6:13 pm 1
FriendShopLocker
A Minecraft plugin that lets players lock their chests and shops for their friends. Players can add friends to their locked containers, allowing those friends to access and manage the shop inventory while keeping strangers out. Includes commands to add/remove friends, toggle lock status, and view locked chests. Supports both single-chest and double-chest locking, with visual indicators showing lock status. Permissions-based system for admin override and friend management. Simple GUI-free interaction using command syntax and item interactions for quick setup.

Aap “apne dosto ki phaar ke rakh do” se kya murad le rahe hain? Plugin doston ke saath kya kare—prank, PvP feature, ya kuch aur? Thora detail bata dein.

fakhir ali

Matlab woh dr kr mar jayein

Kodari AI
KodariSep 28 at 6:14 pm 1

Plan:

  • /scare <player> command with permission checks.

  • Run a short horror sequence of titles and sounds, then kill the target in-game.

  • Add the Paper/Gradle project files and plugin descriptor.

FriendFear plugin bana diya. OP /scare <player> chala kar dost ko horror titles aur sounds se dara sakta hai; sequence ke baad target mar jayega. Permission: friendfear.scare.

fakhir ali

hn hn done and us mai memes ho and koi horro video scenes aajye

Kodari AI
KodariSep 28 at 6:15 pm 1
  • Native Minecraft UI video stream nahi chala sakti; main horror “scenes” ko cinematic titles, captions aur sounds se dikhata hoon.

  • Sequence mein beech-beech mein meme titles bhi honge.

  • Maujooda /scare flow ko isi sequence se update karta hoon.

/scare mein horror scene-style titles, captions, sounds aur meme breaks add kar diye. Minecraft plugin asli video clips stream nahi kar sakta, isliye scenes in-game titles aur sounds se simulate hote hain.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
4 125
src/main/java/com/kodari/friendfear/FriendFearPlugin.java
package com.kodari.friendfear;

import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
import org.bukkit.scheduler.BukkitRunnable;

public final class FriendFearPlugin extends JavaPlugin implements CommandExecutor {

    @Override
    public void onEnable() {
        getCommand("scare").setExecutor(this);
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        if (args.length != 1) {
            sender.sendMessage(ChatColor.RED + "Usage: /scare <player>");
            return true;
        }

        Player target = Bukkit.getPlayerExact(args[0]);
        if (target == null) {
            sender.sendMessage(ChatColor.RED + "That player is not online.");
            return true;
        }

        if (sender instanceof Player player && player.getUniqueId().equals(target.getUniqueId())) {
            sender.sendMessage(ChatColor.RED + "You can't scare yourself.");
            return true;
        }

        sender.sendMessage(ChatColor.GREEN + "You started scaring " + target.getName() + ".");
        runScareSequence(target);
        return true;
    }

    private void runScareSequence(Player target) {
        new BukkitRunnable() {
            private int tick = 0;

            @Override
            public void run() {
                if (!target.isOnline() || target.isDead()) {
                    cancel();
                    return;
                }

                switch (tick) {
                    case 0 -> {
                        target.sendTitle(ChatColor.DARK_RED + "SCENE 1: THE HALLWAY", ChatColor.GRAY + "Footsteps echo behind you...", 0, 35, 5);
                        target.playSound(target.getLocation(), "entity.ghast.scream", 1.0f, 0.6f);
                    }
                    case 20 -> target.sendTitle(ChatColor.GRAY + "POV: YOU HEARD A NOISE", ChatColor.WHITE + "You: it's probably nothing", 0, 30, 5);
                    case 40 -> {
                        target.sendTitle(ChatColor.RED + "SCENE 2: DON'T LOOK BACK", ChatColor.DARK_GRAY + "It's getting closer...", 0, 35, 5);
                        target.playSound(target.getLocation(), "entity.ghast.scream", 1.0f, 0.8f);
                    }
                    case 60 -> target.sendTitle(ChatColor.GOLD + "MEANWHILE...", ChatColor.YELLOW + "Your friend watching this: 😂", 0, 30, 5);
                    case 80 -> {
                        target.sendTitle(ChatColor.DARK_RED + "SCENE 3: IT'S HERE", ChatColor.GRAY + "RUN! There's nowhere to hide.", 0, 35, 5);
                        target.playSound(target.getLocation(), "entity.wither.spawn", 1.0f, 0.7f);
                    }
                    case 100 -> target.sendTitle(ChatColor.GREEN + "Meme break", ChatColor.WHITE + "That was your last heart 💀", 0, 30, 5);
                    case 120 -> {
                        target.playSound(target.getLocation(), "entity.ghast.scream", 1.0f, 0.5f);
                        target.sendTitle(ChatColor.DARK_RED + "JUMPSCARE!", ChatColor.BLACK + "TOO LATE", 0, 20, 5);
                    }
                    case 140 -> {
                        target.sendTitle(ChatColor.DARK_GRAY + "THE END", ChatColor.GRAY + "Thanks for watching...", 0, 20, 5);
                        target.setHealth(0.0);
                        cancel();
                        return;
                    }
                    default -> {
                    }
                }

                tick += 20;
            }
        }.runTaskTimer(this, 0L, 20L);
    }
}