
/scoreboard
จัดการเป้าหมายของสกอร์บอร์ดและคะแนนของผู้เล่น รูปแบบพื้นฐานคือ /scoreboard objectives add <objective> <criteria> มีรูปแบบคำสั่ง 30 แบบและอาร์กิวเมนต์ 15 ตัว สิทธิ์: สูตรโกง / op 2
รูปแบบคำสั่ง /scoreboard
ข้อมูลเกมทุกรูปแบบที่เกมยอมรับ คำใน <วงเล็บมุม> คืออาร์กิวเมนต์ที่คุณต้องกรอก ส่วนที่เหลือพิมพ์ตามที่เห็น
/scoreboard objectives add <objective> <criteria>/scoreboard objectives add <objective> <criteria> <displayName>/scoreboard objectives list/scoreboard objectives modify <objective> displayautoupdate <value>/scoreboard objectives modify <objective> displayname <displayName>/scoreboard objectives modify <objective> numberformat/scoreboard objectives modify <objective> numberformat blank/scoreboard objectives modify <objective> numberformat fixed <contents>/scoreboard objectives modify <objective> numberformat styled <style>/scoreboard objectives modify <objective> rendertype hearts/scoreboard objectives modify <objective> rendertype integer/scoreboard objectives remove <objective>/scoreboard objectives setdisplay <slot>/scoreboard objectives setdisplay <slot> <objective>/scoreboard players add <targets> <objective> <score>/scoreboard players display name <targets> <objective>/scoreboard players display name <targets> <objective> <name>/scoreboard players display numberformat <targets> <objective>/scoreboard players display numberformat <targets> <objective> blank/scoreboard players display numberformat <targets> <objective> fixed <contents>/scoreboard players display numberformat <targets> <objective> styled <style>/scoreboard players enable <targets> <objective>/scoreboard players get <target> <objective>/scoreboard players list/scoreboard players list <target>/scoreboard players operation <targets> <targetObjective> <operation> <source> <sourceObjective>/scoreboard players remove <targets> <objective> <score>/scoreboard players reset <targets>/scoreboard players reset <targets> <objective>/scoreboard players set <targets> <objective> <score>ตัวอย่างคำสั่ง /scoreboard
ตัวอย่างพร้อมวาง (เปิดสูตรโกง) @s คือตัวคุณ @p คือผู้เล่นที่ใกล้ที่สุด @a คือทุกคน @e คือทุกเอนทิตี
/scoreboard objectives add deaths deathCount "Deaths"- สร้างวัตถุประสงค์ "Deaths" ที่นับจำนวนการตายของผู้เล่นแต่ละคนโดยอัตโนมัติ
/scoreboard objectives setdisplay sidebar deaths- แสดงบนแถบด้านข้าง
/scoreboard players add @s coins 10- เพิ่ม 10 ให้คะแนน "coins" ของคุณ
อาร์กิวเมนต์ของ /scoreboard
อาร์กิวเมนต์แต่ละตัวรับค่าอะไร พร้อมข้อจำกัดที่เกมบังคับใช้
| อาร์กิวเมนต์ | รับค่า | ข้อจำกัด |
|---|---|---|
<objective> | ข้อความ | — |
<criteria> | เกณฑ์ของเป้าหมาย | — |
<displayName> | คอมโพเนนต์ข้อความ JSON | — |
<value> | true หรือ false | — |
<contents> | คอมโพเนนต์ข้อความ JSON | — |
<style> | รูปแบบข้อความ | — |
<slot> | ช่องแสดงผล (sidebar, list, below_name) | — |
<targets> | ผู้ถือคะแนน (ตัวเลือกเป้าหมาย ชื่อ หรือ *) | — |
<score> | จำนวนเต็ม | อย่างน้อย 0 |
<name> | คอมโพเนนต์ข้อความ JSON | — |
<target> | ผู้ถือคะแนน (ตัวเลือกเป้าหมาย ชื่อ หรือ *) | เป้าหมายเดียว |
<targetObjective> | ชื่อเป้าหมายสกอร์บอร์ด | — |
<operation> | การดำเนินการกับคะแนน (= += -= *= /= %= < > ><) | — |
<source> | ผู้ถือคะแนน (ตัวเลือกเป้าหมาย ชื่อ หรือ *) | — |
<sourceObjective> | ชื่อเป้าหมายสกอร์บอร์ด | — |
คำสั่งที่เกี่ยวข้อง
ข้อมูล: ไฟล์เกม Minecraft Java Edition 26.3 ที่มาของข้อมูล
จัดการเป้าหมายของสกอร์บอร์ดและคะแนนของผู้เล่น มีรูปแบบคำสั่ง 30 แบบ และผู้ที่ใช้ได้คือ: สูตรโกง / op 2
ดูเพิ่มเติม
ช่วยเรารักษาความถูกต้อง! หากพบสถิติที่ไม่ถูกต้อง ข้อมูลที่หายไป หรือปัญหาอื่นๆ ความเห็นของคุณช่วยยกระดับคุณภาพข้อมูลของเราให้ทั้งชุมชน
คำถามที่พบบ่อยเกี่ยวกับ /scoreboard (Java 26.3)
/scoreboard ในมายคราฟทำอะไร?
จัดการเป้าหมายของสกอร์บอร์ดและคะแนนของผู้เล่น
รูปแบบของ /scoreboard คืออะไร?
รูปแบบพื้นฐานคือ /scoreboard objectives add <objective> <criteria> รูปแบบทั้งหมดอยู่ด้านบน
ตัวอย่างการใช้ /scoreboard มีอะไรบ้าง?
/scoreboard objectives add deaths deathCount "Deaths" — สร้างวัตถุประสงค์ "Deaths" ที่นับจำนวนการตายของผู้เล่นแต่ละคนโดยอัตโนมัติ
ต้องเปิดสูตรโกงเพื่อใช้ /scoreboard ไหม?
ต้อง: สูตรโกง / op 2 ในโหมดผู้เล่นคนเดียวให้เปิด อนุญาตสูตรโกง (หรือเปิดให้ LAN พร้อมสูตรโกง)