コード例 #1
0
  public static void enter(Player player, ProtectedRegion region) {
    String name = WordUtils.capitalize(region.getId());

    Title title = new Title("§3" + name, null, 1, 5, 1);

    title.send(player);
  }
コード例 #2
0
  public static void exit(Player player) {
    Title title = new Title("§2Wilderness", "§2Monsters abound!", 1, 5, 1);

    title.send(player);
  }