Minecraft:Commands/sendshowstoreoffer: Difference between revisions
From SAS Gaming Wiki
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{exclusive|bedrock}} | ||
{{Infobox command | {{Infobox command | ||
|name=sendshowstoreoffer | |name=sendshowstoreoffer | ||
| Line 13: | Line 13: | ||
== Arguments == | == Arguments == | ||
{{ | {{argument|be=1|player: target|CommandSelector<Player>}} | ||
: {{ | : {{arg desc|be=CommandSelector<Player>}} | ||
{{ | {{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> | ||
{{ | {{argument|be=1|offerId: string|string}} | ||
: Specifies the offer ID. | : Specifies the offer ID. | ||
: {{ | : {{arg desc|be=string}} | ||
== Result == | == Result == | ||
{{ | === 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|{{ | {{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 == | ||
{{Reflist}} | |||
== External links == | == External links == | ||
| Line 38: | Line 56: | ||
== Navigation == | == Navigation == | ||
{{ | {{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
- Specifies the redirect type, values are:
marketplacecharacter
- 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
References
External links
Minecraft:pt:Comandos/sendshowstoreoffer Minecraft:zh:命令/sendshowstoreoffer