public static class Player.Spigot extends Entity.Spigot
| Constructor | Description | 
|---|---|
| Spigot() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | getCollidesWithEntities() | Deprecated.
 | 
| java.util.Set<Player> | getHiddenPlayers() | Gets all players hidden with  Player.hidePlayer(org.bukkit.entity.Player). | 
| java.lang.String | getLocale() | Deprecated.
 | 
| int | getPing() | |
| java.net.InetSocketAddress | getRawAddress() | Gets the connection address of this player, regardless of whether it
 has been spoofed or not. | 
| void | respawn() | Respawns the player if dead. | 
| void | sendMessage(net.md_5.bungee.api.chat.BaseComponent component) | Sends this sender a chat component. | 
| void | sendMessage(net.md_5.bungee.api.chat.BaseComponent... components) | Sends an array of components as a single message to the sender. | 
| void | sendMessage(net.md_5.bungee.api.ChatMessageType position,
           net.md_5.bungee.api.chat.BaseComponent component) | Deprecated.
 This is unlikely the API you want to use. | 
| void | sendMessage(net.md_5.bungee.api.ChatMessageType position,
           net.md_5.bungee.api.chat.BaseComponent... components) | Deprecated.
 This is unlikely the API you want to use. | 
| void | setCollidesWithEntities(boolean collides) | Deprecated.
 | 
isInvulnerablepublic java.net.InetSocketAddress getRawAddress()
@Deprecated public boolean getCollidesWithEntities()
@Deprecated public void setCollidesWithEntities(boolean collides)
collides - whether the player should collide with entities or
 not.public void respawn()
@Deprecated public java.lang.String getLocale()
public java.util.Set<Player> getHiddenPlayers()
Player.hidePlayer(org.bukkit.entity.Player).public void sendMessage(net.md_5.bungee.api.chat.BaseComponent component)
CommandSender.SpigotsendMessage in class CommandSender.Spigotcomponent - the components to sendpublic void sendMessage(net.md_5.bungee.api.chat.BaseComponent... components)
CommandSender.SpigotsendMessage in class CommandSender.Spigotcomponents - the components to send@Deprecated
public void sendMessage(net.md_5.bungee.api.ChatMessageType position,
                        net.md_5.bungee.api.chat.BaseComponent component)
Player.sendActionBar(String) for a more proper Action Bar API. This deprecated API may send unsafe items to the client.position - the screen positioncomponent - the components to send@Deprecated
public void sendMessage(net.md_5.bungee.api.ChatMessageType position,
                        net.md_5.bungee.api.chat.BaseComponent... components)
Player.sendActionBar(String) for a more proper Action Bar API. This deprecated API may send unsafe items to the client.position - the screen positioncomponents - the components to sendpublic int getPing()
Copyright © 2018. All rights reserved.