flinbein / PowerNBT

[MineCraft] Minecraft PowerNBT plugin
https://www.spigotmc.org/resources/powernbt.9098/
MIT License
39 stars 24 forks source link

Tab autocomplete truncated ! #14

Closed GhostorTron closed 8 years ago

GhostorTron commented 8 years ago

Hi

Great job for your plugin. He save time for admin job on my server to edit Commands block, when it require a color text modification.

But now when i use command block and the string test is big, i use the text like this : "/nbt Block command = [TAB]"

It made only 1 lign and trunc it with that " ..." (3 points).

Impossible to set the text !

Can you correct them ?

GhostorTron commented 8 years ago

ohh forget to mention :

DPOH-VAR commented 8 years ago

You can see text by command: /nbt Block command full

If you need to restore text with [TAB] more than 60 characters, edit config.yml (or create):

limit:
    vertical: 10
    horizontal: 60

fixed in 0.8.5.1 http://dpohvar.ru/artifactory/release/me/dpohvar/powernbt/PowerNBT/

GhostorTron commented 8 years ago

Thx a lot but cause the max lenght lign chat in minecraft client (because spam) it is limited to 100 chars.

So i try to save it on a file. Modify the file and reupload it and load into command.

But when i do that it don't interpreted the color code (&4Hello&7" for example)

Can you correct so ?

DPOH-VAR commented 8 years ago

Use § instead of a & when editing the file

GhostorTron commented 8 years ago

Sorry, but it don't work

Ok let me explain what i want :

I put a command block and write this :

" /summon ArmorStand ~ ~ ~ {NoGravity:true,Invisible:true,CustomNameVisible:true,CustomName:"Bienvenue sur le serveur Nitrado",Invulnerable:true} "

After that i try to put the color so i write on minecraft : /nbt block Command < $test

A new test.nbt file is create and inside : " [] /summon ArmorStand ~ ~ ~ {NoGravity:true,Invisible:true,CustomNameVisible:true,CustomName:"Bienvenue sur le serveur Nitrado",Invulnerable:true} " I try to modify the text, save and type in minecraft :

/nbt block Command > $test

And it is there where it said : PowerNBT : Wrong format !

What i do wrong ?

DPOH-VAR commented 8 years ago

Don't use a text editor for this. Here's the nbt editors: webNBT: https://irath96.github.io/webNBT/ other: http://minecraft.gamepedia.com/NBT_format#Software

GhostorTron commented 8 years ago

Ok, i try this and this is my result : If i save on NBT format => webNBT can edit (but with no name for the data, strange), i save, i upload and when i reaffect the value inside data : error java ... If i save on NBT format => NBTExplorer => can not open file ????? If i save on NBTZ format => webNBT is the same result above (the first line) If i save on NBTZ format => NBTExplorer => It can open file (with correct name DATA = ...). I save, reupload. And work ok when i reaffect the value.

So I'll use NBTZ format file via FTP to open it with NBTExplorer.

Thx a lot for you patience and help. your plugin is very usefull for admin like us.

Bye