1

[BUKKIT] YAML Data Types

WillyWonka125 2/21/15 10:53 am
206
2/21/2015 11:04 am
While we wait for Sponge to release, why not go over something that I've been trying to figure out but haven't been able to?

Here's the code in question:
weaponsDropList:
276: 1 9
279: 1 7
267: 1 6
258: 1 5
272: 1 2
275: 1 2


(That's in config.yml)

Now, I know that the key is a string (for instance, 276:) but what about the actual entry? Would 276: 1 9 return a string ("1 9") or two separate integers? As I write this, I think it's a string since there's a space there, but oh well.
Posted by
WillyWonka125
Level 34 : Artisan Toast
28

  Have something to say?

JoinSign in

1

ShadowCatEXE
02/21/2015 11:04 am
Level 31 : Artisan Toast
It will return the whole string.

Maybe you should try something before asking though. May save some time later on.
1

Welcome