Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyKeep the inventory a user carries into the lobby.
The plugin can hold the inventory for you. Turn it on in the join module:
restore-inventory: true
The inventory a user carries into a lobby world is put away before it is cleared, and handed back when they leave for a world that is not a lobby. It is kept in the database, so it survives a rejoin or a restart.
While this is off, and it is off by default, the inventory is cleared on the way into a lobby world with no copy kept. Your users lose what they were carrying.
One inventory is held, the one carried before entering the lobby, and it is handed back on the way out to any world that is not a lobby.
Separately from the above, you can scope the lobby items so they are only given in your lobby world. This block lives in lobby-items.yml, not in config.yml:
worlds:
should-use: ENABLED_WORLDS
enabled:
- your_lobby_name_here
disabled: []
This only decides where the items appear. Whether the plugin behaves as a lobby at all in a world is the worlds block in config.yml, covered in Step 1.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy