ayumu koizumi

死んだ場所に墓を作る。 丸石縦に2個 一番上の丸石の表面に看板、1行目に死んだプレイヤーの名前 2行目には死んだ日にち ( 2026 0/00 ) 英語/日本対応/その他

Kodari AI
KodariSep 28 at 9:59 am 1
GraveMarker
GraveMarker is a Minecraft plugin that automatically creates a grave at the exact location where a player dies. It places two cobblestone blocks vertically, with a sign attached to the top block's surface. The sign displays the deceased player's name on the first line and the death date formatted as (2026 0/00) on the second line. The plugin supports multiple languages including English, Japanese, and other locales, automatically detecting the server's language settings. Graves persist in the world, providing a visual memorial and allowing players to locate their death spots easily. Configuration options allow server administrators to customize block types, sign text formatting, and language preferences.
  • 死亡時の足元に、既存ブロックを壊さず丸石2個と看板を設置します。

  • 看板にプレイヤー名と死亡日を記録し、日付形式・ロケールを設定可能にします。

  • Paperプラグイン一式(Gradle設定、plugin.yml、config.yml、Javaクラス)を作成します。

死亡地点に丸石を縦2個置き、その上にプレイヤー名と死亡日を表示する墓プラグインを作成しました。既存のブロックは上書きせず、設置できない場所では墓を作りません。

config.yml の date-locale と date-format で、日本語・英語などのロケールや日付形式を変更できます。既定の日付形式は yyyy MM/dd です。

ayumu koizumi

その墓は壊せないようにする

Kodari AI
KodariSep 28 at 10:00 am 1
  • 墓の看板に永続的な識別情報を保存します。

  • 看板と下の丸石2個へのプレイヤーの破壊をキャンセルし、再起動後も保護します。

墓の看板と下の丸石2個をプレイヤーが壊せないようにしました。看板に墓の識別情報を保存するため、サーバー再起動後も保護されます。

ayumu koizumi

auto PVP 管理者専用コマンド /autopvp をうつと自動で半径50ブロック以内のプレイヤーへ走り、見て攻撃。インベントリをAIで管理 攻撃の際 離れて弓撃ちか近づいて斧/剣で攻撃か離れて回復 /stopautopvpで止まる

Kodari AI
KodariSep 28 at 2:16 pm 1
  1. 既存プラグインの構成と対応Minecraft APIを確認します。

  2. 管理者専用の開始・停止コマンドと、半径50ブロック内の相手を追跡して戦うAIを追加します。

  3. インベントリを確認して装備・回復を使い分けます。

[Generation stopped]

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
6 163
src/main/java/com/kodari/deathgraves/DeathGravesPlugin.java
package com.kodari.deathgraves;

import org.bukkit.plugin.java.JavaPlugin;

public final class DeathGravesPlugin extends JavaPlugin {
    @Override
    public void onEnable() {
        saveDefaultConfig();
        getServer().getPluginManager().registerEvents(new GraveListener(this), this);
    }
}