Holographic Entity Types

From MBedwars
Jump to navigation Jump to search

! Legacy Warning !

You are currently visiting a prehistoric website of the Marcely's Bedwars plugin for v4 and older.

In 2021, we released version 5 and completely overhauled the wiki. A lot of information that you find here likely won't be up-to-date anymore. You may find the updated wiki on: https://wiki.mbedwars.com

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

Spawns a holographic villager.
There are no special features for this type.

ArmorStand{<parameters>}

How to correctly write materials down

Parameters:

  • body-rot: 3 Float values, each ranging from 0 to 360 (example value: [54,65,0])
  • left-leg-rot: 3 Float values, each ranging from 0 to 360 (example value: [54,65,0])
  • right-leg-rot: 3 Float values, each ranging from 0 to 360 (example value: [54,65,0])
  • left-arm-rot: (show-arms has to be enabled) 3 Float values, each ranging from 0 to 360 (example value: [54,65,0])
  • right-arm-rot: (show-arms has to be enabled) 3 Float values, each ranging from 0 to 360 (example value: [54,65,0])
  • helmet-item: Material value
  • chestplate-item: Material value
  • leggings-item: Material value
  • boots-item: Material value
  • left-hand-item: (MC1.9 and higher only) Material value
  • right-hand-item: Material value
  • invisible: Boolean value
  • no-base-plate: Boolean value
  • small: Boolean value
  • show-arms: Boolean value