Package dev.koifysh.archipelago.helper
Class DeathLink
java.lang.Object
dev.koifysh.archipelago.helper.DeathLink
a helper-class for sending and receiving death links.
enable death links by calling
enable death links by calling
setDeathLinkEnabled(boolean)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreceiveDeathLink(BouncedPacket bounced) static voidSendDeathLink(String source, String cause) helper for sending a death link bounce packet.static voidsetDeathLinkEnabled(boolean enabled) Enable or Disable receiving death links.
-
Constructor Details
-
DeathLink
public DeathLink()
-
-
Method Details
-
receiveDeathLink
-
SendDeathLink
helper for sending a death link bounce packet. you can send these without enabling death link first, but it is frowned upon.- Parameters:
source- A String that is the name of the player sending the death link (does not have to be slot name)cause- A String that is the cause of this death. may be empty.
-
setDeathLinkEnabled
public static void setDeathLinkEnabled(boolean enabled) Enable or Disable receiving death links.- Parameters:
enabled- set to TRUE to enable death links, FALSE to disable.
-