Skip to content

Commit 0e75b2b

Browse files
authored
Update README.md
1 parent 32a9d9c commit 0e75b2b

1 file changed

Lines changed: 112 additions & 1 deletion

File tree

README.md

Lines changed: 112 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,113 @@
11
# DropRateController
2-
アイテムのドロップ率を変えるプラグイン
2+
アイテムのドロップ率を変えるプラグイン 日本語は下
3+
# DropRateController Plugin
4+
# Support 1.13~1.21.4
5+
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.
6+
7+
## Features
8+
9+
- Configure the drop rate for items dropped by mobs and blocks.
10+
- Permission-based usage for commands and functionality.
11+
- Configurable messages and settings stored in `config.yml`.
12+
- Supports tab completion for easier command usage.
13+
14+
## Installation
15+
16+
1. Download the plugin's `.jar` file.
17+
2. Place the `.jar` file in your server's `plugins` directory.
18+
3. Start or reload your server.
19+
4. Edit the `config.yml` file generated in the `plugins/DropRateController` folder to customize drop rates and messages.
20+
21+
## Commands
22+
23+
### `/dropchance`
24+
- **Description**: Manage the drop rate for items.
25+
- **Usage**:
26+
- `/dropchance get`: Displays the current drop rate.
27+
- `/dropchance set <value>`: Sets the drop rate to a value between 0 and 100.
28+
- **Permission**: `dropratecontroller.use`
29+
30+
## Permissions
31+
32+
| Permission | Description |
33+
|---------------------------|----------------------------------------------|
34+
| `dropratecontroller.use` | Allows the player to use `/dropchance`. |
35+
36+
## Configuration
37+
38+
The plugin generates a `config.yml` file where you can configure the following:
39+
40+
```yaml
41+
# Default drop rate percentage (0 to 100)
42+
dropRate: 1.0
43+
44+
messages:
45+
usage: "Usage: /dropchance <get|set <value>>"
46+
get: "Current drop rate: %.2f%%"
47+
set: "Drop rate updated to %.2f%%"
48+
invalid: "Invalid value. Please provide a number between 0 and 100."
49+
range_error: "Please enter a number between 0 and 100."
50+
no_permission: "You do not have permission to use this command."
51+
```
52+
53+
## How It Works
54+
55+
### Block Drops
56+
57+
### Mob Drops
58+
59+
# DropRateController プラグイン
60+
61+
DropRateController は、サーバー管理者がブロックやモブからドロップするアイテムの確率を設定できる Minecraft プラグインです。このプラグインは、最新の Minecraft バージョンと互換性があり、簡単に使用できるコマンドシステムを提供します。
62+
63+
## 特徴
64+
65+
- ブロックやモブからドロップするアイテムの確率を設定可能。
66+
- コマンドや機能に対する権限管理。
67+
- `config.yml` に保存された設定やメッセージのカスタマイズ。
68+
- タブ補完による簡単なコマンド入力サポート。
69+
70+
## インストール
71+
72+
1. プラグインの `.jar` ファイルをダウンロードします。
73+
2. サーバーの `plugins` フォルダに `.jar` ファイルを配置します。
74+
3. サーバーを起動またはリロードします。
75+
4. `plugins/DropRateController` フォルダ内に生成される `config.yml` を編集して、ドロップ率やメッセージをカスタマイズします。
76+
77+
## コマンド
78+
79+
### `/dropchance`
80+
- **説明**: ドロップ率を管理します。
81+
- **使い方**:
82+
- `/dropchance get`: 現在のドロップ率を表示します。
83+
- `/dropchance set <value>`: ドロップ率を 0 から 100 の値で設定します。
84+
- **権限**: `dropratecontroller.use`
85+
86+
## 権限
87+
88+
| 権限 | 説明 |
89+
|----------------------------|-------------------------------------------|
90+
| `dropratecontroller.use` | プレイヤーが `/dropchance` を使用可能。 |
91+
92+
## 設定ファイル
93+
94+
プラグインは `config.yml` ファイルを生成します。このファイルで以下を設定できます:
95+
96+
```yaml
97+
# デフォルトのドロップ率 (0 ~ 100)
98+
dropRate: 1.0
99+
100+
messages:
101+
usage: "使い方: /dropchance <get|set <value>>"
102+
get: "現在のドロップ率: %.2f%%"
103+
set: "ドロップ率を %.2f%% に更新しました"
104+
invalid: "無効な値です。0 から 100 の数値を入力してください。"
105+
range_error: "0 から 100 の範囲内で数値を入力してください。"
106+
no_permission: "このコマンドを使用する権限がありません。"
107+
```
108+
109+
## 動作概要
110+
111+
### ブロックのドロップ
112+
113+
### モブのドロップ

0 commit comments

Comments
 (0)