Skip to content

Commit 5f50fdd

Browse files
Merge branch 'dev' into update-from-template-merged
2 parents 3935404 + ff7b944 commit 5f50fdd

File tree

98 files changed

+7464
-245
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+7464
-245
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ body:
1515
attributes:
1616
label: "Checklist"
1717
options:
18-
- label: "I am able to reproduce the bug with the [latest version](https://github.com/litetex-oss/template-placeholder/releases/latest)"
18+
- label: "I am able to reproduce the bug with the [latest version](https://github.com/litetex-oss/mcm-cape-provider/releases/latest)"
1919
required: true
20-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/litetex-oss/template-placeholder/issues) or [closed](https://github.com/litetex-oss/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
20+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/litetex-oss/mcm-cape-provider/issues) or [closed](https://github.com/litetex-oss/mcm-cape-provider/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
2121
required: true
2222
- label: "I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise."
2323
required: true

.github/ISSUE_TEMPLATE/enhancement.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
attributes:
1414
label: "Checklist"
1515
options:
16-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/litetex-oss/template-placeholder/issues) or [closed](https://github.com/litetex-oss/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
16+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/litetex-oss/mcm-cape-provider/issues) or [closed](https://github.com/litetex-oss/mcm-cape-provider/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1717
required: true
1818
- label: "I have taken the time to fill in all the required details. I understand that the feature request will be dismissed otherwise."
1919
required: true

.github/ISSUE_TEMPLATE/question.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body:
1212
attributes:
1313
label: "Checklist"
1414
options:
15-
- label: "I made sure that there are *no existing issues* - [open](https://github.com/litetex-oss/template-placeholder/issues) or [closed](https://github.com/litetex-oss/template-placeholder/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
15+
- label: "I made sure that there are *no existing issues* - [open](https://github.com/litetex-oss/mcm-cape-provider/issues) or [closed](https://github.com/litetex-oss/mcm-cape-provider/issues?q=is%3Aissue+is%3Aclosed) - which I could contribute my information to."
1616
required: true
1717
- label: "I have taken the time to fill in all the required details. I understand that the question will be dismissed otherwise."
1818
required: true

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ jobs:
152152
run: ./gradlew clean build modrinth --info --stacktrace
153153
env:
154154
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
155-
MODRINTH_CHANGELOG_TEXT: 'Available at https://github.com/litetex-oss/template-placeholder/blob/dev/CHANGELOG.md'
155+
MODRINTH_CHANGELOG_TEXT: 'Available at https://github.com/litetex-oss/mcm-cape-provider/blob/dev/CHANGELOG.md'
156156

157157
- name: Upload release assets
158158
uses: shogo82148/actions-upload-release-asset@v1
@@ -186,10 +186,10 @@ jobs:
186186
uses: Kira-NT/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 # v3
187187
if: ${{ steps.check-for-curseforge.outputs.has }}
188188
with:
189-
curseforge-id: null
189+
curseforge-id: 1291862
190190
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
191191
changelog: |
192-
Available at https://github.com/litetex-oss/template-placeholder/blob/dev/CHANGELOG.md
192+
Available at https://github.com/litetex-oss/mcm-cape-provider/blob/dev/CHANGELOG.md
193193
fail-mode: 'warn'
194194

195195
after_release:

.github/workflows/test-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
env:
3232
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
3333
MODRINTH_VERSION_TYPE: 'alpha'
34-
MODRINTH_CHANGELOG_TEXT: 'Available at https://github.com/litetex-oss/template-placeholder/blob/dev/CHANGELOG.md<br/><i>Please note that this is a SNAPSHOT which might be unstable</i>'
34+
MODRINTH_CHANGELOG_TEXT: 'Available at https://github.com/litetex-oss/mcm-cape-provider/blob/dev/CHANGELOG.md<br/><i>Please note that this is a SNAPSHOT which might be unstable</i>'
3535

3636
- name: Upload mod files
3737
uses: actions/upload-artifact@v6
@@ -65,10 +65,10 @@ jobs:
6565
uses: Kira-NT/mc-publish@995edadc13559a8b28d0b7e6571229f067ec7659 # v3
6666
if: ${{ steps.check-for-curseforge.outputs.has }}
6767
with:
68-
curseforge-id: null
68+
curseforge-id: 1291862
6969
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}
7070
changelog: |
71-
Available at https://github.com/litetex-oss/template-placeholder/blob/dev/CHANGELOG.md
71+
Available at https://github.com/litetex-oss/mcm-cape-provider/blob/dev/CHANGELOG.md
7272
Please note that this is a SNAPSHOT which might be unstable
7373
fail-mode: 'warn'
7474
version-type: 'alpha'

CHANGELOG.md

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
# 5.1.0
2+
* New built-in Cape Provider
3+
* [Sneaky Capes](https://modrinth.com/mod/sneaky_capes) #241
4+
* Updated dependencies / Improved mod compatibility
5+
6+
# 5.0.0
7+
* Added possibility to add a simple/static local provider
8+
* Require no network connection
9+
* Can be utilized by mods (via metadata/resources) or by locally in the new configuration directory
10+
* New configuration directory: `config/cape-provider`
11+
* Migrated configuration file from `config/cape-provider.json5` to `config/cape-provider/config.json`
12+
* Some configuration options changed and might be reset to the defaults
13+
* Updated documentation
14+
* Removed OptiFine from default providers
15+
* Removed unused translations
16+
17+
# 4.3.1
18+
* Fix GSON Map serialization problem
19+
20+
# 4.3.0
21+
* Implement local caching of cape textures - if the provider supports it #205
22+
* Currently only supported by MinecraftCapes
23+
* Textures are saved inside `.mods/cape-provider/texture-cache` in the game directory
24+
* Unused textures are cleaned up automatically
25+
26+
# 4.2.1
27+
* Fix MinecraftCapes Provider no longer working due to breaking API changes #206
28+
* Removed Wynntils #204
29+
30+
# 4.2.0
31+
* Updated to 1.21.11
32+
33+
# 4.1.3
34+
* Fix broken build
35+
36+
# 4.1.2
37+
* Migrated to "official" mappings in preparation for the removal of obfuscation
38+
* Updated dependencies
39+
40+
# 4.1.1
41+
* Update Cosmetica API #166
42+
* Improved mod compatibility
43+
44+
# 4.1.0
45+
* Updated to 1.21.9
46+
47+
# 4.0.2
48+
* Fixed: `$` inside `fabric.mod.json` is usually replaced by the build process #145
49+
* Added a note that this may require escaping using a `\`
50+
* Made it possible to use `§` instead of `$`
51+
* Updated the demo accordingly
52+
53+
# 4.0.1
54+
* Made animated GIF decoding more reliable
55+
* This should fix broken textures #135
56+
* The maximum size for image downloads is now 10MB by default
57+
58+
# 4.0.0
59+
* Implemented Texture Resolvers
60+
* Added support for GIFs #131
61+
* Deprecated `animated`-flag: Use `textureResolverId` instead
62+
* For further details please have a look at the corresponding documentation on the README
63+
* Various small code improvements
64+
65+
# 3.0.0
66+
* Other mods can now define cape providers in their metadata #94
67+
* This way other developers don't have to manually implement/copy-paste code for adding custom capes (e.g. for supporters) which should result in less conflicts
68+
* Cape providers loaded from other mod's metadata are automatically loaded and activated by default
69+
* This can be changed in the settings under ``Other > Providers from mods``
70+
* Usage example:
71+
* Simple implementation:<br/>
72+
``fabric.mod.json``
73+
```json5
74+
{
75+
...
76+
"custom": {
77+
"cape": "https://raw.githubusercontent.com/litetex-oss/mcm-cape-provider/refs/heads/dev/custom-cape-demo/uuid.png"
78+
}
79+
}
80+
```
81+
* More detailed variant:<br/>
82+
``fabric.mod.json``
83+
```json5
84+
{
85+
"custom": {
86+
"cape": {
87+
// Gives everyone a christmas cape
88+
// You can also use variables here, like $uuid. See above for more details
89+
// Alternative: "uriTemplate"
90+
"url": "https://raw.githubusercontent.com/litetex-oss/mcm-cape-provider/refs/heads/dev/custom-cape-demo/uuid.png",
91+
"changeCapeUrl": "https://...",
92+
"rateLimitedReqPerSec": 20
93+
}
94+
}
95+
}
96+
```
97+
98+
# 2.3.0
99+
* Make it possible to disable the default/Minecraft provider #64
100+
* Improved mod compatibility
101+
102+
# 2.2.0
103+
* Improved real player detection
104+
* Capes are now only loaded for players with a valid UUID
105+
* Improved load balancing with cape providers
106+
* Providers are now rate limited
107+
* the default is 20 req/s
108+
* can be overwriten per provider using ``rateLimitedReqPerSec``
109+
* If there are too many pending cape load tasks the oldest ones will now be automatically discarded
110+
* Limited amount of tracked players to prevent running out of memory
111+
* Now compatibile with ``SkinShuffle``
112+
* Now targeting 1.21.8
113+
114+
# 2.1.0
115+
* Fixed mod configuration button not being displayed correctly in Skin Customization Screen when resizing #79
116+
* Fully utilize fabric-api. fabric-api is now required #78
117+
* Now targeting 1.21.7
118+
119+
# 2.0.1
120+
* Use built-in warning icon instead of bringing a custom one #66
121+
* Also publish to CurseForge #62
122+
* Available (once CurseForge reviewed it) at https://www.curseforge.com/minecraft/mc-mods/cape-provider
123+
124+
# 2.0.0
125+
* New options
126+
* Control over animated textures
127+
* ON (default)
128+
* Frozen = only the first frame of the animation is displayed
129+
* OFF = Animated textures are ignored
130+
* Only load your cape (and ignore other players)
131+
* New debug options
132+
* block certain capes by provider
133+
* amount of Cape-Loader Threads (default: 2)
134+
* Now refreshes the capes of all players when the configuration is changed
135+
* Utilizes Fabric's Rendering API - if present - to prevent conflicts with other mods
136+
* Various minor improvements and optimizations
137+
138+
# 1.2.0
139+
* Updated to 1.21.6
140+
* Reworked/Fixed preview rendering
141+
* Custom providers (loaded from the config-file) can now provide animated textures
142+
143+
# 1.1.1
144+
* Optimized rendering in preview screen
145+
* Correctly declared fabric-api
146+
147+
# 1.1.0
148+
* Updated to 1.21.5
149+
150+
# 1.0.2
151+
* Distribute mod on Maven Central
152+
153+
# 1.0.1
154+
* Improved compatibility information
155+
156+
# 1.0.0
157+
Improvements and changes in comparison to Capes mod:
158+
* Improved provider configuration screen
159+
* Can now be ordered
160+
* Added links for homepage / to cape editor
161+
* Fixed preview rendering
162+
* Built-in providers:
163+
* MinecraftCapes (active by default)
164+
* OptiFine (active by default)
165+
* Wynntils
166+
* Fixed capes not being loaded
167+
* Cosmetica
168+
* LabyMod
169+
* Prevented default cape from always being displayed
170+
* Added Anti-Feature notices
171+
* Added support for custom providers to the config
172+
* Added reset function
173+
* Improved provider responsiveness
174+
* Implemented basic caching
175+
* Implemented check if player is real (and not simulated by the server)
176+
* Various other improvements

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ You should have the following things installed:
3232
* Ensure that the JDK/Java-Version is correct
3333

3434

35-
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/litetex-oss/template-placeholder/release.yml?branch=master)](https://github.com/litetex-oss/template-placeholder/actions/workflows/release.yml)
35+
## Releasing [![Build](https://img.shields.io/github/actions/workflow/status/litetex-oss/mcm-cape-provider/release.yml?branch=master)](https://github.com/litetex-oss/mcm-cape-provider/actions/workflows/release.yml)
3636

3737
Before releasing:
38-
* Consider doing a [test-deployment](https://github.com/litetex-oss/template-placeholder/actions/workflows/test-deploy.yml?query=branch%3Adev) before actually releasing.
38+
* Consider doing a [test-deployment](https://github.com/litetex-oss/mcm-cape-provider/actions/workflows/test-deploy.yml?query=branch%3Adev) before actually releasing.
3939
* Check the [changelog](CHANGELOG.md)
4040

4141
If ``dev`` is ready for release, create a pull request to the ``master``-Branch and merge the changes

0 commit comments

Comments
 (0)