Class DeathLink

java.lang.Object
dev.koifysh.archipelago.helper.DeathLink

public class DeathLink extends Object
a helper-class for sending and receiving death links.
enable death links by calling setDeathLinkEnabled(boolean)
  • Constructor Details

    • DeathLink

      public DeathLink()
  • Method Details

    • receiveDeathLink

      public static void receiveDeathLink(BouncedPacket bounced)
    • SendDeathLink

      public static void SendDeathLink(String source, String cause)
      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.