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/serverpack: Difference between revisions

From SAS Gaming Wiki
imported>Nethonos
de-interwiki
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 4: Line 4:
|name=serverpack
|name=serverpack
|oplevel=2
|oplevel=2
|others=<code>-DMC_DEBUG_DEV_COMMANDS</code> [[Minecraft:debug property]]
|others=<code>-DMC_DEBUG_DEV_COMMANDS</code> debug property
}}
}}


'''/serverpack''' is a command that can be enabled with the [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>. It can install and remove server [[Minecraft:resource packs]].
'''/serverpack''' is a command that can be enabled with the debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>. It can install and remove server resource packs.


== Syntax ==
== Syntax ==
Line 40: Line 40:
{{HistoryTable
{{HistoryTable
|{{HistoryLine|java}}
|{{HistoryLine|java}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added [[Minecraft:debug property]] <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
|{{HistoryLine||1.21.9|dev=Pre-Release 1|Added debug property <code>-DMC_DEBUG_DEV_COMMANDS</code>, making the command accessible in the vanilla game.}}
}}
}}


Line 46: Line 46:
{{Navbox commands}}
{{Navbox commands}}


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

Revision as of 15:45, 9 April 2026

Template:Exclusive Template:Debug warning Template:Infobox command

/serverpack is a command that can be enabled with the debug property -DMC_DEBUG_DEV_COMMANDS. It can install and remove server resource packs.

Syntax

serverpack push <url> [<uuid>] [<hash>]

Installs the resource pack found at the specified URL on the server. An optional UUID and the file's SHA1 hash can also be specified for the server to be able to verify the integrity of the pack, like the Template:Cd and Template:Cd server properties.

serverpack pop <uuid>

Removes the resource pack with the specified UUID from the server.

Arguments

Template:Argument

Specifies the URL to download a resource pack from.
Template:Arg desc

Template:Argument

For Template:Cd, specifies an optional UUID for the resource pack to be installed. For Template:Cd, specifies the UUID of the resource pack to remove.
Template:Arg desc

Template:Argument

Specifies the SHA1 hash of the resource pack to be installed.
Template:Arg desc

Result

Template:Result table Template:Result table Template:Result table Template:Result table

Output

Template:Output table Template:Output table Template:Output table

History

Template:HistoryTable

Navigation

Template:Navbox commands

de:Befehl/serverpack zh:命令/serverpack