Class RPSI
java.lang.Object
net.ME1312.SubServers.Bungee.Library.Compatibility.RPSI
RemotePlayer Static Implementation Layout Class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
disconnect
(UUID[] players, String reason, IntConsumer response) Disconnects this player from the networkprotected abstract void
sendMessage
(UUID[] players, String[] messages, IntConsumer response) Sends messages to this playerprotected abstract void
sendMessage
(UUID[] players, net.md_5.bungee.api.chat.BaseComponent[][] messages, IntConsumer response) Sends messages to this playerprotected abstract void
transfer
(UUID[] players, String server, IntConsumer response) Transfers this player to another server
-
Field Details
-
instance
-
-
Constructor Details
-
RPSI
protected RPSI()
-
-
Method Details
-
sendMessage
Sends messages to this player- Parameters:
players
- Players to send tomessages
- Messages to sendresponse
- Success Status
-
sendMessage
protected abstract void sendMessage(UUID[] players, net.md_5.bungee.api.chat.BaseComponent[][] messages, IntConsumer response) Sends messages to this player- Parameters:
players
- Players to send tomessages
- Messages to sendresponse
- Success Status
-
transfer
Transfers this player to another server- Parameters:
players
- Players to send toserver
- Target serverresponse
- Success Status
-
disconnect
Disconnects this player from the network- Parameters:
players
- Players to send toreason
- Disconnect Reasonresponse
- Success status
-