Near the bottom of the page it shows an example. Attributes is one of the things we can create. I've never tried myself yet. <a href="https://wiki.roll20.net/API:Objects" rel="nofollow">https://wiki.roll20.net/API:Objects</a> Note: Currently only characters, handouts, attributes, and abilities can be created //Create a new Strength attribute on any Characters that are added to the game.
on("add:character", function(obj) {
createObj("attribute", {
name: "Strength",
current: 0,
max: 30,
characterid: obj.id
});
});