Search results

  1. A

    Question Chaining completablefutures together

    Hello, I am making a guard plugin, and I need to know if I am using completablefutures in the most efficient way / the correct way. The following code is from a command which fires guards, it handles both online and offline players. The tricky bit is when the player is offline, because it...
  2. A

    Solved on sign click

    Hello, I am making a guard plugin, and I want to open a gui if a guard clicks on a designated guard sign. The current way I am doing it public class SignClickListener implements Listener { private final IGuardMainMenu guardMainMenu; @Inject public SignClickListener(IGuardMainMenu...
  3. A

    Solved Add ntb tags only to items from kit

    Hello! I am making a guard plugin for my server, and I need a way for when a guard obtains a kit, they are linked to the items from the kit, so that they cannot abuse by giving away their items. So, this is what I've come up with @Override public void giveGuardKit(Player player, String...