
GamemodeCheck
Check a player's game mode or list all players by game mode. プレイヤーのゲームモードを確認できます。 ゲームモードの一覧も見ることができます。
GamemodeChecker
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
- Download the latest
GamemodeChecker-1.0-shaded.jarfrom the releases - Place the JAR file in your server's
pluginsfolder - Restart your server or use
/reloadcommand - The plugin will automatically create a
config.ymlfile in theplugins/GamemodeCheckerfolder
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
- Clone this repository
- Make sure you have Maven installed
- Run the following command:
mvn clean package - The compiled JAR file will be in the
targetfolder
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以上
インストール
- リリースから最新の
GamemodeChecker-1.0-shaded.jarをダウンロード - JARファイルをサーバーの
pluginsフォルダに配置 - サーバーを再起動するか
/reloadコマンドを使用 - プラグインは自動的に
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のカラーコード(& プレフィックス)を使用してこれらのメッセージをカスタマイズできます。
ソースからビルド
- このリポジトリをクローン
- Mavenがインストールされていることを確認
- 次のコマンドを実行:
mvn clean package - コンパイルされたJARファイルは
targetフォルダにあります
ライセンス
このプロジェクトはオープンソースです。必要に応じて自由に使用および変更してください。
作者
koirdsuzu
