1
[BUKKIT] YAML Data Types
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:
(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.
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.
1
It will return the whole string.
Maybe you should try something before asking though. May save some time later on.
Maybe you should try something before asking though. May save some time later on.
