You can specify a list of integers in a YAML file like this: Code: items: [ 1, 2, 3, 4 ] or like this: Code: items: - 1 - 2 - 3 - 4 And use config.getIntegerList("items") to retrieve the list. (And I don't think ferrybig "misunderstood" you - your original question said nothing at all about multiples or lists).
desht sorry i thought i did explain. i need how to know how to correctly do this Code: event.getPlayer().getInventory().addItem(plugin.getConfig().getIntegerList("Day7"));