@EventHandler
 public void onDisbandFaction(FactionDisbandEvent event) {
   PrismCustomPlayerActionEvent prismEvent =
       new PrismCustomPlayerActionEvent(
           FactionsPlus.get(), "factions-p-disband", event.getFPlayer().getPlayer(), null);
   FactionsPlus.get().getServer().getPluginManager().callEvent(prismEvent);
 }
 @EventHandler
 public void onLandUnClaim(LandChangeEvent event) {
   if (event.getChangeType() == ChangeType.Unclaim) {
     PrismCustomPlayerActionEvent prismEvent =
         new PrismCustomPlayerActionEvent(
             FactionsPlus.get(), "factions-p-unclaim", event.getPlayer(), null);
     FactionsPlus.get().getServer().getPluginManager().callEvent(prismEvent);
   }
   if (event.getChangeType() == ChangeType.Claim) {
     PrismCustomPlayerActionEvent prismEvent =
         new PrismCustomPlayerActionEvent(
             FactionsPlus.get(), "factions-p-claim", event.getPlayer(), null);
     FactionsPlus.get().getServer().getPluginManager().callEvent(prismEvent);
   }
 }
  public IntegrationPrismEvents() {
    try {
      Prism.getActionRegistry()
          .registerCustomAction(
              FactionsPlus.get(),
              new ActionType(
                  "factions-p-claim", false, false, false, "FactionLandClaim", "land claimed"));
      Prism.getActionRegistry()
          .registerCustomAction(
              FactionsPlus.get(),
              new ActionType(
                  "factions-p-unclaim",
                  false,
                  false,
                  false,
                  "FactionLandUnclaim",
                  "land unclaimed"));
      Prism.getActionRegistry()
          .registerCustomAction(
              FactionsPlus.get(),
              new ActionType(
                  "factions-p-create", false, false, false, "FactionCreate", "faction created"));
      Prism.getActionRegistry()
          .registerCustomAction(
              FactionsPlus.get(),
              new ActionType(
                  "factions-p-disband",
                  false,
                  false,
                  false,
                  "FactionDisband",
                  "faction disbanded"));
      Prism.getActionRegistry()
          .registerCustomAction(
              FactionsPlus.get(),
              new ActionType(
                  "factions-p-join", false, false, false, "FactionJoin", "join faction"));

    } catch (InvalidActionException e) {
      FactionsPlus.get()
          .log("<red>Warning: Please add 'FactionsPlus' to your Prism config.yml file");
      FactionsPlus.get().log("<red>         in the prism.tracking.api.allowed-plugins list.");
    }
  }
 @Override
 public void disable() {
   FactionsPlus.get().removeListener(this);
 }
 @Override
 public void enable() {
   FactionsPlus.get().addListener(this);
 }