I've working on a Minecraft server with custom items, I made some armor and wanted to change armor points for the pieces.
I already got this command for a trident:(There are random some numbers that got changed when I copy pasted it into here) /give @p trident{display:{Name:{&";text&";:&";Turtle Trident"]},HideFlags:2,AttributeModifiers[{AttributeName:&";generic.attack_damage&";,Name:&";generic.attack_damage&";,Amount:1000000,Operation:0,UUID:[I;630701327,396578015,-1516812502,1803279432],Slot:&";mainhand&";}]}
(I removed some color codes and stuff that made the code longer) It worked and I tried to make the armor of the kind have more armor points, so I removed "generic.attack_damage" with "maxHealth". When I clicked the button for the command block I got disconnected from the server, I can't join back but my friend can. I join and it shows the screen for half a second and then get this message.
Can someone help?
I already got this command for a trident:(There are random some numbers that got changed when I copy pasted it into here) /give @p trident{display:{Name:{&";text&";:&";Turtle Trident"]},HideFlags:2,AttributeModifiers[{AttributeName:&";generic.attack_damage&";,Name:&";generic.attack_damage&";,Amount:1000000,Operation:0,UUID:[I;630701327,396578015,-1516812502,1803279432],Slot:&";mainhand&";}]}
(I removed some color codes and stuff that made the code longer) It worked and I tried to make the armor of the kind have more armor points, so I removed "generic.attack_damage" with "maxHealth". When I clicked the button for the command block I got disconnected from the server, I can't join back but my friend can. I join and it shows the screen for half a second and then get this message.
Can someone help?
Create an account or sign in to comment.
4
2
Your command in the description has a load of unrelated stuff imbedded into it; Repaste the command through the BBCode source button.
Also the error basically states that the name you used for the attribute is illegal
Also the error basically states that the name you used for the attribute is illegal
1
Can I fix it someway?
2
If you want to rejoin the server, use an nbt editor and remove the trident from your inv in your player data file (UUID.dat, you can check your uuid here) or delete your player data.
Basically what happens for you is the server is trying to load a corrupt playersave and hence kicks you out
Basically what happens for you is the server is trying to load a corrupt playersave and hence kicks you out
1
My friend came on earlyer on and cleared my inventory but it didn't work, I don't think it's the same, I'll try the nbt editor