vaults

last built 3 months ago
Build #13
By downloading this file, you agree to our license terms.
Source: github.com
License: MIT
Maintainer: Community Plugin
This plugin does not compile with the latest version of RocketMod.
Contact the author and kindly ask him to update this plugin or consider fixing it on GitHub.

The RocketMod team curates a dozen of community plugins and could need your support.
Consider a donation to RocketMod and sponsor your favourite plugins or contribute code to them.

Simple Vaults

Simple Vaults

Allows players to save and retrieve their entire inventory – or individual items – to a server-side MySQL database.

This plugin was developed using Rocket Mod libraries for the Steam game Unturned.

Not to be confused with Trojaner’s Vault plugin!
This plugin is a simpler version of Trojaner’s plugin. If you are looking for a much more developed Vault plugin, I strongly recommend getting his. <3

Commands
  • /vault <save|load|delete|help> <itemId>
  • /vaults
Permissions
  • <Permission Cooldown="0">vault</Permission>
  • <Permission Cooldown="0">vaults</Permission>
Updates
  • 1.0.0.4
    Added missing player command /vault delete <itemId> when configuration is setup not to delete Vaults when they opened.
    *Note: You will need to regenerate your translations file for this update.
  • 1.0.0.3 
    Added new database column server_id and configuration option for separating server-specific Vaults. If upgrading from 1.0.0.2, execute the included update: updates/1.0.0.2-1.0.0.3_database_update.sql

    • Supplemental
      Updated plugin name to Simple Vaults to reduce any confusion with other plugins
  • 1.0.0.2
    Initial release

Default configuration


<?xml version="1.0" encoding="utf-8"?>
<VaultConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <VaultsEnabled>true</VaultsEnabled>
  <VaultsSaveEntireInventory>true</VaultsSaveEntireInventory>
  <DeleteInventoryItemsOnSave>true</DeleteInventoryItemsOnSave>
  <DeleteDatabaseVaultOnOpen>true</DeleteDatabaseVaultOnOpen>
  <TotalAllowedVaults>3</TotalAllowedVaults>
  <ShareVaultsAcrossServers>false</ShareVaultsAcrossServers>
  <Debug>false</Debug>
  <DatabaseHost>localhost</DatabaseHost>
  <DatabaseUser>unturned</DatabaseUser>
  <DatabasePass>password</DatabasePass>
  <DatabaseName>unturned</DatabaseName>
  <DatabasePort>3306</DatabasePort>
  <DatabaseTable>vaults</DatabaseTable>
</VaultConfiguration>

Default english translation


<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Translation Id="vault_disabled" Value="Whoops! Sorry, but Vaults are currently disabled. ='(" />
  <Translation Id="vault_invalid_item" Value="You do not have that item! You can only Vault items in your inventory." />
  <Translation Id="vault_action_invalid" Value="Invalid action! Type &quot;/vault help&quot; for more information." />
  <Translation Id="vault_params_invalid" Value="Invalid parameters! Type &quot;/vault help&quot; for more information." />
  <Translation Id="vault_opened" Value="You open a Vault and receive the contents inside!" />
  <Translation Id="vault_opened_error" Value="There was an error opening your Vault!" />
  <Translation Id="vault_saved" Value="You have saved an item to your Vault!" />
  <Translation Id="vault_saved_inventory" Value="You saved all items to your Vault!" />
  <Translation Id="vault_saved_error" Value="There was an error saving your Vault!" />
  <Translation Id="vault_saved_noitems" Value="You don't have any items to save!" />
  <Translation Id="vault_full" Value="All of your Vaults are full! You must first clear your vault by typing: /vault delete" />
  <Translation Id="vault_empty" Value="No Vault exists for you to open! You must save some items first." />
  <Translation Id="vault_delete_empty" Value="You have no Vaults to delete! Try saving one first: /vault save" />
  <Translation Id="vault_deleted" Value="You have deleted a Vault!" />
</Translations>

Commands and permissions


Git changelog


5dfe0dec180b0ea 2019-05-16 01:45:56

Fixed.

    f85c96b092992c7 2017-06-11 16:53:33

    README

      8437765938789f4 2017-06-11 16:51:52

      VERSION

        50c9557cb40fa40 2017-06-11 16:50:33

        Added Missing Delete Command

        • If your configuration does not delete a Vault when opened, then there
        • was no way to delete that Vault. This update adds the command: /vault
        • delete <itemId> to allow a player to delete their Inventory vault or a
        • specific item Vault.

        7251d699c949fcf 2017-06-04 01:41:28

        README

          18e11ea5656ea5b 2017-06-04 00:09:46

          Server-specific Vaults

          • You will need to update your database! Added new database row
          • `server_id` and added configuration option for sharing Vaults across
          • different servers, or segregating then to be server specific. If
          • upgrading from 1.0.0.2 you will need to regenerate the vaults table, or
          • run the update sql, included in this commit on your database.

          bc25a26b5cc6fa8 2017-06-02 17:58:15

          README

            107eb4aa6c4bdb2 2017-06-02 17:46:48

            Remove Player Clothing

            • bow chicka wow wow

            decd68c6e9a85a8 2017-05-30 12:32:03

            Added Vaults Command

            • Added /vaults command to give list of current Vaults in use per player.
            • Also reworked the way items are handled. Not much documention on all of
            • this...

            6f719b78fa41d4c 2017-05-29 17:36:00

            Initial commit

            • Plugin is in a working state. However some features still need to be
            • added, such as a /vaults command to list all current player Vaults.