mirror of
https://github.com/unmojang/drasl.git
synced 2025-08-03 10:56:06 -04:00
Correct default skin size limit to 64
This commit is contained in:
parent
bdcb791b88
commit
5b8188c202
@ -197,7 +197,7 @@ func DefaultConfig() Config {
|
|||||||
BufferItems: 64,
|
BufferItems: 64,
|
||||||
},
|
},
|
||||||
SignPublicKeys: true,
|
SignPublicKeys: true,
|
||||||
SkinSizeLimit: 128,
|
SkinSizeLimit: 64,
|
||||||
StateDirectory: GetDefaultStateDirectory(),
|
StateDirectory: GetDefaultStateDirectory(),
|
||||||
TokenExpireSec: 0,
|
TokenExpireSec: 0,
|
||||||
TokenStaleSec: 0,
|
TokenStaleSec: 0,
|
||||||
|
@ -101,7 +101,7 @@ Other available options:
|
|||||||
|
|
||||||
- `MinPasswordLength`: Users will not be able to choose passwords shorter than this length. Integer. Default value: `8`.
|
- `MinPasswordLength`: Users will not be able to choose passwords shorter than this length. Integer. Default value: `8`.
|
||||||
- `DefaultPreferredLanguage`: Default "preferred language" for user accounts. The Minecraft client expects an account to have a "preferred language", but I have no idea what it's used for. Choose one of the two-letter codes from [https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html](https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html). String. Default value: `"en"`.
|
- `DefaultPreferredLanguage`: Default "preferred language" for user accounts. The Minecraft client expects an account to have a "preferred language", but I have no idea what it's used for. Choose one of the two-letter codes from [https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html](https://www.oracle.com/java/technologies/javase/jdk8-jre8-suported-locales.html). String. Default value: `"en"`.
|
||||||
- `SkinSizeLimit`: The maximum width, in pixels, of a user-uploaded skin or cape. Normally, Minecraft skins are 128 × 128 pixels, and capes are 128 × 64 pixels. You can raise this limit to support high resolution skins and capes, but you will also need a client-side mod like [MCCustomSkinLoader](https://github.com/xfl03/MCCustomSkinLoader) (untested). Set to `0` to remove the limit entirely, but the size of the skin file will still be limited by `BodyLimit`. Integer. Default value: `128`.
|
- `SkinSizeLimit`: The maximum width, in pixels, of a user-uploaded skin or cape. Normally, Minecraft skins are 64 × 64 pixels, and capes are 64 × 32 pixels. You can raise this limit to support high resolution skins and capes, but you will also need a client-side mod like [MCCustomSkinLoader](https://github.com/xfl03/MCCustomSkinLoader) (untested). Set to `0` to remove the limit entirely, but the size of the skin file will still be limited by `BodyLimit`. The dimensions of a skin must always be a multiple of 64 × 64 or 64 × 32 pixels, and the dimensions of a cape must always be a multiple of 64 × 32. Integer. Default value: `64`.
|
||||||
- `SignPublicKeys`: Whether to sign players' public keys. Boolean. Default value: `true`.
|
- `SignPublicKeys`: Whether to sign players' public keys. Boolean. Default value: `true`.
|
||||||
- Must be enabled if you want to support servers with `enforce-secure-profile=true` in server.properties.
|
- Must be enabled if you want to support servers with `enforce-secure-profile=true` in server.properties.
|
||||||
- Limits servers' ability to forge messages from players.
|
- Limits servers' ability to forge messages from players.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user