Jump to content
  • 0

Command help


Kleister

Question

On my server I get this error:  Expected whitespace to end one argument, but found trailing data

when I use a command that normally would work: /give @a iron_pickaxe[damage=249] 1

I tried in console and in game. Without the NBT data it works fine: /give @a iron_pickaxe 1

Can anyone please tell me what's wrong and how to fix this. Im new to creating servers.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
9 hours ago, Kleister said:
On my server I get this error:  Expected whitespace to end one argument, but found trailing data

when I use a command that normally would work: /give @a iron_pickaxe[damage=249] 1

I tried in console and in game. Without the NBT data it works fine: /give @a iron_pickaxe 1

Can anyone please tell me what's wrong and how to fix this. Im new to creating servers.

Are you doing this on a server using the NBT update?
If your server is 1.20.5+, use this: /give @p iron_pickaxe[damage=249] 1
Otherwise use this: /give @a iron_pickaxe{Damage:249} 1

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...