Skip to content

Commit e85736d

Browse files
authored
Update README.md
1 parent 9c38786 commit e85736d

File tree

1 file changed

+88
-1
lines changed

1 file changed

+88
-1
lines changed

README.md

Lines changed: 88 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,88 @@
1-
# BlockCountWinner
1+
# Block Count Winner Plugin
2+
3+
## Overview
4+
This plugin allows Minecraft server operators to create customizable block-count-based competitions in a defined area. Players compete by placing specific blocks, and the plugin calculates the percentages of block placements to determine the winner. The plugin supports multiple areas and configurable team names, messages, and block types.
5+
6+
---
7+
8+
# ブロックカウント勝者プラグイン
9+
10+
## 概要
11+
このプラグインは、Minecraftサーバーのオペレーターがカスタマイズ可能なブロック計測ベースのコンペティションを実施できるようにします。プレイヤーは特定のブロックを置き、プラグインはブロックの計測割合を計算して勝者を決定します。複数のエリアとチーム名、メッセージ、ブロックタイプが設定可能です。
12+
13+
---
14+
15+
## Features / 機能
16+
17+
- Supports multiple areas (`hani1`, `hani2`, etc.)
18+
- Configurable block types and team names
19+
- Customizable victory messages with color codes
20+
- Command-based results calculation
21+
- All commands are restricted to server operators
22+
23+
・複数のエリアに対応 (例: `hani1`, `hani2`)
24+
・ブロックタイプとチーム名が自由に設定可能
25+
・カラーコード使用可能な勝利メッセージ
26+
・コマンド基盤の結果計算
27+
・すべてのコマンドはオペレーターに限定
28+
29+
---
30+
31+
## Commands / コマンド
32+
33+
### `/blockwinner hani1`
34+
- Calculates the block percentages for the area `hani1` and announces the winner in chat.
35+
36+
例: `/blockwinner hani1`
37+
- `hani1`のエリアのブロック割合を計算し、チャットに勝者を告知します。
38+
39+
### `/blockwinnerpercent x y z dx dy dz`
40+
- Calculates the block percentages for the specified coordinates and announces the winner in chat.
41+
42+
例: `/blockwinnerpercent x y z dx dy dz`
43+
- 指定された座標のブロック割合を計算し、チャットに勝者を告知します。
44+
45+
---
46+
47+
## Configuration / 設定
48+
49+
```yaml
50+
teamname1: "Team Red"
51+
teamname2: "Team Blue"
52+
53+
block1: "minecraft:red_wool"
54+
block2: "minecraft:blue_wool"
55+
56+
# Victory message
57+
message: "&6{team}&rの勝利!結果は &c{percent1}% &rVS &9{percent2}% でした。"
58+
59+
hani1:
60+
x: 0
61+
y: 64
62+
z: 0
63+
dx: 10
64+
dy: 10
65+
dz: 10
66+
hani2:
67+
x: -20
68+
y: 64
69+
z: -20
70+
dx: 10
71+
dy: 10
72+
dz: 10
73+
```
74+
75+
---
76+
77+
## Installation / インストール
78+
79+
1. Place the JAR file into the `plugins` folder of your Minecraft server.
80+
2. Start or restart the server.
81+
3. Edit the configuration file (`plugins/BlockCountWinner/config.yml`) to your preferences.
82+
4. Use the commands to start competitions.
83+
84+
1. JARファイルをMinecraftサーバーの`plugins`フォルダに設置します。
85+
2. サーバーを起動または再起動します。
86+
3. コンフィグファイル(`plugins/BlockCountWinner/config.yml`)を編集します。
87+
4. コマンドを使用してコンペティションを始めます。
88+

0 commit comments

Comments
 (0)