#(tanko) Persist Map Objects in Citizens API
21 messages · Page 1 of 1 (latest)
(tanko) Persist Map Objects in Citizens API
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>
yes, using the @Persist annotation / deserialisers or doing it manually like you mention
@subtle copper
okay, is this saving/loading handled automatically when Citizens starts up and shuts down?
with @Persist yes
got it, I was seeing the "load" function in the API and assumed that you had to load each @Persist key within that function
nope, that's if you're not using @Persist
ah I see, for more complex datatypes?
you need to specify the key / value types due to java type erasure but yes
okay, thanks, that has answered all my questions, much appreciated
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@subtle copper