Calytic
Safe player storage

Supported Games
GameServerKingsGameServerKings

Gives players a safe box to bank their items.

Permissions

  • bank.use -- Allows players to use their bank

Chat Commands

  • /bank -- View own bank account
  • /viewbank "PlayerName" -- View any player's bank account (admin only)

Localization

Configuration

{
  "Settings": {
    "boxes": {
      "bank.big": "assets/prefabs/deployable/large wood storage/box.wooden.large.prefab",
      "bank.default": "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab"
    },
    "cooldownMinutes": 5,
    "defaultBox": "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab",
    "defaultSlots": 4,
    "keyring": true,
    "NPCBankersOnly": false,
    "NPCIDs": [],
    "radiationMax": 5,
    "slots": {
      "bank.big": 30,
      "bank.default": 4
    }
  },
  "VERSION": "0.0.8"
}

Default Item Limits

config/Bank_ItemLimits.json

Click here for a full list of all item shortnames for use with this blacklist.

{
  "explosive.timed": {
    "enabled": true,
    "minimum": 0,
    "maximum": 2
  }
}

API

bool IsBankBox(BaseNetworkable entity)

Notes

  • Keys stored in your bank will still work on locked doors (provided configuration option keyring is true)
  • Item contents, weapon attachments, skins, and condition are all stored
  • Additional permissions may be configured for vip's to get bigger banks
  • Other players should not be able to see the bank box
  • Banks are neatly stored per-player in oxide/data/banks
  • No dupe bug

MIT License


Copyright (c) 2019 Calytic


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.