What does “once:true” do?

Plug-in related stuff can be discussed here.

Moderators: Scenario Moderators, Plugin Moderators

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 246
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

What does “once:true” do?

#1

Post by dnswodn »

Guys I found “once:true” in the json code of some plugins, but I don't know what it does.Can someone tell me? Thanks! :bt :bq

User avatar
Mendel Group
Inhabitant of a Galaxy
Posts: 2237
Joined: 07 Apr 2024, 05:18
Location: I know you don't care.
Plugins: Showcase Store
Contact:

Platform

Re: What does “once:true” do?

#2

Post by Mendel Group »

dnswodn wrote:
02 Jun 2024, 09:54
Guys I found “once:true” in the json code of some plugins, but I don't know what it does.Can someone tell me? Thanks! :bt :bq
Maybe, it means you can only build it once. Not sure though, need to ask a plugin creator like @PBBunnyPower.

User avatar
ArthurJ22
Townsman
Posts: 82
Joined: 26 Oct 2020, 06:43

Plugin Creator

Platform

Re: What does “once:true” do?

#3

Post by ArthurJ22 »

dnswodn wrote:
02 Jun 2024, 09:54
Guys I found “once:true” in the json code of some plugins, but I don't know what it does.Can someone tell me? Thanks! :bt :bq
Once: True is a tag that determines whether a draft with a specific ID should be loaded only once. If set to true, the plugin will only load that draft once, even if it encounters the same ID again.

This helps prevent duplicate drafts from being loaded, which can improve performance and avoid potential conflicts.

U can always go to pca.svetikas.lt to check all available tags.

User avatar
dnswodn
Inhabitant of a Megacity
Posts: 246
Joined: 08 Feb 2022, 08:14
Location: 🏞️ Theonia 🌁
Plugins: Showcase Store

Plugin Creator

Platform

Re: What does “once:true” do?

#4

Post by dnswodn »

Oh, got it! Thank you all :json

Post Reply Previous topicNext topic

Return to “Plug-In Discussion”