BO
command:

ex (Add TargetLocation):
ex (Remove TargetLocation):

//Give the player a target point
TargetLocationAPI.addTargetLocation(player, addtargetloc, targetname, targetcolor)
//Remove the target point of the player
TargetLocationAPI.removeTargetLocation(player, targetname)
//Returns whether the player has the target Location
TargetLocationAPI.isTargetLocation(player, targetname)
//Returns whether the target point is the corresponding color
TargetLocationAPI.isTargetLocationColor(player, targetname, targetcolor)
//Returns all target points for that player
TargetLocationAPI.getTargetLocationList(player)
//If the player has a target point, information is returned
TargetLocationAPI.getTargetLocation(player, targetname)
//Returns whether the player has at least 1 target point
TargetLocationAPI.isTargetLocationEmpty(player)
//Reset target point position
TargetLocationAPI.setTarget_Location(player, targetname, setloc)
//Reset target point color
TargetLocationAPI.setTarget_Color(player, targetname, targetcolor)
//Returns the distance to the target point
(v1.0.1) TargetLocationAPI.getTargetDistance(player, targetname)
//Delete all target points for that player
(v1.0.1) TargetLocationAPI.deleteTargetLocation(player)
//Returns the Yaw value between the player's position and its target
(v1.0.2) TargetLocationAPI.getPlayerLocationTargetLocationYaw(player, targetname)
//N = 360
//W = -180
//S = 0
//E = 180
//The number of target points for that player
(v1.0.5) TargetLocationAPI.getNumberofTargetLocation(player)
//Add Target Event
@EventHandler
public void onPlayerAddTarget(PlayerAddTargetEvent e) {
TargetLocation target = e.getTargetLocation();
}
//Remove Target Event
@EventHandler
public void onPlayerRemoveTarget(PlayerRemoveTargetEvent e) {
Player player = e.getPlayer();
String targetname = e.getTargetName();
Location targetloc = e.getTargetLocation();
TargetColor targetcolor = e.getTargetColor();
}
//Player Target Reach Event
@EventHandler
public void onPlayerTargetReach(PlayerTargetReachEvent e) {
TargetLocation target = e.getTargetLocation();
double targetdistance = getTargetDistance();
//Within 3 meters
if (e.isTargetDistance(3.0)) {
//
}
}
update_tick: 1
#BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
bossbar_color: "WHITE"
display_start: "§f- "
display_end: " §f-"
display_target_DARK_BLUE: "§1[·]§f"
display_target_BLUE: "§9[·]§f"
display_target_DARK_AQUA: "§3[·]§f"
display_target_AQUA: "§b[·]§f"
display_target_DARK_RED: "§4[·]§f"
display_target_RED: "§c[·]§f"
display_target_YELLOW: "§e[·]§f"
display_target_GOLD: "§6[·]§f"
display_target_DARK_GREEN: "§2[·]§f"
display_target_GREEN: "§a[·]§f"
display_target_DARK_PURPLE: "§5[·]§f"
display_target_LIGHT_PURPLE: "§d[·]§f"
display_target_WHITE: "§f[·]§f"
display_target_GRAY: "§7[·]§f"
display_target_DARK_GRAY: "§8[·]§f"
display_target_BLACK: "§0[·]§f"
compass_N: "§f<N>"
compass_NE: " "
compass_E: "§f<E>"
compass_SE: " "
compass_S: "§f<S>"
compass_SW: " "
compass_W: "§f<W>"
compass_NW: " "
compass_not: " "
target-bossbar-use: true
target-bossbar: "{display_target} {target_name} §7{target_distance}m"
#BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
target_bossbar_color: "WHITE"
(v1.1.0) Update:
+ Add TargetList Bar
(v1.1.0) 업데이트:
+ 타겟 리스트 바 추가
(v1.0.6) Update:
+ Add Command
(v1.0.6) 업데이트:
+ 명령어 추가
(v1.0.5) Update:
+ Boss bar not removed when reloading server
+ config.yml change
+ BossBar Prevent continuous creation
+ getNumberofTargetLocation(player)
+ Changes to save hashmap (Player --> UUID (String))
+ Changed the phenomenon that was initialized when the player exits
+ add PlayerAddTargetEvent
+ add PlayerRemoveTargetEvent
+ add PlayerTargetReachEvent
(v1.0.5) 업데이트:
+ 서버 리로드시 보스바가 제거되지 않는 현상 (하나 더 생기는 현상)
+ 객체를 계속 생성하는 현상을 해결 (메모리 최적화)
+ config.yml 새로운 커스텀 추가
+ getNumberofTargetLocation(player) 메소드 추가
+ 해시맵 저장 타입 변경 (Player --> UUID (String))
+ 플레이어 퇴장시 초기화되는 현상 변경
+ PlayerAddTargetEvent 추가
+ PlayerRemoveTargetEvent 추가
+ PlayerTargetReachEvent 추가
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
