Difference between revisions of "Template:VisuMZ One Time Purchase Plugin Commands"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(This Event Plugin Commands)
(Remote Event Plugin Commands)
Line 34: Line 34:
 
Remote Event: Open Last Shop
 
Remote Event: Open Last Shop
 
- Reopens the last shop for remote event, retaining any and all sold items
 
- Reopens the last shop for remote event, retaining any and all sold items
   in their shop settings.
+
   in their main shop settings.
 +
- One Time Purchase settings are not saved and have to be manually reenabled.
  
 
   Remote:
 
   Remote:

Revision as of 22:25, 10 February 2022

OneTimePurchase Preview.png

The following are Plugin Commands that come with this plugin. They can be accessed through the Plugin Command event command.

---

Mode Plugin Commands

---

OneTimePurchase Command1.png

Mode: Enable One Time Purchase Mode?
- Enables/disables One Time Purchase mode for shops.

  Enable/Disable?:
  - Enables/disables One Time Purchase mode for shops.
    - One Time Purchase
    - Unlimited Purchase

---

Remote Event Plugin Commands

---

OneTimePurchase Command2.png

Remote Event: Open Last Shop
- Reopens the last shop for remote event, retaining any and all sold items
  in their main shop settings.
- One Time Purchase settings are not saved and have to be manually reenabled.

  Remote:

    Map ID:
    - ID of map, remote event is on. Use 0 for this map.
    - You may use JavaScript code.

    Event ID:
    - ID of remote event.
    - You may use JavaScript code.

---

This Event Plugin Commands

---

OneTimePurchase Command3.png

This Event: Open Last Shop
- Reopens the last shop for this event, retaining any and all sold items in
  their shop settings.

---