Перейти к содержимому
Mineforgian

GamemodeCheck

Check a player's game mode or list all players by game mode. プレイヤーのゲームモードを確認できます。 ゲームモードの一覧も見ることができます。

Загрузки
29
Подписчики
0
Обновлён
5 июня 2025 г.
Лицензия
MIT

Опубликован 5 июня 2025 г.

GamemodeChecker

English | 日本語


English

Overview

GamemodeChecker is a Minecraft Spigot plugin that allows server administrators and operators to check players' game modes. You can check a specific player's game mode or view all online players grouped by their game modes.

Features

  • Check Individual Player: Check a specific player's game mode using their Minecraft username
  • List All Players: View all online players organized by game mode
  • Tab Completion: Auto-complete player names when typing the command
  • Customizable Messages: All messages can be customized through the config.yml file
  • Permission-Based: Uses Bukkit permissions for access control

Requirements

  • Minecraft Version: 1.20.1 or compatible
  • Server Software: Spigot or Paper
  • Java Version: 17 or higher

Installation

  1. Download the latest GamemodeChecker-1.0-shaded.jar from the releases
  2. Place the JAR file in your server's plugins folder
  3. Restart your server or use /reload command
  4. The plugin will automatically create a config.yml file in the plugins/GamemodeChecker folder

Usage

Check a Player's Game Mode

/gamemodecheck <player_name>

Example:

/gamemodecheck Steve

List All Players by Game Mode

/gamemodecheck *

This will display all online players grouped by their game modes (SURVIVAL, CREATIVE, ADVENTURE, SPECTATOR).

Commands

Command Description Permission
/gamemodecheck <MCID|*> Check a player's game mode or list all players by game mode gamemodecheck.use

Permissions

Permission Description Default
gamemodecheck.use Allows use of the /gamemodecheck command OP

Configuration

The plugin creates a config.yml file with customizable messages:

messages:
  usage: "&eUsage: /gamemodecheck <MCID|*>"
  no-permission: "&cYou do not have permission to use this command."
  player-not-found: "&cPlayer {player} not found."
  player-mode: "&6Player {player}'s game mode: &a{mode}"
  list-header: "&6Game Modes:"
  mode-format: "&e{mode}: &a{players}"

You can customize these messages using Minecraft color codes (& prefix).

Building from Source

  1. Clone this repository
  2. Make sure you have Maven installed
  3. Run the following command:
    mvn clean package
    
  4. The compiled JAR file will be in the target folder

License

This project is open source. Feel free to use and modify it as needed.

Author

koirdsuzu


Japanese

概要

GamemodeCheckerは、サーバー管理者やオペレーターがプレイヤーのゲームモードを確認できるMinecraft Spigotプラグインです。特定のプレイヤーのゲームモードを確認したり、ゲームモード別にすべてのオンラインプレイヤーを表示したりできます。

機能

  • 個別プレイヤー確認: Minecraftユーザー名を使用して特定のプレイヤーのゲームモードを確認
  • 全プレイヤー一覧: ゲームモード別に整理されたすべてのオンラインプレイヤーを表示
  • タブ補完: コマンド入力時にプレイヤー名を自動補完
  • カスタマイズ可能なメッセージ: config.ymlファイルを通じてすべてのメッセージをカスタマイズ可能
  • 権限ベース: アクセス制御にBukkit権限を使用

要件

  • Minecraftバージョン: 1.20.1以上または互換バージョン
  • サーバーソフトウェア: SpigotまたはPaper
  • Javaバージョン: 17以上

インストール

  1. リリースから最新の GamemodeChecker-1.0-shaded.jar をダウンロード
  2. JARファイルをサーバーの plugins フォルダに配置
  3. サーバーを再起動するか /reload コマンドを使用
  4. プラグインは自動的に plugins/GamemodeChecker フォルダに config.yml ファイルを作成します

使用方法

プレイヤーのゲームモードを確認

/gamemodecheck <プレイヤー名>

例:

/gamemodecheck Steve

ゲームモード別に全プレイヤーを一覧表示

/gamemodecheck *

これにより、ゲームモード(SURVIVAL、CREATIVE、ADVENTURE、SPECTATOR)別にすべてのオンラインプレイヤーが表示されます。

コマンド

コマンド 説明 権限
/gamemodecheck <MCID|*> プレイヤーのゲームモードを確認するか、ゲームモード別に全プレイヤーを一覧表示 gamemodecheck.use

権限

権限 説明 デフォルト
gamemodecheck.use /gamemodecheckコマンドの使用を許可 OP

設定

プラグインはカスタマイズ可能なメッセージを含む config.yml ファイルを作成します:

messages:
  usage: "&eUsage: /gamemodecheck <MCID|*>"
  no-permission: "&cYou do not have permission to use this command."
  player-not-found: "&cPlayer {player} not found."
  player-mode: "&6Player {player}'s game mode: &a{mode}"
  list-header: "&6Game Modes:"
  mode-format: "&e{mode}: &a{players}"

Minecraftのカラーコード(& プレフィックス)を使用してこれらのメッセージをカスタマイズできます。

ソースからビルド

  1. このリポジトリをクローン
  2. Mavenがインストールされていることを確認
  3. 次のコマンドを実行:
    mvn clean package
    
  4. コンパイルされたJARファイルは target フォルダにあります

ライセンス

このプロジェクトはオープンソースです。必要に応じて自由に使用および変更してください。

作者

koirdsuzu

Ченджлог

1.0Релиз1.21.3, 1.21.4, 1.21.5 · 5 июня 2025 г.

✅ 日本語版:GamemodeCheck v1.0 リリースノート

GamemodeCheck は、サーバー管理者がプレイヤーのゲームモードを素早く確認できる、シンプルかつ便利なツールです。


🛠 主な機能

  • 🎯 特定プレイヤーのゲームモード確認 /gamemodecheck <MCID> で、指定プレイヤーの現在のゲームモードを表示します。

  • 📋 全プレイヤーのゲームモード一覧表示 /gamemodecheck * で、オンラインプレイヤーをゲームモードごとに分類して表示します。

  • 🎨 メッセージのカスタマイズ config.yml を編集することで、すべてのメッセージを自由に変更可能。カラーコード(&)対応。

  • ⌨️ タブ補完対応 コマンド入力時にオンラインプレイヤー名や * を自動補完。


📦 コマンド

/gamemodecheck <MCID | *>

  • <MCID> を指定 → 該当プレイヤーのゲームモードを表示
  • * を指定 → ゲームモードごとにオンラインプレイヤーを一覧表示

🔐 パーミッション

ノード 説明 デフォルト
gamemodecheck.use コマンド使用を許可 OPのみ

⚙️ 設定ファイル(config.yml

messages:
  no-permission: "&cYou do not have permission to use this command."
  usage: "&eUsage: /gamemodecheck <MCID|*>"
  player-not-found: "&cPlayer {player} not found."
  player-mode: "&aPlayer {player}'s game mode: &e{mode}"
  list-header: "&6Game Modes:"
  mode-format: "&e{mode}: &a{players}"
  • {player} → プレイヤー名
  • {mode} → ゲームモード名
  • {players} → プレイヤー名の一覧

🔮 今後の予定

  • オフラインプレイヤーのゲームモード確認に対応予定

ご意見・バグ報告・要望など、お気軽にご連絡ください!


🇺🇸 English Version: GamemodeCheck v1.0 Release Notes

GamemodeCheck is a lightweight and useful plugin that allows server administrators to quickly check players' game modes.


✨ Features

  • 🔍 Check a specific player's game mode Use /gamemodecheck <MCID> to display the current game mode of a player.

  • 📊 List all players by game mode Use /gamemodecheck * to group and display all online players by their game mode.

  • 🎨 Fully customizable messages All messages can be edited in config.yml. Supports color codes (&).

  • ⌨️ Tab completion support Automatically suggests online player names and the * argument.


📌 Command

/gamemodecheck <MCID | *>

  • Specify <MCID> → Shows that player's game mode
  • Use * → Lists all online players grouped by game mode

🔐 Permission

Node Description Default
gamemodecheck.use Allows use of the command OP only

⚙️ Configuration (config.yml)

messages:
  no-permission: "&cYou do not have permission to use this command."
  usage: "&eUsage: /gamemodecheck <MCID|*>"
  player-not-found: "&cPlayer {player} not found."
  player-mode: "&aPlayer {player}'s game mode: &e{mode}"
  list-header: "&6Game Modes:"
  mode-format: "&e{mode}: &a{players}"
  • {player} → Player name
  • {mode} → Game mode
  • {players} → List of player names

🛠 Future Plans

  • Support for checking offline players’ game modes

Feel free to report bugs or share feature requests!


Комментарии

Загружаем…