sp614x / optifine

1.8k stars 418 forks source link

[CEM] Add player model integration for server resource packs. #4726

Open foxotic opened 4 years ago

foxotic commented 4 years ago

Currently it takes an additional step for players to download player models separately. If a playermodels folder could be implemented within resource packs, it could allow player models to be used server side. Please allow optifine to check for playermodels within resource packs!

sp614x commented 4 years ago

What player models?

foxotic commented 4 years ago

Optifine supports custom player models but it is not well documented. Example: https://www.youtube.com/watch?v=IASDM0CDHBI

--
Located in 
.minecraft/playermodels/[content]
+
JVM Argument -Dplayer.models.local=true
--

What I'm requesting is that this argument is turned on by default to avoid additional setup/explanation for players also asking that this /playermodels folder can detect this information in a resource pack.

Experience for a player would be From: Download Optifine, Explaining turn on JVM argument for player models, Download my folder for their player model changes in the correct area To: Download Optifine , Accept resource pack in-game via prompt (Done)

foxotic commented 3 years ago

I would like to bump this thread - To have a parity of /playermodels that can be accessed through a server resourcepack could be a great experience.

  1. Allows admins to create custom player model attachments for individual players
  2. Removes need for players to download playermodels out of game to see other's model cosmetics
  3. Could be a great perk for content creators/supporters to have special modeled skins within servers all players can see
  4. A great workaround to vanilla implementation: wouldn't take up an item slot.

Adding this allows for the potential for resource pack makers to create model packs that can be applied to any account and potentially have plugin developers create automation for this.

foxotic commented 3 years ago

It has also come to my attention a fabric mod exists with similar functionality. To parity this to optifine would be awesome! What "figura" (the mod) has done is they have setup an online server to host model files for each player. Players can choose to either opt into the online server or only host locally. Would be another workaround outside of resource packs. But resource pack functionality would still be great for admins

oyylumo commented 2 years ago

I'd also like this feature :)

Jiingy commented 1 year ago

Removed the details needed tag as the suggestion had been further clarified.