Skin Override

Discussion in 'Archived: Plugin Requests' started by Mystyrical, Apr 20, 2014.

  1. Offline

    Mystyrical

    Plugin category: Mechanics

    Suggested name: SkinOverride

    What I want: I plan to run a prison server somewhere in the near future and I would like a plugin that would "override" a skin. All i would need to do its drop a skin image in a folder. I would also like a bypass mechanism so other players could see a specific players real skin and a way for OP/Admin/Mod to toggle the bypass for other players nomatter what perms they have. Please note I'm not saying for the plugin to change a players skin, just to change what others see of the player.

    Ideas for commands:
    - /skinoveride togglebypass {player} {true/false}

    Ideas for permissions:
    - skinoveride.toggle (OP by default)
    - skinoveride.bypass

    When I'd like it by: When ever possible

    If you need more detail, just say so. Also, if this is possible, it would mean a lot to me, but please do not just say "impossible" because that's what you think.
     
  2. Offline

    Garris0n

    Ugh, please nobody make this. You're just begging Mojang to re-break NPCs if you do.
     
  3. Offline

    Mystyrical

    Garris0n
    Sorry, now know its not possible through CraftBukkit
     
  4. Offline

    Cybermaxke

    It is possible.
     
  5. Offline

    Garris0n

    Difficult, but possible. Not necessarily a good idea, however.
     
  6. Offline

    Cybermaxke

    Garris0n
    I got it working to change other players there skins, but loading a texture file from the plugins folder isn't possible. You have to use existing player skins, and even the old skins are saved (not sure for how long) on the mojang database. So if you keep the data you can make infinite skins. Only works for 1.7.8+
    https://bitbucket.org/Cybermaxke/profiles
    Mystyrical
    I am not going to make a plugin to do this, but you can combine it with a plugin like Skript and perform the commands.
     
    Garris0n likes this.
  7. Offline

    Mystyrical

    Cybermaxke
    So wait. You're saying its possible to make a plugin do this, but it can't be done from loading a file from a folder?
    And how would I do this with Skript? Looks very complicated...
     
  8. Offline

    Cybermaxke

    Yes, my plugin (basicly a api), can handle this. You can also use the inbuild commands.
     
  9. Offline

    Mystyrical

  10. Offline

    Cybermaxke

  11. Offline

    Mystyrical

    Cybermaxke
    Sorry for asking so many questions, but how do I do this?
     
  12. Offline

    Cybermaxke

    Mystyrical
    First you can save a player skin by using '/profiles request <username or uuid> <identifier>'
    And then to set a player skin '/profiles textures <username> <identifier>'
    The texture set will be saved to server/plugins/profilesplugin/texturesets
     
  13. Offline

    Mystyrical

    Cybermaxke
    Ok thank you very much! but what is "<identifier>"
     
  14. Offline

    Cybermaxke

    Just a file name without the extension.
     
  15. Offline

    Mystyrical

Share This Page