Skins Configuration
The skins configuration in mineLogin allows you to manage how player skins are handled on your server. This includes options for both premium (paid) Minecraft accounts and non-premium (cracked) accounts.
Here's the relevant section from the configuration file:
skin:
premium-enabled: true
default-skin:
enabled: true
value: ewogICJ0aW1lc3RhbXAiIDogMTYzOTIwNTI0OTkwMiwKICAicHJvZmlsZUlkIiA6ICJkZGU4MTE1YjcwYjI0ZDU2YTllNTdiNWUzOTE0MjJhOSIsCiAgInByb2ZpbGVOYW1lIiA6ICJfYXJ0dXJlayIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8xNmVkMjEzNTAwMGZiOWYwMzMxMTIxMzkyZjFmYjUyOTFmNTJiMmNlNGFmMDJkNGFhM2JiM2U1OTUzYzU5YjMzIgogICAgfSwKICAgICJDQVBFIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8yMzQwYzBlMDNkZDI0YTExYjE1YThiMzNjMmE3ZTllMzJhYmIyMDUxYjI0ODFkMGJhN2RlZmQ2MzVjYTdhOTMzIgogICAgfQogIH0KfQ==
signature: jzHnovbTHe2Swg8W690SsnrE445ynmGVKuyTHANr+3NTfeCVkFaYw+LCkDhT2tmWwMsBtqyuo30xB0+RyS9xIrQ7c5FCFXyxjj8hwHuzkpO5GXyaO2V80Fp2SuF+tnS8h+O3NkNzzDqIq8VILGU5qcLqMVRmbSvf8TYomzXoItl7h4cW5wpLvuV7WL8YjGo9ICfmMEaA7TkjU6sHHkBc4cJfx1naWAe8hAB3C+dv7BHgm8gevm88/IE2TGugzOrk3m317H9TLCW+YM9pHk/4yKlCBxccFhH/Z5h4MCV+9YHLlz+h99+gC4tzafk68KqDtPD3aDEeSg3NNVvTSybOPZ1IctlnKtNb5GNSYXu6Jj6Ao2pxD4go1dFPWOZYvU1Cz/8fM8BqoeztqSKOXpWCWymmpk1kgqWEq2EyGMfPGxMFfAU+tDyGV+rGluumH/XOjmQDvNQePL7aZUzIem0Y1Yqrsu2EmLgbF/Gw+cB2NbJ7erOnpRUQafYvoTueA1rDgHF4hyl+2Dr5V1S9GQPAvzZLbcvX/7UHeo0mpTobGBeWP7Iv4vFZSRuSJ3tKr7jkgFwHtaSlRUNm75QipjOujsnOv8UG5sDks38fLnc1KZFz2RbrlRNvl0gGQULysWGVRsB03KrLEzLJcTw3gYGt8z7mjx2O42T2d8MIGCBswz0=
Options Explained
Skin Configuration for Premium Accounts:
yamlskin: premium-enabled: true
premium-enabled
: Determines whether to download and use skins for premium (paid) Minecraft accounts.- Values:
true
orfalse
- When
true
, the plugin will fetch and apply official skins for premium players. - When
false
, premium players will use the default skin or any custom skin system you have in place. - Note: This option is only effective on Velocity proxy.
Default Skin Configuration (for non-premium accounts):
yamldefault-skin: enabled: true value: ewogICJ0aW1lc3RhbXAiIDogMTYzOTIwNTI0OTkwMiwKICAicHJvZmlsZUlkIiA6ICJkZGU4MTE1YjcwYjI0ZDU2YTllNTdiNWUzOTE0MjJhOSIsCiAgInByb2ZpbGVOYW1lIiA6ICJfYXJ0dXJlayIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8xNmVkMjEzNTAwMGZiOWYwMzMxMTIxMzkyZjFmYjUyOTFmNTJiMmNlNGFmMDJkNGFhM2JiM2U1OTUzYzU5YjMzIgogICAgfSwKICAgICJDQVBFIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS8yMzQwYzBlMDNkZDI0YTExYjE1YThiMzNjMmE3ZTllMzJhYmIyMDUxYjI0ODFkMGJhN2RlZmQ2MzVjYTdhOTMzIgogICAgfQogIH0KfQ== signature: jzHnovbTHe2Swg8W690SsnrE445ynmGVKuyTHANr+3NTfeCVkFaYw+LCkDhT2tmWwMsBtqyuo30xB0+RyS9xIrQ7c5FCFXyxjj8hwHuzkpO5GXyaO2V80Fp2SuF+tnS8h+O3NkNzzDqIq8VILGU5qcLqMVRmbSvf8TYomzXoItl7h4cW5wpLvuV7WL8YjGo9ICfmMEaA7TkjU6sHHkBc4cJfx1naWAe8hAB3C+dv7BHgm8gevm88/IE2TGugzOrk3m317H9TLCW+YM9pHk/4yKlCBxccFhH/Z5h4MCV+9YHLlz+h99+gC4tzafk68KqDtPD3aDEeSg3NNVvTSybOPZ1IctlnKtNb5GNSYXu6Jj6Ao2pxD4go1dFPWOZYvU1Cz/8fM8BqoeztqSKOXpWCWymmpk1kgqWEq2EyGMfPGxMFfAU+tDyGV+rGluumH/XOjmQDvNQePL7aZUzIem0Y1Yqrsu2EmLgbF/Gw+cB2NbJ7erOnpRUQafYvoTueA1rDgHF4hyl+2Dr5V1S9GQPAvzZLbcvX/7UHeo0mpTobGBeWP7Iv4vFZSRuSJ3tKr7jkgFwHtaSlRUNm75QipjOujsnOv8UG5sDks38fLnc1KZFz2RbrlRNvl0gGQULysWGVRsB03KrLEzLJcTw3gYGt8z7mjx2O42T2d8MIGCBswz0=
enabled
: Determines whether to use a default skin for non-premium accounts.- Values:
true
orfalse
- When
true
, non-premium players will use the specified default skin. value
: The Base64-encoded texture data for the default skin.signature
: The signature for the skin texture, ensuring its authenticity.
Best Practices
Premium Skins:
- Keep
premium-enabled: true
to ensure premium players have their official skins. - This enhances the authenticity of your server for paid account holders.
- Keep
Default Skin:
- Use
enabled: true
for the default skin to ensure all players have a skin, even if they're using a non-premium account. - Choose a neutral or server-themed default skin to maintain a consistent look.
- Use
Custom Default Skin:
- To change the default skin, you'll need to obtain the new skin's texture value and signature.
- You can get these values from websites that provide Minecraft skin data or by using tools that can extract this information from a skin file.
Performance Consideration:
- If you're running a large server with many non-premium players, using a default skin can reduce the load on your server as it doesn't need to fetch individual skins.
Legal Considerations:
- Ensure you have the right to use any custom default skin you implement.
- Avoid using copyrighted or trademarked skins without permission.
Changing the Default Skin
To change the default skin:
- Choose a new skin you want to use as the default.
- Use a Minecraft skin data extractor tool or service to get the Base64
value
andsignature
for the new skin. - Replace the
value
andsignature
in the configuration with the new data. - Save the configuration and restart your server or reload the plugin.
Troubleshooting
If premium skins aren't loading:
- Ensure
premium-enabled
is set totrue
. - Check your server's internet connection, as it needs to fetch skins from Mojang's servers.
- Ensure
If the default skin isn't applying:
- Verify that
enabled
underdefault-skin
is set totrue
. - Make sure the
value
andsignature
are correctly formatted and not corrupted.
- Verify that
If you see Steve or Alex skins instead of your default:
- This might indicate an issue with the skin data. Try re-extracting the skin data or using a different skin.
Remember, changes to the skin configuration typically require a server restart or plugin reload to take effect. Always test skin changes on a development server before applying them to your live environment.