Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Commands/script: Difference between revisions

From SAS Gaming Wiki
imported>RedX
No edit summary
 
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{distinguish|Commands/scriptevent}}
{{MC/Distinguish|Commands/scriptevent}}
{{stub}}
{{MC/Stub}}
{{exclusive|bedrock|education}}
{{MC/Exclusive|bedrock|education}}
{{Infobox command
{{Infobox command
|name=script
|name=script
Line 24: Line 24:


== Arguments ==
== Arguments ==
{{argument|be=1|host: string|basic_string}}
{{MC/Argument|be=1|host: string|basic_string}}
: Debugger's host
: Debugger's host
: {{arg desc|be=basic_string}}
: {{MC/Arg desc|be=basic_string}}


{{argument|be=1|port: int|int}}
{{MC/Argument|be=1|port: int|int}}
: Port of the debugger
: Port of the debugger
: {{arg desc|be=int}}
: {{MC/Arg desc|be=int}}


== Result ==
== Result ==
{{expand section}}
{{MC/Expand section}}


== Output ==
== Output ==
{{expand section}}
{{MC/Expand section}}


== Example ==
== Example ==
{{expand section}}
{{MC/Expand section}}


== History ==
== History ==
{{HistoryTable
{{HistoryTable
|{{HistoryLine|bedrock}}
|{{MC/HistoryLine|bedrock}}
|{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{cmd|script|link=none}}.}}
|{{HistoryLine||1.19.0|dev=beta 1.19.0.30|Added {{MC/Cmd|script|link=none}}.}}
|{{HistoryLine||1.19.30|dev=Preview 1.19.30.22|Added {{cmd|script watchdog exportstats|link=none}}.}}
|{{HistoryLine||1.19.30|dev=Preview 1.19.30.22|Added {{MC/Cmd|script watchdog exportstats|link=none}}.}}
}}
}}


== See also ==
== See also ==
* {{cmd|scriptevent}} — a command that triggers a script event
* {{MC/Cmd|scriptevent}} — a command that triggers a script event


== External links ==
== External links ==
Line 55: Line 55:


== Navigation ==
== Navigation ==
{{Navbox commands}}
{{MC/Navbox commands}}


[[Minecraft:de:Befehl/script]]
de:Befehl/script
[[Minecraft:zh:命令/script]]
zh:命令/script

Latest revision as of 20:13, 9 April 2026

Template:Hatnote Template:Message box Script error: No such module "Exclusive". Template:Infobox command Debugging options for GameTest Framework.

Syntax

script debugger close
Close a debugger.
script debugger connect [host: string] [port: int]
Connect to a debugger.
script debugger listen <port: int>
List a debugger.
script profiler start
Start profiler.
script profiler stop
Stop profiler.
script watchdog exportstats
Export watchdog stats.

Arguments

host: string: basic_string

Debugger's host
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|string}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

port: int: int

Port of the debugger
{{#vardefine:onlyje|Template:IN,}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|integer}}Template:Error{{#vardefine:onlyje|}}{{#vardefine:onlybe|}}{{#vardefine:je-arg|}}{{#vardefine:be-arg|}}

Result

Template:Message boxTemplate:Article other

Output

Template:Message boxTemplate:Article other

Example

Template:Message boxTemplate:Article other

History

Template:HistoryTable

See also

  1. REDIRECT Template:Command

Template:Redr — a command that triggers a script event

External links

Navigation

All editions
Removed
Template:El only
Debug
Removed
Template:Els only
Template:El only
Removed
Template:El only
Removed
Template:Els only
Removed
Joke
Related

de:Befehl/script zh:命令/script