/scoreboard

Kody / op 2Java 26.3

Zarządza celami tablicy wyników i punktami graczy. Podstawowa forma to /scoreboard objectives add <objective> <criteria>; komenda ma 30 form składni i 15 argumentów. Uprawnienia: Kody / op 2.

Kto może użyć
Kody / op 2
Formy składni
30
Argumenty
15

Składnia: /scoreboard

Dane z gry

Każda forma, którą gra akceptuje. Słowa w <nawiasach ostrych> to argumenty do uzupełnienia; resztę wpisuje się dosłownie.

/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>

Przykłady: /scoreboard

Gotowe do wklejenia przykłady (z włączonymi kodami). @s to Ty, @p najbliższy gracz, @a wszyscy gracze, @e każdy byt.

/scoreboard objectives add deaths deathCount "Deaths"
Tworzy cel „Deaths”, który automatycznie liczy śmierci każdego gracza.
/scoreboard objectives setdisplay sidebar deaths
Wyświetla go na pasku bocznym.
/scoreboard players add @s coins 10
Dodaje 10 do twojego wyniku „coins”.

Argumenty: /scoreboard

Czego oczekuje każdy argument, z ograniczeniami narzucanymi przez grę.

Argumenty: /scoreboard
ArgumentOczekujeOgraniczenia
<objective>Tekst—
<criteria>Kryterium celu—
<displayName>Komponent tekstowy JSON—
<value>true lub false—
<contents>Komponent tekstowy JSON—
<style>Styl tekstu—
<slot>Miejsce wyświetlania (sidebar, list, below_name)—
<targets>Posiadacz wyniku (selektor, nazwa lub *)—
<score>Liczba całkowitaco najmniej 0
<name>Komponent tekstowy JSON—
<target>Posiadacz wyniku (selektor, nazwa lub *)jeden cel
<targetObjective>Nazwa celu tablicy wyników—
<operation>Operacja na wyniku (= += -= *= /= %= < > ><)—
<source>Posiadacz wyniku (selektor, nazwa lub *)—
<sourceObjective>Nazwa celu tablicy wyników—

Powiązane komendy

Dane: pliki gry Minecraft Java Edition 26.3. Skąd mamy te dane

Zarządza celami tablicy wyników i punktami graczy. Ma 30 form składni, a użyć jej mogą: Kody / op 2.

Zobacz także

🔍

Pomóż nam utrzymać dokładność! Jeśli zauważysz nieprawidłowe statystyki, brakujące dane lub jakiekolwiek problemy, Twoja opinia bezpośrednio poprawia jakość naszych danych dla całej społeczności.

Zgłoś problem

/scoreboard – FAQ (Java 26.3)

Co robi /scoreboard w Minecraft?

Zarządza celami tablicy wyników i punktami graczy.

Jaka jest składnia /scoreboard?

Podstawowa forma to /scoreboard objectives add <objective> <criteria>. Wszystkie formy są wymienione powyżej.

Jaki jest przykład użycia /scoreboard?

/scoreboard objectives add deaths deathCount "Deaths" — Tworzy cel „Deaths”, który automatycznie liczy śmierci każdego gracza.

Czy /scoreboard wymaga kodów?

Tak: Kody / op 2. W trybie jednoosobowym włącz „Zezwól na kody” (lub otwórz świat w sieci LAN z kodami).