アイテムのドロップ率を変えるプラグイン 日本語は下
DropRateController is a Minecraft plugin that allows server administrators to control the drop rates of items from both blocks and mobs with a configurable probability. This plugin is compatible with all modern Minecraft versions and provides an easy-to-use command system.
- Configure the drop rate for items dropped by mobs and blocks.
- Permission-based usage for commands and functionality.
- Configurable messages and settings stored in
config.yml. - Supports tab completion for easier command usage.
- Download the plugin's
.jarfile. - Place the
.jarfile in your server'spluginsdirectory. - Start or reload your server.
- Edit the
config.ymlfile generated in theplugins/DropRateControllerfolder to customize drop rates and messages.
- Description: Manage the drop rate for items.
- Usage:
/dropchance get: Displays the current drop rate./dropchance set <value>: Sets the drop rate to a value between 0 and 100.
- Permission:
dropratecontroller.use
| Permission | Description |
|---|---|
dropratecontroller.use |
Allows the player to use /dropchance. |
The plugin generates a config.yml file where you can configure the following:
# Default drop rate percentage (0 to 100)
dropRate: 1.0
messages:
usage: "Usage: /dropchance <get|set <value>>"
get: "Current drop rate: %.2f%%"
set: "Drop rate updated to %.2f%%"
invalid: "Invalid value. Please provide a number between 0 and 100."
range_error: "Please enter a number between 0 and 100."
no_permission: "You do not have permission to use this command."DropRateController は、サーバー管理者がブロックやモブからドロップするアイテムの確率を設定できる Minecraft プラグインです。このプラグインは、最新の Minecraft バージョンと互換性があり、簡単に使用できるコマンドシステムを提供します。
- ブロックやモブからドロップするアイテムの確率を設定可能。
- コマンドや機能に対する権限管理。
config.ymlに保存された設定やメッセージのカスタマイズ。- タブ補完による簡単なコマンド入力サポート。
- プラグインの
.jarファイルをダウンロードします。 - サーバーの
pluginsフォルダに.jarファイルを配置します。 - サーバーを起動またはリロードします。
plugins/DropRateControllerフォルダ内に生成されるconfig.ymlを編集して、ドロップ率やメッセージをカスタマイズします。
- 説明: ドロップ率を管理します。
- 使い方:
/dropchance get: 現在のドロップ率を表示します。/dropchance set <value>: ドロップ率を 0 から 100 の値で設定します。
- 権限:
dropratecontroller.use
| 権限 | 説明 |
|---|---|
dropratecontroller.use |
プレイヤーが /dropchance を使用可能。 |
プラグインは config.yml ファイルを生成します。このファイルで以下を設定できます:
# デフォルトのドロップ率 (0 ~ 100)
dropRate: 1.0
messages:
usage: "使い方: /dropchance <get|set <value>>"
get: "現在のドロップ率: %.2f%%"
set: "ドロップ率を %.2f%% に更新しました"
invalid: "無効な値です。0 から 100 の数値を入力してください。"
range_error: "0 から 100 の範囲内で数値を入力してください。"
no_permission: "このコマンドを使用する権限がありません。"