Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

findWalletHolder

findWalletHolder(world, entity): Entity

Whose wallet coins entity earns go into: her player’s, where it is a character the characters plugin spawned for one, since coins outlive any character; the entity itself otherwise, such as a rider on a track or a character no player plays, and where her save keeps the wallet on each saved entity.

Parameter Type
world World
entity Entity

Entity