PauMAVA / UhcPlugin

Rework of UhcPlugin for 1.15.2
GNU General Public License v3.0
7 stars 3 forks source link

Implement skin changer functionalities for Online Mode #9

Closed PauMAVA closed 4 years ago

PauMAVA commented 4 years ago

A proxy based Mojang API is needed to finish this feature

andyvonde commented 4 years ago

Yes, u need to implement that. And in offline mode too

PauMAVA commented 4 years ago

Mojang API implemented.

The feature will be introduced in the next release.

PauMAVA commented 4 years ago

The skin-changer is working correctly. The plugin is now broken due to player name changes on player disguising. Must replace all player name comparison checks by UUID checks. Opening #30 to track this issue.

Note that Offline Mode could have some issues with this feature as UUIDs might change on player's rejoin. Will add configuration on the next commit.

PauMAVA commented 4 years ago

Default config:

# If this feature is enabled all players will be randomly disguised with other participant's skin and names periodically
rotate_skins:
  enabled: true
  period: 2 # The period in episodes when a skin rotations cycle will be executed

Issue resolved.