Baccayarro / Movecraft-3

The original movement plugin for Bukkit. Reloaded. The releases feature isn't working, so here is a link to the latest dev version:
https://dl.dropboxusercontent.com/u/11164014/movecraft_beta.zip
GNU General Public License v3.0
15 stars 21 forks source link

ERROR PARSING CRAFT FILE FROM DIRECTORY #258

Open LuckySparkle opened 7 years ago

LuckySparkle commented 7 years ago

I have a custom made .craft file but movecraft just responds the error ERROR PARSING CRAFT FILE FROM DIRECTORY: /home/minecraft/spigot/plugin/Movecraft/types/korvette.craft

I already found another Issue with the same Problem https://github.com/msummers123/Movecraft-3/issues/178 and tryed to fix my .craft file but it didn't worked out...

file can be found here hoerth.eu/korvette.rar

name: Korvette maxSize: 3500 minSize: 2500 allowedBlocks:

Iridus commented 7 years ago

I'm also having the same problem as you. I figure it's better to reply to you rather than making another post so we don't have two posts opened on the same issue at the same time. Here's my file: https://www.dropbox.com/s/xb6g3fy4vbud9kt/Tank2.craft?dl=0. I've ran both my .craft and yours through a yaml validator and they seem to be ok, so I don't know what is the issue.

keough99 commented 7 years ago

Do you have a - before the block ids?

LuckySparkle commented 7 years ago

Yes I have, I made a Screenshot from the opened file in notepad++ I think you can see everything important there https://hoerth.eu/craftissue.jpg

Also you can download the complete file here https://hoerth.eu/korvette.rar

pistols12 commented 7 years ago

The file you linked is not properly spaced

pistols12 commented 7 years ago

Let me elaborate. on your allowed blocks: you had all the allowed blocks 2 spaces from the left hand side. Like this:

Allowed Blocks:

it needed to be 4 spaces from left so that the file would read it all correctly, like so:

Allowed Blocks:

I fixed 100+ lines in your file, and am sending it back to you. I've added some extra nodes for extra customization, as well as cleaned up some other areas of the file!

please give me feedback!

Your Movecraft Geek,

CaptaingibbonsSR III

Link to fixed file: https://www.dropbox.com/s/a3v846x3is3r2r1/korvette.craft?dl=0

pistols12 commented 7 years ago

P.S. For all parsing issues, please refer to this site to help with finding where they are:

http://yaml-online-parser.appspot.com/

As long as your spacing is correct, this will help you find any indentations, tabs, etc etc. It's a great tool, also, if you have an issue it cannot find, open up two tabs, but a known good file in one window of a yaml parser, and the problem child in another, that is how i found this issue here, with your spacing and so on.

If you need any tips just ask, also PLEASE CLOSE THIS ISSUE WHEN VERIFIED FIXED.

pistols12 commented 7 years ago

Idridus, I am now getting to your file.

pistols12 commented 7 years ago

Iridus, the drop box link you gave is no longer working. Make a new Issue Ticket please with a new link