
I am using this API you created for my players. However is there a way to set so that the character is not visible to all players and just the player whom character it belongs. Then later I can manually add the option "all players" and it will stay viewed by all players. Community Forums: [Script] AddPlayerCharacter - Simple script for automating adding characters for new players, as well as nice access for existing players. | Roll20: Online virtual tabletop const AddPlayerCharacter = (player) => {
let c = createObj('character',{
controlledby: player.id,
name: `${player.get('displayname')}'s New Character`,
inplayerjournals: (IN_PLAYER_JOURNALS ? 'all' : '')
});
return c;
}; I'm pretty sure I need to change an input here just I wouldn't know what to command. const AddPlayerCharacter = (player) => {
let c = createObj('character',{
controlledby: player.id,
name: `${player.get('displayname')}'s New Character`,
inplayerjournals: (IN_PLAYER_JOURNALS ? 'displayname' : '') });
return c;
}; Is this correct? I tested it and it works. Just let me know if this is wrong formatting.