Skip to content

Commit adb0dcf

Browse files
Merge branch 'dev' into update-from-template-merged
2 parents b570cb4 + b126592 commit adb0dcf

File tree

97 files changed

+7272
-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.

97 files changed

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