Closed SystemParadox closed 4 years ago
The watch plugin only appears to work with shard0 at the moment. We're currently doing api.memory.get('watch'), but this just defaults to shard0. If the player isn't on shard0, this just returns { ok: 1 }, but contains no other data.
api.memory.get('watch')
{ ok: 1 }
The api.memory.get() and api.memory.set() functions appear to also accept a second argument for the shard name.
api.memory.get()
api.memory.set()
The quick-fix is to just use the shard defined in the config file, but perhaps this should integrate with /shard somehow.
/shard
The watch plugin only appears to work with shard0 at the moment. We're currently doing
api.memory.get('watch')
, but this just defaults to shard0. If the player isn't on shard0, this just returns{ ok: 1 }
, but contains no other data.The
api.memory.get()
andapi.memory.set()
functions appear to also accept a second argument for the shard name.The quick-fix is to just use the shard defined in the config file, but perhaps this should integrate with
/shard
somehow.