Supported Games
It will automatically create a storage container at each of the safe zones on the map (Outpost, Bandit camp and each Fishing Village), that users can use to access their global storage chest.
The contents of this chest can be accessed from any other global storage chest on the map, or via the chat command (with permission).
Chests can also be added manually via a chat command, or deployed via a skinned item which can be given via a chat or console command.
Multiple players can use the chest at the same time, all of whom will access their own storage.
Chat Commands
/giveglobalbox- Gives the user a global storage box item./giveglobalbox <player name> <optional: quantity>- Gives the target player a number of deployable global storage box items./gstorageOpens the players storage. Requiresglobalstorage.chatpermission./addglobalstorage- Sets the target storage chest up as a global storage chest./addcustomlocation- Spawns a box using the users location and orientation. Location is saved to the config so will persist through wipes. Only recommended for servers that use the same map each wipe./removecustomlocation- Removes the targeted custom location box spawn.
Console commands
giveglobalbox <player name/id> <optional: quantity>- Gives the target player a number of deployable global storage box items.
Permissions
globalstorage.admin- Required for thegiveglobalbox&addglobalstoragecommands.globalstorage.chat- Required to use thegstoragecommand.globalstorage.access- Required to access global storage chests.
For Developers
object CanAccessGlobalStorage(BasePlayer player) - returning a non null value prevents access to global storage.
void OnGlobalStorageOpened(BasePlayer player, StorageContainer container) - Triggers after the container has been opened.
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.

