Holographic Entity Types: Difference between revisions

From MBedwars
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
The <UUID of skin owner> parameter must be written by the UUID of the skin owner.<br>
The <UUID of skin owner> parameter must be written by the UUID of the skin owner.<br>
With services such as [https://mcuuid.net mcuuid.net] it's easily possible to optain those UUIDs.<br>
With services such as [https://mcuuid.net mcuuid.net] it's easily possible to optain those UUIDs.<br>
The UUID by Notch for instance is: 069a79f4-44e9-4726-a5be-fca90e38aaf5<br>
''The UUID by Notch for instance is: 069a79f4-44e9-4726-a5be-fca90e38aaf5''<br>
The plugin will then make a request to mojang and download the skin and cache it for later use.<br>
The plugin will then make a request to mojang and download the skin and cache it for later use.<br>
A caching is needed as mojang is restricting how often you may download a skin per minute per ip.<br>
A caching is needed as mojang is restricting how often you may download a skin per minute per ip.<br>

Revision as of 12:56, 26 May 2019

Screenshots

General information

MBedwars uses a comlex, yet smart, system to send realistic appearing entities via packets.
They do NOT actually exist in your world! They'll be gone as soon you are killing them by punching them or by simply removing the plugin.
The adventages of this system are:

  • It's possible to change their type without killing and respawning them
  • They do not move. No blocking needed anymore
  • They are silent
  • Adds ability to use new techniques, which aren't supported by vanilla, such as NPC[self]
  • No additional arena saving is needed to keep them

Types

NPC[<UUID of skin owner>]

Skins aren't supported for 1.7.8 and older
Spawns a player looking like entity.
The <UUID of skin owner> parameter must be written by the UUID of the skin owner.
With services such as mcuuid.net it's easily possible to optain those UUIDs.
The UUID by Notch for instance is: 069a79f4-44e9-4726-a5be-fca90e38aaf5
The plugin will then make a request to mojang and download the skin and cache it for later use.
A caching is needed as mojang is restricting how often you may download a skin per minute per ip.
The skin will be saved as a '.mcskin' file under \plugins\MBedwars\data\skincache\. It's not a problem to copy these files to an other server.
Replacing a file can require a restart/reload afterwards as the plugin is also caching the skins in the RAM for quicker access.

NPC[self]

Skins aren't supported for 1.7.8 and older
Does the same as NPC[UUID of skin owner], but instead takes the skin of the player who's seeing it.
No skin may be shown when offline-mode is disabled.
No skin caching is being used for this type.

Villager

ArmorStand{<parameters}>