Class RPSI
java.lang.Object
net.ME1312.SubServers.Bungee.Library.Compatibility.RPSI
RemotePlayer Static Implementation Layout Class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddisconnect(UUID[] players, String reason, IntConsumer response) Disconnects this player from the networkprotected abstract voidsendMessage(UUID[] players, String[] messages, IntConsumer response) Sends messages to this playerprotected abstract voidsendMessage(UUID[] players, net.md_5.bungee.api.chat.BaseComponent[][] messages, IntConsumer response) Sends messages to this playerprotected abstract voidtransfer(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
-