Użytkownik:Frisk/brudnopis: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
d Głupio mi tak dodawać tak mało zmian ale jakoś nie mam ochoty. Czekam aż powrócą mi siły ;)
/shrug
 
(Nie pokazano 48 wersji utworzonych przez 7 użytkowników)
Linia 1: Linia 1:
<!-- Witaj tłumaczący człowieku! Wybrałem ten artykuł do tłumaczenia z powodu słabego naszego artykułu. Data rozpoczęcia prac: 21-12-2013! -->
{{#invoke:Sprite|link|name=Inv}}


Nudzi Ci się? Bardzo? Możesz pomóc tłumacząc ten artykuł. Każda pomoc się przyda! :D ~piotrex43
<noinclude>
 
{{Użytkownik:Frisk/brudnopis|Lód|Niebieska ziemia}}
'''Komendy''' mogą być używane przez [[Gracz|graczy]], [[operator]]ów i [[Blok Poleceń]] w trybie wielu graczy połączonym z [[Serwer|serwerem]] ''Minecrafta'', i w trybie jednego gracza gdy użytkownik ma włączone używanie kodów dla świata (kody można włączyć podczas tworzenia świata za pomocą przycisku "Więcej Opcji Świata..."). Niektóre komendy są również dostępne w trybie jednego gracza nawet gdy używanie kodów nie jest włączone. Komendy mogą być wprowadzone z klienta gry ''Minecraft'' podczas gry lub na konsoli serwera komputera hosta.
</noinclude>
 
Komendy bezpośrednio wprowadzane do klienta gry ''Minecraft'' muszą być poprzedzone ukośnikiem (przykład: {{Komendy|toggledownfall}}). Okno komend jest identyczne do okna rozmów i może być dostępne po naciśnięciu {{key|T}} lub bezpośrednio wpisując ukośnik.
 
Komendy wykonywane przez konsolę nie są poprzedzone ukośnikiem. Komendy w bloku poleceń mogą być poprzedzone ukośnikiem, ale nie jest to wymagane.
 
Naciśnięcie klawisza {{key|Tab}} powoduje wyświetlenie możliwych dokończeń komend co ułatwia pracę administratra serwera.
 
In the following tables, required arguments appear in <angle brackets>, and optional arguments appear in [square brackets]. Arguments in ''italics'' should be replaced by an appropriate value; arguments in plain text must be entered exactly as shown.
 
== Komendy graczy ==
 
Komendy mogą być używane w oknie chatu prze każdego gracza który może wejść na [[serwer]], and can also be used in singleplayer whether or not [[cheats]] are enabled.
 
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Command
! width="55%" align="center" | Description
! width="20%" align="center" | Success Conditions<ref group="note" name="success">A command's Success Conditions must be met in order for the game to consider the command "successful". This is used to determine a variety of things, such as the output of a [[Redstone Comparator]] feeding from [[Command Block]] with a command. Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.</ref>
|-
| {{Anchor|help}}'''help''' [''page'' <nowiki>|</nowiki> ''commandname'']<br />'''?''' [''page'' <nowiki>|</nowiki> ''commandname'']
| Shows a list of available commands or further information to the ''commandname''. '''Note:''' the multiplayer-only commands are not listed in single-player games, even when open to LAN players.
| Succeeds if ''page'' is valid or no page/commandname is specified. Technically fails if ''commandname'' is specified, although it displays the usage of the command.
|-
| {{Anchor|me}}'''me''' <''actiontext''>
| Podobne do /emote or /action, oraz takie samo jak /me w klientach IRC, /me wysyła narracyjną wiadomość do innych graczy w formie "* ''Twój nick'' ''tekst''" (e.g., "* Notch kichł." lub "* Notch wybuchł." ). If a multi-person [[Command_Block#Arguments|target selector]] (e.g. @a) is used in ''actiontext'', the list of names is formatted as "name1, name2, and name3", or "name1 and name2" for two names. Therefore, regardless of any target selectors which are used in ''actiontext'', this command will only output once.
| ''All'' target selectors (e.g. @p) in ''actiontext'' must evaluate.
|-
| {{Anchor|tell}}'''tell''' <''playername''> <''message''><br />'''msg''' <''playername''> <''message''><br />'''w''' <''playername''> <''message''>
| Used to send a private message to a player on the server. Very useful on servers if you need to ask/tell something from/to another player without other players seeing. If a multi-person [[Command_Block#Arguments|target selector]] (e.g. @a) is used in ''message'', the list of names is formatted as "name1, name2, and name3", or "name1 and name2" for two names. Therefore, regardless of any target selectors which are used in ''message'', this command will only output once - however, a selector for ''playername'' can send a message to multiple people.
| ''All'' target selectors (e.g. @p) in ''message'' must evaluate, and ''playername'' must be online.
|}
 
<references group="note" />
 
== Komendy operatora ==
 
Te komendy są używane przez operatorów) z konsoli serwera jak również przez okno rozmowy gdy wyświetlone znakiem komendy (ukośnikiem do przodu). Te komendy są również dostępne w trybie jednego gracza z włączonym używaniem kodów lub dla gracza utrzymującego serwer.
 
'''Uwaga:''' Komendy operatora wyświetlane są również innym operatorom online.
 
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Komenda
! width="55%" align="center" | Opis
! width="20%" align="center" | Warunki sukcesu
|-
| {{Anchor|achievement}}'''achievement''' give <''nazwa osiągnięcia''> [''nick gracza'']
| Daje graczowi osiągnięcie, i wszystkie poprzednie osiągnięcia. ''nazwa osiągnięcia'' musi stosować "achievement." poprzedzone przez nazwę osiągnięcia (zobacz [[Tablica wyników]] lub [[Osiągnięcia]] dla poprawnych nazw). Jeśli ''nick gracza'' nie jest określony, osiągnięcie otrzyma wykonawca komendy.
| ''nazwa osiągnięcia'' musi być poprawną nazwą osiągniącia. ''nick gracza'' jest obowiązkowy w blokach poleceń i gracz musi być online.
|-
| {{Anchor|clear}}'''clear''' <''nick gracza''> [''przedmiot''] [''dodatkowe dane'']
| Czyści wyposażenie ''gracza'' lub określony ''przedmiot'':''dane''.
| Przynajmniej jeden przedmiot musi być usunięty, i ''gracz'' musi być online.
|-
| {{Anchor|debug}}'''debug''' start <nowiki>|</nowiki> stop
| Starts a new debug profiling session or stops the session currently running. It notifies about potential performance bottlenecks in the console when active and creates a profiler results file in the folder ''debug'' when stopped.
| Może być zatrzymane tylko gdy debug jest włączony. Nie może być używane w [[blok poleceń|blokach poleceń]].
|-
| {{Anchor|defaultgamemode}}'''defaultgamemode''' survival <nowiki>|</nowiki> creative <nowiki>|</nowiki> adventure
| Ustawia domyślny tryb gry pokazywany w menu gry. Nowi gracze którzy dołączą do świata automatycznie będą mieli podany tryb gry; n.p.,jeśli domyślnym trybem gry jest tryb kreatywny, nowi gracze będą mieli automatycznie tryb kreatywny. Tryby można skrócić do "s/c/a" lub "0/1/2". Komenda nie może włączyć czy wyłączyć trybu [[Hardcore]].
| Tryb gry musi być poprawny.
|-
| {{Anchor|difficulty}}'''difficulty''' peaceful <nowiki>|</nowiki> easy <nowiki>|</nowiki> normal <nowiki>|</nowiki> hard
| Zmienia poziom trudności. Poziomy trudności mogą być kolejno skrócone do "p/e/n/h" lub "0/1/2/3".
| Musi być prawidłowym poziomem trudności.
|-
| {{Anchor|effect}}'''effect''' <''playername''> <''effect''> [''seconds''] [''amplifier'']
| Gaje danemu graczowi odpowiedni [[efekty mikstur|efekt mikstury]] na sprecyzowany przez operatora czas (domyślnie to 30 sekund). Efekty mają limit do 1,000,000 sekund, a wartość ''amplifier'' może być sprecyzowana jedynie do liczby 255. Numery ID efektów mogą być znalezione na stronie o [[efekty mikstur|efektach mikstur]]. Ustawienie wartości ''seconds'' do 0 usuwa efekt. Jeśli wartość ''amplifier'' ustawimy powyżej maksymalniej liczby 255 to poziom efektu nie zostanie nadany prawidłowo.
| If clearing an effect, the player must have this effect. Must be a valid ''effect''. ''Playername'' musi być online.
|-
| '''effect''' <''playername''> clear
| Clears all effects on ''playername''.
| At least one effect must be removed, and ''playername'' must be online.
|-
| {{Anchor|enchant}}'''enchant''' <''playername''> <''[[Enchanting#Enchantments|enchantment ID]]''> [''enchantment level'']
| Enchants the item that the player is currently holding, according to [[Enchanting#Enchantments|enchantment ID]]. Note that this works within the normal limitations of enchanting items. Enchantments can only be applied to items which can normally receive that specific enchantment. Enchantment levels can not be above the normal highest achievable for the selected enchantment. Conflicting or overpowering enchantment combinations usually prevented are also prevented with this command.
| The enchantment ID must be valid, the level must be valid for this enchantment (unless the held item is also invalid), the held item must be able to accept this enchantment, the held item cannot have conflicting enchantments, and ''playername'' must be online.
|-
| {{Anchor|gamemode}}'''gamemode''' <survival <nowiki>|</nowiki> creative <nowiki>|</nowiki> adventure> [''playername''] || Zmienia tryb gry dla ''playername''. The game modes can be abbreviated to "s/c/a" or "0/1/2" respectively. Jeśli wartość ''playername'' nie zostanie podana, to tryb gry zostanie zmieniony osobie wprowadzającej komendę. Należy pamiętać, że dotyczy to tylko gracza wpisanego w komendzie ''playername'' i nikogo innego || Gracz musi być wtedy online, oraz tryb gry musi być poprawny. ''Playername'' jest obowiązkowy dla [[blok poleceń|bloków poleceń]].
|-
| {{Anchor|gamerule}}'''gamerule''' <''rulename''> [true <nowiki>|</nowiki> false]
| Aktywuje lub dezaktywuje zasadę gry. Teśli true/false nie zostanie podane, pokazuje się obecny stan zasady gry. Dostępne zasady to:
* commandBlockOutput - Czy [[blok poleceń|bloki poleceń]] powinny informować administrację serwera o wykonanej komendzie.
* doFireTick - Czy ogień ma spalać bloki.
* doMobLoot - Czy [[mob]]y powinny upuszczać [[przedmioty]].
* doMobSpawning - Czy moby powinny się odradzać.
* doTileDrops - Czy bloki powinny upuszczać przedmioty.
* keepInventory - Czy ekwipunek gracza powinien wypadać przy śmierci gracza.
* mobGriefing - Czy [[creeper]]y, [[enderman]]y, [[ghast]]y, oraz [[wither]]y mogą wpływać na zmianę bloków, oraz czy [[zombie]], [[szkielet]]y, i [[pigman]]y mogą podnosić przedmioty.
* naturalRegeneration - Czy graczowi może regenerować się [[życie]] gdy ma wystarczający poziom [[głód|głodu]].
* doDaylightCycle - Czy cykl dnia i nocy ma być cały czas aktywny(zatrzymuje czas).
| Succeeds in literally all cases - even absent/invalid ''rulename'' or a property besides 'true' or 'false'.
|-
| {{Anchor|give}}'''give'''  <''nick gracza''> <''[[ID]]''> [''ilość''] [''metadata''] [''dataTag'']
| Tworzy ''ilość'' (domyślnie 1) przedmiotów określonych przez ''[[ID]]'' with the specified ''metadata'' (domyślnie 0) w miejscu ''gracza'', używając dataTag dla "tag" NBT tag. Na przykład wpisując ''/give John 5 30 1 {display:{Lore:["Wooden planks"]}}'' will give a player called John 30 blocks of Spruce Wood Planks with Lore that says "Wooden planks".
| ''Przedmiot'' musi mieć prawidłowe ID lub nazwę, ''ilość'' musi być od 0 do 64, i ''gracz'' musi być online.
|-
| {{Anchor|kill}}'''kill'''
| zadaje {{hp|1000}} obrażeń użytkownikowi, natychmiast zabijając użytkownika even if in creative (a high-level Resistance [[effect]] cannot protect the player either). The text "Ouch! That looks like it hurt." will be displayed after executing. Useful when lost, stuck, or to restore health and hunger (assuming you can get your items back easily or the keepInventory gamerule is set to "true"). Death message displays as "''playername'' fell out of the world"
| Cannot be used in a command block.
|-
| {{Anchor|publish}}'''publish'''
| Opens your single-player game for LAN friends to join. This command appears in the singleplayer cheats.
| Cannot be used in a command block.
|-
| {{Anchor|playsound}}'''playsound''' <''sound''> <''playername''> [''x''] [''y''] [''z''] [''volume''] [''pitch''] [''minimumVolume'']
| Plays the selected sound to the selected player. The format for ''sound'' is as follows:
 
Example: Sound located at ''.minecraft\assets\sound\mob\pig\death.ogg''
 
The value for ''sound'' would be written as ''mob.pig.death'', as the command originates from the sound folder. For sequentially numbered files pertaining to the same event (Example: various walking sounds), the player must exclude the number of the sound.
 
Example: Sound located at ''.minecraft\assets\sound\mob\pig\say'''[1-3]'''.ogg''
 
The value for ''sound'' would be written as ''mob.pig.say'' in this case. Since there are multiple ''mob.pig.say'' files (say1, say2, and say3), the command will play a randomly selected sound out of the three available.
 
The coordinates ''x'', ''y'', and ''z'' are the coordinates to play the sound from. If prefixed with "~", they will be relative to the player's current location. Note that "~" is shorthand for "~0", and thus "~ ~ ~" can be used as a substitute for the player's current location.
 
The ''volume'' argument controls the distance from which a sound may be heard. At values less than 1.0, the sound will be quieter and have a smaller sphere within which it may be heard. At values greater than 1.0, the sound will not actually grow louder, but its audible range (a 16-block radius at 1.0) will be multiplied by ''volume''.
 
The ''minimumVolume'' argument controls the volume of the sound outside its normal audible sphere. Note that the sound ''inside'' this sphere may actually be ''less'' than the volume of the sound outside this sphere, if ''volume'' is less than ''minimumVolume''.
 
The ''pitch'' argument alters both the pitch and the duration of the sound (which means that it's actually changing its speed).
| ''playername'' must be online, ''volume'' must be at least 0.0, ''pitch'' must be between 0.0 and 2.0 (inclusive), ''minimumVolume'' must be between 0.0 and 1.0 (inclusive), and the player must be able to hear the sound from where it is played.
|-
| {{Anchor|say}}'''say''' <''message''>
| Broadcasts ''message'' to all players on the server. If a multi-person [[Command_Block#Arguments|target selector]] (e.g. @a) is used, the list of names is formatted as "name1, name2, and name3", or "name1 and name2" for two names. Therefore, regardless of any target selectors which are used, this command will only output once.
| ''All'' target selectors (e.g. @p) in the message must evaluate.
|-
| {{Anchor|scoreboard}}'''scoreboard''' ''objectives''<nowiki>|</nowiki>''players''<nowiki>|</nowiki>''teams''
| See [[Scoreboard]] for more information. [[Scoreboard#Command_reference|Scoreboard-specific commands]].
| [[Scoreboard#Command_reference|Main Article]]
|-
| {{Anchor|seed}}'''seed'''
| Displays the seed. This command can always be used in single-player mode, regardless of whether cheats are enabled or not.
| Always succeeds (if user is a command block, player in singleplayer, or server op).
|-
| {{Anchor|setblock}}'''setblock''' <''x''> <''y''> <''z''> <''tilename''> [''datavalue''] [''oldblockHandling''] [''dataTag'']
| Places the block in the ''x'', ''y'' and ''z'' coordinates specified.
| ''tilename'' must exist, ''datavalue'' must exist if specified, ''oldBlockHandling'' must be either "replace", "keep" or "destroy" if specified and ''dataTag'' must evaluate if specified.
|-
| {{Anchor|setworldspawn}}'''setworldspawn''' [''x''] [''y''] [''z'']
| Sets the world's [[Spawn/Multiplayer_Details|spawn]] to the specified coordinates. If no coordinates are specified, the world spawn will be set to the executor's current location.
|  ''x'', ''y'', and ''z'' must be within the range [[Far Lands|-30,000,000 to 30,000,000]] (inclusive). ''x'', ''y'', and ''z'' are not optional in command blocks.
|-
| {{Anchor|spawnpoint}}'''spawnpoint''' <''playername''> [''x''] [''y''] [''z'']
| Sets the spawnpoint of that player to that position, or to the current position if x y and z are not specified. ''Player'' is optional if ''x y z'' are not specified; will set the spawnpoint of the user to their current location. NOTE: Spawnpoint coordinates must be specified in integers. No decimals.
| ''playername'' must be online, and ''x'', ''y'', and ''z'' must be within the range [[Far Lands|-30,000,000 to 30,000,000]] (inclusive). NOTE: Sleeping in a bed will also set a spawn point where the bed is, but you can only sleep in beds at night or when it rains.
|-
| {{Anchor|spreadplayers}}'''spreadplayers''' <''x''> <''z''> [''spreadDistance''] [''maxRange''] [''respectTeams''] <''playernames''>||This command allows players to spread out over a long or short distance.
 
''x'' and ''z'' mark the center of the area across which players are to be spread. ''spreadDistance'' is the rough minimum distance players will be spread apart.
 
''maxRange'' is the maximum distance from ''x'', ''z'' where players will be put. Note that this distance is not a circular radius; it represents the maximum distance on either coordinate (thus forming a box ranging from x-maxRange to x+maxRange and z-maxRange to z+maxRange).
 
''respectTeams'' may be true or false, and represents whether players should be moved individually or teams should be kept together.
 
''playernames'' is the list of players to spread. Names are separated by spaces.
| ''x'' and ''z'' must be within the range [[Far Lands|-30,000,000 to 30,000,000]] (exclusive), ''spreadDistance'' must be at least 0, ''maxRange'' must be at least 1.0 greater than ''spreadDistance'', and there must not be too many players to fit within the area (note that if ''maxRange'' is larger than 30,000,000, this can fail with even one player if it attempts to place them in the [[Far Lands]]).
|-
| {{Anchor|summon}}'''summon''' <''EntityName''> [''x''] [''y''] [''z''] [''dataTag'']
| Spawns desired entity. For example, <code>/summon Pig ~ ~ ~ {Saddle:1,CustomName:"Mr. Pig",CustomNameVisible:1}</code> would create a saddled pig named Mr. Pig at the player's current location.
| ''x'' and ''z'' must fall within the range [[Far Lands|-30,000,000 to 30,000,000]] (exclusive), and ''y'' must be at least 0. If coordinates aren't specified the entity will spawn at the player's location (or inside a command block if the command was executed by one).
|-
| {{Anchor|tellraw}}'''tellraw''' <''playername''> <''raw message''>
| Sends a message to a specified player, or to every player online on a server. Links can also be sent, with customizable actions when they are clicked, for example giving an apple to a player or teleporting the player to another location. This command can also be used to fake player messages.
''raw message'' uses JSON. [http://ezekielelin.com/minecraft/tellraw.php Here is a useful tool] to help create messages with JSON. Note that in the game, color will default to white if not given and all formatting (bold, italic, etc.) will default to false if not given, so you don't have to use the exact command the tool gives you.
| ''playername'' must be online, and the message text must be correctly coded in JSON.
|-
| {{Anchor|testforblock}}'''testforblock''' <''x''> <''y''> <''z''> <''tilename''> [''datavalue''] [''dataTag'']
| Used to test whether a particular block is in the ''x'', ''y'' and ''z'' coordinates specified. Datatags will not work unless a special syntax is used to specify what type of number (s for short, b for byte, L for long, f for float and d for double). Also all relevent tags must be included even if they are unused (eg: Chest contents must include slot (b) id (s) Damage (s) and count (b))
| ''tilename'' must exist, ''datavalue'' must exist if specified, and ''dataTag'' must evaluate if specified.
|-
| {{Anchor|time}}'''time''' set  <''number'' <nowiki>|</nowiki> day <nowiki>|</nowiki> night>||Sets the world time. ''number'' is an integer between 0 and 24000, inclusive, where 0 is dawn, 6000 midday, 12000 dusk and 18000 midnight. ''Number'' can be greater than 24000; in this case, the the time of day wraps around, but the moon's phase is advanced. However, Setting the time "backward" (earlier than the current time) does not change the moon. "time set day" sets the time to 1000, and "time set night" sets the time to 13000.
| ''Number'' must be 0 or positive, or "day" or "night".
|-
| '''time''' add  <''number''>
| Increments the world time, as above.
| ''Number'' must be 0 or positive. The daytime wraps, and the moon's phase advances; adding 24000 will advance the moon's phase by one day.
|-
| {{Anchor|toggledownfall}}'''toggledownfall'''
| Toggles rain and snow.
|Always succeeds.
|-
| {{Anchor|tp}}'''tp''' [''playername''] <''targetplayer''>
| Teleports player ''playername'' to ''targetplayer'' 's location. If no player is specified, it will teleport yourself.
| ''Playername'' is not optional in command blocks. Both players must be online.
|-
| '''tp''' [''playername''] <''x''> <''y''> <''z''>
| Teleports player ''playername'' (or yourself if no player is specified) to coordinates x,y,z. (the y value cannot be smaller than 0). Can also relatively move the player by adding the '''~''' character before the coordinate value. For example typing ''/tp John ~3 64 ~3'' will teleport a player called John 3 blocks away from his current x and z, and to y 64.
| ''x'' and ''z'' must fall within the range [[Far Lands|-30,000,000 to 30,000,000]] (exclusive), and ''y'' must be at least 0. ''Playername'' is not optional in command blocks, and the player must be online.
|-
| {{Anchor|weather}}'''weather''' (clear <nowiki>|</nowiki> rain <nowiki>|</nowiki> thunder) [''seconds'']
| Changes the weather for the specified duration.
| ''Seconds'' must be at least 1, and cannot be greater than 1,000,000, and a valid weather condition must be provided.
|-
| {{Anchor|xp}}'''xp''' <''amount''> [''playername'']
| Gives the specified user the given number of orbs. Maximum is 2,147,483,647 per command. Negative amounts may not be used to remove experience points. || ''Amount'' can be at most 2,147,483,647. ''Playername'' is not optional in command blocks, and player must be online.
|-
| '''xp''' <''amount''>L [''playername'']
| Gives ''playername'' the ''amount'' number of experience levels. Maximum is 2,147,483,647 — if a player is given levels pushing them past this limit, they get reset to 0. Negative amounts may be used to remove experience levels.
| ''Amount'' must be between -2,147,483,648 and 2,147,483,647, inclusive. ''Playername'' is not optional in command blocks, and player must be online.
|}
 
=== Multiplayer-only Commands ===
 
These commands are usable by [[op]]s (operators) from the server console as well as through the chat window when prefixed by the command character (a forward slash). These commands are only available in multiplayer mode. With the exception of the '''list''' command, none of these commands can be executed by a command block, and none make use of [[Command_Block#Arguments|target selectors]]. Many of these commands can be used on players who have never been to the server, or even on names which are not (or cannot be) registered as Minecraft accounts.
 
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Command
! width="55%" align="center" | Description
! width="20%" align="center" | Success Conditions
|-
| {{Anchor|ban}}'''ban''' <''playername''> [''reason'']
| Blacklists the name ''playername'' from the server so that they can no longer connect. '''Note''': Bans supersede any whitelisting in place.
| Always succeeds.
|-
| {{Anchor|ban-ip}}'''ban-ip''' ''ip-address'' <nowiki>|</nowiki> ''playername''
| Blacklists an IP address so that all subsequent connections from it are rejected.
| ''ip-address'' must be valid or ''playername'' must be online.
|-
| {{Anchor|banlist}}'''banlist''' [ips]
| Displays banned players. To display banned IP addresses, use the command "banlist ips"
| Always succeeds.
|-
| {{Anchor|deop}}'''deop''' <''playername''>
| Revokes a player's operator status.
| Always succeeds.
|-
| {{Anchor|kick}}'''kick''' <''playername''> [''reason'']
| Forcibly disconnects ''playername'' from the server, displaying an optional ''reason'' to them.
| ''Playername'' must be online.
|-
| {{Anchor|list}}'''list'''
| Shows the names of all currently-connected players (the same can be achieved when pressing tab)
| Always succeeds, even in a command block.
|-
| {{Anchor|op}}'''op''' <''playername''>
| Grants ''playername'' [[operator]] status on the server.
| Always succeeds.
|-
| {{Anchor|pardon}}'''pardon''' <''playername''>
| Removes ''playername'' from the blacklist, allowing them to connect again.
| Always succeeds.
|-
| {{Anchor|pardon-ip}}'''pardon-ip''' <''ip-address''>
| Removes ''ip-address'' from the IP blacklist, allowing players from that IP address to connect to the server.
| ''ip-address'' must be valid.
|-
| {{Anchor|save-all}}'''save-all'''
| Forces the server to write all pending changes to the world to disk.
| Always succeeds.
|-
| {{Anchor|save-off}}'''save-off'''
| Disables the server writing to the world files.  All changes will temporarily be queued.
| Always succeeds.
|-
| {{Anchor|save-on}}'''save-on'''
| Enables the server writing to the world files.  This is the default behavior.
| Always succeeds.
|-
| {{Anchor|setidletimeout}}'''setidletimeout''' <''Minutes until kick''>
|Set the idle kick timer. Any players idle for ''Minutes until kick'' will be kicked. || Always succeeds.
|-
| {{Anchor|stop}}'''stop'''
| Saves all changes to disk, then shuts down the server.
| Always succeeds.
|-
| {{Anchor|whitelist}}'''whitelist''' <add <nowiki>|</nowiki> remove> <''playername''>
| Adds or removes ''playername'' from the whitelist.
| Always succeeds.
|-
| '''whitelist''' list
| Displays all players in the whitelist.
| Always succeeds.
|-
| '''whitelist''' <on <nowiki>|</nowiki> off>
| Enables/disables the server's use of a whitelist. '''Note:''' Server ops will ''always'' be able to connect when the whitelist is active, even if their names do not appear in the whitelist.
| Always succeeds.
|-
| '''whitelist''' reload
| Reloads the list of playernames in white-list.txt from disk (used when white-list.txt has been modified outside of ''Minecraft'').
| Always succeeds.
|-
|}
 
== Command-Block-only commands ==
 
These commands can be used only in a [[Command Block]] and cannot be used in other ways. Command blocks are only obtainable via the <code>/give <playername> 137</code> command.
{| class="wikitable" style="width:100%"
! width="33%" align="center" | Command
! width="56%" align="center" | Description
! width="11%" align="center" | Success Conditions
|-
| {{Anchor|testfor}}'''testfor''' <''playername'' <nowiki>|</nowiki> ''selector''>
| Used to test whether ''playername'' is online, or if ''selector'' has matches. A [[Redstone Comparator]] as output from a command block with this command will indicate the number of players matched by ''selector''. For example, "testfor @a[r=3]" will output the number of players within 3 meters of the command block. To shrink the range to 1 block (when using specific x y z coordinates) you must intentionally cause an overflow by using 65536 as the range. More information about selectors may be found [[Command_Block#Arguments|here]].
| ''selector'' must be valid if specified.
|}
 
== Data tags ==
 
[[NBT format|NBT tags]] can be specified for items and entities created with the {{cmd|give}}, {{cmd|summon}} and other commands. Data tags are [[wikipedia:Data structure|data structures]]. The format is [[wikipedia:JSON|JSON]], although it is not strict ([https://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs/com/google/gson/stream/JsonReader.html#setLenient%28boolean%29 lenient]). The data is represented as a comma separated list of pairs. Each pair has the format <code><key>:<value></code>. The key is the name of the NBT tag and the value is the data that should be assigned to it. Tag names are case-sensitive, and whitespace outside keys or values is ignored.
 
The value can be different types:
 
* '''String''' is a piece of text, can be wrapped with double-quotes. Double quotes have to be used if the String contains commas, curly braces or square brackets. To use double-quotes inside Strings, the quote is escaped by a backslash (<code>\"</code>). When using the summon command, escaping is disabled (except for double quotes) and keys must not be quoted (probably a bug [https://mojang.atlassian.net/browse/MC-37661]). This causes an issue where trailing backslashes do not work (as do any other things that need to be escaped), even when escaped properly. The reason is that it escapes the quotation mark after the string which causes a malformed JSON object. <code>Example:"My name is \"Steve\""</code>
* '''Number''' are 1 or more digits that can have a leading sign (<code>+</code>/<code>-</code>). They're classified in Integers, that don't have a decimal mark, Doubles, that uses a dot (<code>.</code>) as a decimal mark, and Floats, that also have <code>f</code> appended after the number. Examples: <code>integer:-128</code>; <code>double:-1.2345</code>; & <code>float:1.2f</code>
* '''Array''' (or 'List') is multiple, comma separated values wrapped with square brackets. The containing values do not need to be of the same type. <code>Example:[1,2,3]</code>
* '''Boolean''' can either be <code>true</code> or <code>false</code>, but using Numbers works, too. When using numbers, everything between 0 and below 1 is false, other is true. <code>Example:true</code>
* '''Hash''' or 'Object' is a container for data structures (as explained above). They are wrapped with curly braces. '''Notice''': The Data tag itself is a Hash. Example: <code>{Health: 18, CustomName: "Friend"}</code>
* '''null''' This is a placeholder an empty value. Do not put quotes. <code>Example:null</code>
 
For a complete listing of defined tags (though not all can be modified by commands), see:
* [[Chunk_format#Block_Format|Blocks]]
* [[Chunk_format#Entity_Format|Entities]]
** [[Chunk_format#Mobs|Mobs]]
** [[Chunk_format#Projectiles|Projectiles]] (arrows, fireballs, thrown potions, etc.)
** [[Chunk_format#Items|Items]] (items on the ground)
** [[Chunk_format#Vehicles|Vehicles]] (boats, minecarts, etc.)
** [[Chunk_format#Dynamic_Tiles|Dynamic Tiles]] (primed TNT, falling sand/gravel)
** [[Chunk_format#Other|Other Entities]] (firework rockets, paintings, and item frames)
* [[Chunk_format#Tile_Entity_Format|Tile Entities]] (chests, furnaces, command blocks, mob spawners, signs, etc.)
* [[Player.dat|Player]]
** [[Player.dat#Item_structure|Items]] (items in player's inventory or containers)
 
For a complete list of identifiers, see:
* [[Data_values#Block_IDs|blocks]]
* [[Data_values#Item_IDs|items]]
* [[Data_values#Entity_IDs|entities]]
* [[Enchantment#Enchantments|enchantments]]
* [[Status_effect|status/potion effects]]
* [[Attribute|attributes]]
 
== Video ==
 
{{:Commands/video}}
 
== Historia ==
 
{{Historia|r}}
{{Historia||1.3.1|rowspan=5|snap=12w16a|Cheats mode was implemented.<br><code>/kill</code> teraz działa na [[Creative|trybie kreatywnym]].}}
{{Historia|||snap=12w22a|Komenda "defaultgamemode" została dodana.}}
{{Historia|||snap=12w24a|Komenda "publish" została dodana.}}
{{Historia|||snap=12w25a|Cheats could be turned on or off when opening a world to other players through LAN.}}
{{Historia|||snap=12w27a|Komenda "debug" została dodana.}}
{{Historia||1.4.2|rowspan=4|snap=12w32a|Komendy "difficulty," "gamerule," "spawnpoint," oraz "weather" zostały dodane.}}
{{Historia|||snap=12w37a|Komenda "clear" została dodana.}}
{{Historia|||snap=12w38a|<code>/clear</code> can now be used to remove specific blocks/items.}}
{{Historia|||snap=12w41a|The limit for <code>/xp</code> is now 2,147,483,647 instead of 5,000.}}
{{Historia||1.4.4pre|The "enchant" została dodana.}}
{{Historia||1.5|rowspan=3|snap=13w03a|The "testfor" została dodana. It works only for command blocks.}}
{{Historia|||snap=13w04a|Komenda "[[scoreboard]]" została dodana.}}
{{Historia|||snap=13w09b|The "effect" została dodana.}}
{{Historia||1.6|rowspan=5|snap=13w23a|The "spreadplayers" została dodana.|New gamerule "naturalRegeneration" was added.}}
{{Historia|||snap=13w24a|Zasada gry "doDaylightCycle" została dodana.}}
{{Historia|||snap=1.6pre|"clear" was added to the "effect" command.}}
{{Historia|||snap=1.6.1pre|komenda "playsound" została dodana.}}
{{Historia||1.7.2|rowspan=6|snap=13w36a|The "summon" została dodana.  You can now put NBT tags in /give and /summon.}}
{{Historia|||snap=13w37a|The "setblock" została dodana. When the 'x', 'y' and 'z' coordinates of the block are provided you can replace or destroy a block.|The "tellraw" została dodana. You can create chat messages with custom links when a button is pressed.|The "testforblock" została dodana. Command blocks can detect when blocks are placed and provide a comparator output.}}
{{Historia|||snap=13w38a|The "setidletimeout" została dodana. It automatically kicks idle players after the idle time specified in the command.  This command is for multiplayer-only, and can be used only by server operators.}}
{{Historia|||snap=13w43a|The "setworldspawn" została dodana. Sets new point as the spawn for all players, even if they have never joined the server or are offline. Will not override beds.}}
{{Historia|foot}}
 
</div></td></tr></table></div><div style="font-size:1em; padding:10px; position:fixed; top:200px; right:30px; width:300px; border-radius:7px; -moz-border-radius:7px; background-color: #F5F5F5; box-shadow: 4px 10px 9px #888888;">
<center>[http://minecraft-pl.gamepedia.com/index.php?title=U%C5%BCytkownik:Piotrex43/brudnopis&action=edit Nie masz co robić?<br>Pomóż przetłumaczyć!]</center>
</div>
 
== See also ==
 
* [[Formatting codes]]
* [[Multiplayer]]
 
[[Category:Server]]
 
[[de:Befehle]]
[[en:Commands]]
[[fr:Commandes de serveur]]
[[hu:Szerverparancsok]]
[[ja:コマンド]]
[[ru:Чит-коды]]
[[zh:命令]]

Aktualna wersja na dzień 15:12, 21 sty 2021