Skip to content

Commit a731631

Browse files
committed
Update README and add demo
1 parent b191071 commit a731631

4 files changed

Lines changed: 94 additions & 87 deletions

File tree

β€ŽREADME.mdβ€Ž

Lines changed: 94 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,55 @@
11
# ConfigStackMC
22

33
<p align="center">
4-
<img src="https://img.shields.io/github/v/release/TheETR/ConfigStackMC?style=for-the-badge&logo=github&label=Latest%20Release" alt="Latest GitHub release">
5-
<img src="https://img.shields.io/github/downloads/TheETR/ConfigStackMC/total?style=for-the-badge&logo=github&label=Downloads" alt="GitHub release downloads">
6-
<img src="https://img.shields.io/github/actions/workflow/status/TheETR/ConfigStackMC/release.yml?branch=main&style=for-the-badge&logo=githubactions&label=Release%20Build" alt="Release workflow status">
4+
<a href="https://github.com/TheETR/ConfigStackMC/releases/latest">
5+
<img src="https://img.shields.io/github/v/release/TheETR/ConfigStackMC?style=for-the-badge&logo=github&label=Latest%20Release" alt="Latest GitHub release">
6+
</a>
7+
<a href="https://github.com/TheETR/ConfigStackMC/releases">
8+
<img src="https://img.shields.io/github/downloads/TheETR/ConfigStackMC/total?style=for-the-badge&logo=github&label=Downloads" alt="GitHub release downloads">
9+
</a>
10+
<a href="https://github.com/TheETR/ConfigStackMC/actions/workflows/release.yml">
11+
<img src="https://img.shields.io/github/actions/workflow/status/TheETR/ConfigStackMC/release.yml?branch=main&style=for-the-badge&logo=githubactions&label=Release%20Build" alt="Release workflow status">
12+
</a>
13+
</p>
714

15+
<p align="center">
816
<img src="https://img.shields.io/badge/Paper-server%20plugin-2E7DDE?style=for-the-badge" alt="Paper server plugin">
917
<img src="https://img.shields.io/badge/Fabric-singleplayer%20%2B%20server%20mod-DB8A00?style=for-the-badge" alt="Fabric singleplayer and server mod">
10-
1118
<img src="https://img.shields.io/badge/Java-25-B07219?style=for-the-badge&logo=openjdk&logoColor=white" alt="Java 25">
1219
</p>
1320

14-
ConfigStackMC is a small Minecraft Java project that lets you change the stack size of specific items from a config file.
21+
<p align="center">
22+
<strong>Change Minecraft item stack sizes with a simple config file.</strong>
23+
</p>
24+
25+
---
26+
27+
ConfigStackMC lets you change stack sizes for vanilla items and Fabric mod items from one simple config file.
28+
29+
It works on Paper servers, Fabric singleplayer worlds, and Fabric multiplayer servers. Items you leave out of the config keep their normal stack size.
30+
31+
By default, the included config uses vanilla values, so installing ConfigStackMC does **not** change gameplay until you edit it.
32+
33+
<p align="center">
34+
<a href="#-demo">Demo</a> β€’
35+
<a href="#-download">Download</a> β€’
36+
<a href="#-which-file-should-i-use">Which file?</a> β€’
37+
<a href="#-configuration">Configuration</a> β€’
38+
<a href="#-commands">Commands</a> β€’
39+
<a href="#-troubleshooting">Troubleshooting</a>
40+
</p>
41+
42+
---
1543

16-
Want ender pearls to stack to 64? Totems to stack to 16? Buckets to stack to 16? Add the item id to the config, set the number, reload, and you are done.
44+
## 🎬 Demo
1745

18-
By default, ConfigStackMC uses vanilla values, so installing it does **not** change gameplay until you edit the config.
46+
<p align="center">
47+
<img src="assets/ConfigStackMC-demo.gif" alt="ConfigStackMC item stack size demo">
48+
</p>
1949

2050
---
2151

22-
## Download
52+
## πŸ“¦ Download
2353

2454
Download the latest build from the **Releases** page:
2555

@@ -33,11 +63,11 @@ Each release contains separate files:
3363
| `ConfigStackMC-...-fabric.jar` | Fabric singleplayer or Fabric multiplayer servers | `mods/` |
3464
| `SHA256SUMS.txt` | Optional checksum verification | Nowhere; only for checking downloads |
3565

36-
Do **not** download the source code zip unless you are a developer. Normal users only need one of the jar files above.
66+
> You only need the jar that matches your setup. The source code archives are there for developers who want to build the project themselves.
3767
3868
---
3969

40-
## Which file should I use?
70+
## 🧩 Which file should I use?
4171

4272
### I run a Paper server
4373

@@ -59,29 +89,23 @@ ConfigStackMC is designed to work on the logical server side. If your server set
5989

6090
---
6191

62-
## Compatibility
92+
## βœ… Compatibility
6393

64-
Releases are built for a specific Minecraft version. Always check the release title and release notes before downloading.
94+
Each release targets a specific Minecraft version. Check the release title before downloading and use the jar that matches your game or server version.
6595

6696
Example release title:
6797

6898
```text
6999
ConfigStackMC v1.0.0-mc26.1.2
70100
```
71101

72-
The release workflow can automatically find the latest Minecraft version that has:
73-
74-
- a stable Paper build
75-
- a matching Fabric API artifact
76-
- a successful ConfigStackMC build
77-
78-
This means new Minecraft targets can be released without manually editing hardcoded version numbers every time.
102+
Paper and Fabric builds are provided separately for the same target version.
79103

80-
Build success means the jars compile against that Minecraft/Paper/Fabric target. For main servers, test the jar on a small test world first.
104+
A successful build means the project compiled for that target. For an important server or world, test the new jar once before replacing your current setup.
81105

82106
---
83107

84-
## Paper installation
108+
## πŸ› οΈ Paper installation
85109

86110
1. Download the `ConfigStackMC-...-paper.jar` file from Releases.
87111
2. Put it into your Paper server's `plugins/` folder.
@@ -99,57 +123,49 @@ plugins/ConfigStackMC/config.yml
99123
/stackconfig reload
100124
```
101125

102-
That is it. Vanilla clients can join normally.
103-
104126
---
105127

106-
## Fabric installation: singleplayer
128+
## 🧡 Fabric installation
129+
130+
Install Fabric Loader and Fabric API for the Minecraft version shown in the release notes, then download the `ConfigStackMC-...-fabric.jar` file.
131+
132+
### Singleplayer
107133

108-
1. Install Fabric Loader for the Minecraft version shown in the release notes.
109-
2. Install Fabric API for the same Minecraft version.
110-
3. Download the `ConfigStackMC-...-fabric.jar` file from Releases.
111-
4. Put it into your local `mods/` folder.
112-
5. Start the game once.
113-
6. Open the generated config:
134+
1. Put the Fabric jar into your local `mods/` folder.
135+
2. Start the game once.
136+
3. Open the generated config:
114137

115138
```text
116139
config/configstackmc.yml
117140
```
118141

119-
7. Edit the stack sizes you want.
120-
8. Run:
142+
4. Edit the stack sizes you want.
143+
5. Run:
121144

122145
```text
123146
/stackconfig reload
124147
```
125148

126-
---
127-
128-
## Fabric installation: multiplayer server
149+
### Multiplayer server
129150

130-
1. Install Fabric Loader on the server for the Minecraft version shown in the release notes.
131-
2. Install Fabric API on the server for the same Minecraft version.
132-
3. Download the `ConfigStackMC-...-fabric.jar` file from Releases.
133-
4. Put it into the server's `mods/` folder.
134-
5. Start or restart the server once.
135-
6. Open the generated config:
151+
1. Put the same Fabric jar into the server's `mods/` folder.
152+
2. Start or restart the server once.
153+
3. Open the generated config:
136154

137155
```text
138156
config/configstackmc.yml
139157
```
140158

141-
7. Edit the stack sizes you want.
142-
8. Run:
159+
4. Edit the stack sizes you want.
160+
5. Run:
143161

144162
```text
145163
/stackconfig reload
146164
```
147165

148-
The Fabric jar is for both Fabric singleplayer and Fabric multiplayer servers. Paper servers still need the Paper jar instead.
149-
150166
---
151167

152-
## Config example
168+
## βš™οΈ Configuration
153169

154170
Paper config path:
155171

@@ -168,6 +184,7 @@ Default config uses normal vanilla values. It is safe to install without changin
168184
```yaml
169185
max-allowed-stack-size: 99
170186
warn-dangerous-items: true
187+
171188
items:
172189
dried_ghast: 64
173190
bell: 64
@@ -187,6 +204,7 @@ Example edited config:
187204
```yaml
188205
max-allowed-stack-size: 99
189206
warn-dangerous-items: true
207+
190208
items:
191209
ender_pearl: 64
192210
snowball: 64
@@ -205,9 +223,24 @@ Item id rules:
205223
- Invalid item names are ignored with a warning instead of crashing the server/game.
206224
- Stack sizes must be from `1` to the safe API limit, currently `99`.
207225

226+
### Modded items
227+
228+
On Fabric, modded items should work as long as you use their full item id:
229+
230+
```yaml
231+
items:
232+
create:brass_ingot: 64
233+
farmersdelight:tomato: 32
234+
another_mod:custom_item: 16
235+
```
236+
237+
The part before `:` is the mod id. Leaving it out makes ConfigStackMC treat the item as a normal `minecraft:` item.
238+
239+
Paper does not have true Fabric/Forge mod items. Custom items added by Paper plugins are usually based on a vanilla material, so ConfigStackMC may only see the base item instead of that custom item by itself.
240+
208241
---
209242

210-
## Commands
243+
## ⌨️ Commands
211244

212245
| Command | Permission | What it does |
213246
| --- | --- | --- |
@@ -223,9 +256,12 @@ Examples:
223256
/stackconfig info minecraft:totem_of_undying
224257
```
225258

259+
> [!IMPORTANT]
260+
> After using `/stackconfig reload` or `/stacks reload`, some existing stacks may not update instantly. Reopen the inventory, reconnect, or restart the server/singleplayer world if needed.
261+
226262
---
227263

228-
## What ConfigStackMC changes
264+
## πŸŽ’ What ConfigStackMC changes
229265

230266
ConfigStackMC only changes the max stack size of configured items.
231267

@@ -242,7 +278,7 @@ Minecraft still decides whether two item stacks are compatible. For example, two
242278

243279
---
244280

245-
## Notes about special items
281+
## ⚠️ Notes about special items
246282

247283
Be careful when increasing stack sizes for items that can store special data, such as:
248284

@@ -258,48 +294,20 @@ ConfigStackMC does not block them, but stacking data-heavy items can have gamepl
258294

259295
---
260296

261-
## Troubleshooting
262-
263-
### Paper says the jar has no `plugin.yml` or `paper-plugin.yml`
264-
265-
You probably placed the wrong file in `plugins/`.
266-
267-
Use the file with `paper` in its name:
268-
269-
```text
270-
ConfigStackMC-...-paper.jar
271-
```
272-
273-
Do not use the Fabric jar on Paper.
297+
## 🧯 Troubleshooting
274298

275-
### Fabric does not load the mod
299+
Most problems are caused by using the wrong jar or mixing versions.
276300

277-
Check that you installed:
301+
- **Paper server:** use the jar with `paper` in its name and place it in `plugins/`.
302+
- **Fabric:** use the jar with `fabric` in its name, place it in `mods/`, and make sure Fabric Loader and Fabric API match the Minecraft version shown in the release.
303+
- **Config changes are not showing:** run `/stackconfig reload`, then reopen the inventory or reconnect. Existing stacks may need a server or world restart.
304+
- **Still not loading:** check the first ConfigStackMC warning or error in the server/game log. It usually points directly to the problem.
278305

279-
- the Minecraft version shown in the release notes
280-
- Fabric Loader for that version
281-
- Fabric API for that version
282-
- the `ConfigStackMC-...-fabric.jar` file
283-
284-
### Nothing changed after editing the config
285-
286-
Run:
287-
288-
```text
289-
/stackconfig reload
290-
```
291-
292-
Then check an item:
293-
294-
```text
295-
/stackconfig info ender_pearl
296-
```
297-
298-
Also make sure the item is listed under `items:` and that the number is valid.
306+
Still stuck or found a bug? [Open an issue](https://github.com/TheETR/ConfigStackMC/issues/new) and include your Minecraft version, platform, ConfigStackMC version, and the relevant log or error message.
299307

300308
---
301309

302-
## For developers
310+
## πŸ‘¨β€πŸ’» For developers
303311

304312
Most users do not need to build this project. Download a jar from Releases instead.
305313

@@ -332,9 +340,8 @@ The release workflow supports:
332340
- automatic daily checks for new compatible targets
333341
- release tags like `v1.0.0-mc26.1.2`
334342

335-
336343
---
337344

338-
## License
345+
## πŸ“œ License
339346

340347
All rights reserved unless a separate license file says otherwise.

β€Žassets/.gitkeepβ€Ž

Whitespace-only changes.
15.2 MB
Loading

β€Žgradlewβ€Ž

100644100755
File mode changed.

0 commit comments

Comments
Β (0)