• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
PigVN

Hướng dẫn PlaceholderAPI

PigVN

DEVELOPER
THÀNH VIÊN
Tham gia
27/12/2017
Bài viết
171
- hôm nay t làm post này vì quá nhiều người thắc mắc tại sao api của placeholderapi bản cập nhật mới lại không dùng được ~~
- nếu mà chịu khó đọc kĩ thì bên trong placeholderapi đã nói lên tất cả!
- dùng lệnh /papi ecloud download <tên plugins có hook placeholderapi>
VD:
- t sẽ lấy vd các api sv hay dùng nhé!

/papi ecloud download Server
#cái này để tải api như ở dưới. Chắc t không cần phải dịch hay hướng dẫn cái api đó để làm gì đâu :> vì từng dùng plugins thì cũng phải hiểu nó có tác dụng thế nào thui!

%server_online%
%server_max_players%
%server_unique_joins%
%server_uptime%
%server_ram_used%
%server_ram_free%
%server_ram_total%
%server_ram_max%
%server_tps%
%server_online_(world)%
%server_countdown_<SimpleDateFormat>_<time>%


/papi ecloud download Player

%player_timestamp%
%player_server%
%player_name%
%player_displayname%
%player_uuid%
%player_gamemode%
%player_x%
%player_y%
%player_z%
%player_world%
%player_is_op%
%player_bed_x%
%player_bed_y%
%player_bed_z%
%player_bed_world%
%player_ip%
%player_allow_flight%
%player_can_pickup_items%
%player_compass_x%
%player_compass_y%
%player_compass_z%
%player_compass_world%
%player_has_permission_<permission>%
%player_custom_name%
%player_exp%
%player_exp_to_level%
%player_total_exp%
%player_level%
%player_first_join_date%
%player_fly_speed%
%player_food_level%
%player_health%
%player_max_health%
%player_health_scale%
%player_item_in_hand%
%player_last_damage%
%player_max_air%
%player_remaining_air%
%player_no_damage_ticks%
%player_max_no_damage_ticks%
%player_time%
%player_time_offset%
%player_saturation%
%player_sleep_ticks%
%player_walk_speed%
%player_ticks_lived%
%player_seconds_lived%
%player_minutes_lived%
%player_ping%
%player_ping_<playername>%
%player_hasitem-mat:<MATERIAL>-amt:<amount>-data:<data value>%
%player_has_empty_slot%
%player_world_time_12%
%player_world_time_24%


/papi ecloud download Statistic

%statistic_mine_block_<material>%
%statistic_use_item_<Item Material>%
%statistic_break_item_<Item Material>%
%statistic_craft_item_<Item Material>%
%statistic_kill_entity_<MobType>%
%statistic_entity_killed_by_<MobType>%
%statistic_mine_block% - total blocks broken
%statistic_use_item% - total item uses
%statistic_break_item% - total item breks
%statistic_craft_item% - total items crafted
%statistic_ticks_played% - total ticks played
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_seconds_played_remaining%
%statistic_minutes_played_remaining%
%statistic_hours_played_remaining%
%statistic_days_played_remaining%
%statistic_animals_bred%
%statistic_armor_cleaned%
%statistic_banner_cleaned%
%statistic_beacon_interacted%
%statistic_boat_one_cm%
%statistic_brewingstand_interaction%
%statistic_cake_slices_eaten%
%statistic_cauldron_filled%
%statistic_cauldron_used%
%statistic_chest_opened%
%statistic_climb_one_cm%
%statistic_crafting_table_interaction%
%statistic_crouch_one_cm%
%statistic_damage_dealt%
%statistic_damage_taken%
%statistic_deaths%
%statistic_dispenser_inspected%
%statistic_dive_one_cm%
%statistic_drop%
%statistic_dropper_inspected%
%statistic_enderchest_opened%
%statistic_fall_one_cm%
%statistic_fish_caught%
%statistic_flower_potted%
%statistic_fly_one_cm%
%statistic_furnace_interaction%
%statistic_hopper_inspected%
%statistic_horse_one_cm%
%statistic_item_enchanted%
%statistic_jump%
%statistic_junk_fished%
%statistic_leave_game%
%statistic_join_game%
%statistic_minecart_one_cm%
%statistic_noteblock_played%
%statistic_noteblock_tuned%
%statistic_pig_one_cm%
%statistic_player_kills%
%statistic_record_played%
%statistic_sprint_one_cm%
%statistic_swim_one_cm%
%statistic_talked_to_villager%
%statistic_time_since_death%
%statistic_ticks_since_death%
%statistic_seconds_since_death%
%statistic_minutes_since_death%
%statistic_hours_since_death%
%statistic_days_since_death%
%statistic_traded_with_villager%
%statistic_trapped_chest_triggered%
%statistic_walk_one_cm%
%statistic_sleep_in_bed%
%statistic_sneak_time%
%statistic_aviate_one_cm%


ĐÂY LÀ 1 SỐ API MẪU KHÔNG CÓ TRONG PLUGINS NÀO, CÒN MUỐN THÌ LÊN ĐÂY XEM VÀ DÙNG LỆNH: /papi ecloud download <plugin>


XONG RỒI THÌ ADD API LÀ CHẠY ĐƯỢC ~~
 
công nhận bản mới của PlaceHolderAPI nó khiến dễ đau đầu thật
add plugin có hỗ trợ PAPI thì phải nhập thêm cái lệnh
:km:
 
công nhận bản mới của PlaceHolderAPI nó khiến dễ đau đầu thật
add plugin có hỗ trợ PAPI thì phải nhập thêm cái lệnh
:km:
haizz z mới khổ công đi giải thích rõ~
 
Mình tạo sv nên cũng thắc mắc cái này
Ko bt bây h mấy cái trên còn dùng đc trong năm 2022 ko
 
- hôm nay t làm post này vì quá nhiều người thắc mắc tại sao api của placeholderapi bản cập nhật mới lại không dùng được ~~
- nếu mà chịu khó đọc kĩ thì bên trong placeholderapi đã nói lên tất cả!
- dùng lệnh /papi ecloud download <tên plugins có hook placeholderapi>
VD:
- t sẽ lấy vd các api sv hay dùng nhé!

/papi ecloud download Server
#cái này để tải api như ở dưới. Chắc t không cần phải dịch hay hướng dẫn cái api đó để làm gì đâu :> vì từng dùng plugins thì cũng phải hiểu nó có tác dụng thế nào thui!

%server_online%
%server_max_players%
%server_unique_joins%
%server_uptime%
%server_ram_used%
%server_ram_free%
%server_ram_total%
%server_ram_max%
%server_tps%
%server_online_(world)%
%server_countdown_<SimpleDateFormat>_<time>%


/papi ecloud download Player

%player_timestamp%
%player_server%
%player_name%
%player_displayname%
%player_uuid%
%player_gamemode%
%player_x%
%player_y%
%player_z%
%player_world%
%player_is_op%
%player_bed_x%
%player_bed_y%
%player_bed_z%
%player_bed_world%
%player_ip%
%player_allow_flight%
%player_can_pickup_items%
%player_compass_x%
%player_compass_y%
%player_compass_z%
%player_compass_world%
%player_has_permission_<permission>%
%player_custom_name%
%player_exp%
%player_exp_to_level%
%player_total_exp%
%player_level%
%player_first_join_date%
%player_fly_speed%
%player_food_level%
%player_health%
%player_max_health%
%player_health_scale%
%player_item_in_hand%
%player_last_damage%
%player_max_air%
%player_remaining_air%
%player_no_damage_ticks%
%player_max_no_damage_ticks%
%player_time%
%player_time_offset%
%player_saturation%
%player_sleep_ticks%
%player_walk_speed%
%player_ticks_lived%
%player_seconds_lived%
%player_minutes_lived%
%player_ping%
%player_ping_<playername>%
%player_hasitem-mat:<MATERIAL>-amt:<amount>-data:<data value>%
%player_has_empty_slot%
%player_world_time_12%
%player_world_time_24%


/papi ecloud download Statistic

%statistic_mine_block_<material>%
%statistic_use_item_<Item Material>%
%statistic_break_item_<Item Material>%
%statistic_craft_item_<Item Material>%
%statistic_kill_entity_<MobType>%
%statistic_entity_killed_by_<MobType>%
%statistic_mine_block% - total blocks broken
%statistic_use_item% - total item uses
%statistic_break_item% - total item breks
%statistic_craft_item% - total items crafted
%statistic_ticks_played% - total ticks played
%statistic_seconds_played%
%statistic_minutes_played%
%statistic_hours_played%
%statistic_days_played%
%statistic_time_played%
%statistic_seconds_played_remaining%
%statistic_minutes_played_remaining%
%statistic_hours_played_remaining%
%statistic_days_played_remaining%
%statistic_animals_bred%
%statistic_armor_cleaned%
%statistic_banner_cleaned%
%statistic_beacon_interacted%
%statistic_boat_one_cm%
%statistic_brewingstand_interaction%
%statistic_cake_slices_eaten%
%statistic_cauldron_filled%
%statistic_cauldron_used%
%statistic_chest_opened%
%statistic_climb_one_cm%
%statistic_crafting_table_interaction%
%statistic_crouch_one_cm%
%statistic_damage_dealt%
%statistic_damage_taken%
%statistic_deaths%
%statistic_dispenser_inspected%
%statistic_dive_one_cm%
%statistic_drop%
%statistic_dropper_inspected%
%statistic_enderchest_opened%
%statistic_fall_one_cm%
%statistic_fish_caught%
%statistic_flower_potted%
%statistic_fly_one_cm%
%statistic_furnace_interaction%
%statistic_hopper_inspected%
%statistic_horse_one_cm%
%statistic_item_enchanted%
%statistic_jump%
%statistic_junk_fished%
%statistic_leave_game%
%statistic_join_game%
%statistic_minecart_one_cm%
%statistic_noteblock_played%
%statistic_noteblock_tuned%
%statistic_pig_one_cm%
%statistic_player_kills%
%statistic_record_played%
%statistic_sprint_one_cm%
%statistic_swim_one_cm%
%statistic_talked_to_villager%
%statistic_time_since_death%
%statistic_ticks_since_death%
%statistic_seconds_since_death%
%statistic_minutes_since_death%
%statistic_hours_since_death%
%statistic_days_since_death%
%statistic_traded_with_villager%
%statistic_trapped_chest_triggered%
%statistic_walk_one_cm%
%statistic_sleep_in_bed%
%statistic_sneak_time%
%statistic_aviate_one_cm%


ĐÂY LÀ 1 SỐ API MẪU KHÔNG CÓ TRONG PLUGINS NÀO, CÒN MUỐN THÌ LÊN ĐÂY XEM VÀ DÙNG LỆNH: /papi ecloud download <plugin>

XONG RỒI THÌ ADD API LÀ CHẠY ĐƯỢC ~~
Player point nằm chỗ naof vậy bác
 
Papi của player point chứ ko phải plugin
Vui lòng xem kĩ trước khi nhắn
37880
 
Similar content Most view Xem thêm
Back
Top Bottom