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

From SAS Gaming Wiki
SyncBot (talk | contribs)
Fix template calls: add MC/ prefix
SyncBot (talk | contribs)
Sync: updated from Minecraft
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{MC/Exclusive|bedrock}}
{{exclusive|bedrock}}
{{Infobox command
{{Infobox command
|name=sendshowstoreoffer
|name=sendshowstoreoffer
Line 13: Line 13:


== Arguments ==
== Arguments ==
{{MC/Argument|be=1|player: target|CommandSelector<Player>}}
{{argument|be=1|player: target|CommandSelector<Player>}}
: {{MC/Arg desc|be=CommandSelector<Player>}}
: {{arg desc|be=CommandSelector<Player>}}
{{MC/Argument|be=1|redirectType: RedirectLocation|enum}}
{{argument|be=1|redirectType: RedirectLocation|enum}}
: Specifies the redirect type, values are:
: Specifies the redirect type, values are:
:* <code>marketplace</code>
:* <code>marketplace</code>
:* <code>character</code>
:* <code>character</code>
{{MC/Argument|be=1|offerId: string|string}}
{{argument|be=1|offerId: string|string}}
: Specifies the offer ID.
: Specifies the offer ID.
: {{MC/Arg desc|be=string}}
: {{arg desc|be=string}}


== Result ==
== Result ==
{{MC/Empty Section}}
=== Success ===
When executed successfully, a network request is sent to the target player's client to prompt the specified storefront view.
{| class="wikitable font-sans-serif"
! Command !! Situation !! Success Count !! Output
|-
 
| rowspan="2" | <code>/sendshowstoreoffer</code> || The targeted player is online and the store request is successfully dispatched. || 1 || ''None''
|}
 
=== Failure ===
{| class="wikitable font-sans-serif"
! Command !! Trigger !! Error Message
|-
 
| rowspan="3" | <code>/sendshowstoreoffer</code> || <nowiki><player: target></nowiki> is a selector that targets non-player entities or an offline player. || <code>No targets matched selector</code>
|-
|| Executed from a local singleplayer instance or client-side game session. || <code>Unknown command: sendshowstoreoffer. Please check that the command exists and that you have permission to use it.</code>
|}
 


== History ==
== History ==
{{HistoryTable|{{MC/HistoryLine|bedrock}}|{{HistoryLine||1.2.13|Accidentally added developer commands to iOS, including {{MC/Cmd|link=none|sendshowstoreoffer}}.}}|{{MC/HistoryLine||1.2.14|Removed all developer commands.}}|{{MC/HistoryLine||1.19.80|Added back the /sendshowstoreoffer command.<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15886</ref>}}
{{HistoryTable|{{HistoryLine|bedrock}}|{{HistoryLine||1.2.13|Accidentally added developer commands to iOS, including {{cmd|link=none|sendshowstoreoffer}}.}}|{{HistoryLine||1.2.14|Removed all developer commands.}}|{{HistoryLine||1.19.80|Added back the {{cmd|link=none|sendshowstoreoffer}} command.<ref>[https://github.com/Mojang/bedrock-samples/releases/tag/v1.20.80.5 bedrock samples for 1.20.80.5 release] metadata/command_modules/mojang-commands.json line 15886</ref>}}
}}
}}


== References ==
== References ==
<references />
{{Reflist}}


== External links ==
== External links ==
Line 38: Line 56:


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


pt:Comandos/sendshowstoreoffer
[[Minecraft:pt:Comandos/sendshowstoreoffer]]
zh:命令/sendshowstoreoffer
[[Minecraft:zh:命令/sendshowstoreoffer]]

Latest revision as of 11:10, 18 October 2026

Template:Exclusive Template:Infobox command

Send a request to show players the store offer.

Syntax

sendshowstoreoffer <player: target> <redirectType: RedirectLocation> <offerId: string>
sendshowstoreoffer <player: target> server

Arguments

Template:Argument

Template:Arg desc

Template:Argument

Specifies the redirect type, values are:
  • marketplace
  • character

Template:Argument

Specifies the offer ID.
Template:Arg desc

Result

Success

When executed successfully, a network request is sent to the target player's client to prompt the specified storefront view.

Command Situation Success Count Output
/sendshowstoreoffer The targeted player is online and the store request is successfully dispatched. 1 None

Failure

Command Trigger Error Message
/sendshowstoreoffer <player: target> is a selector that targets non-player entities or an offline player. No targets matched selector
Executed from a local singleplayer instance or client-side game session. Unknown command: sendshowstoreoffer. Please check that the command exists and that you have permission to use it.


History

Template:HistoryTable

References

Template:Reflist

External links

Navigation

Template:Navbox commands

Minecraft:pt:Comandos/sendshowstoreoffer Minecraft:zh:命令/sendshowstoreoffer