Documentation is being updated right now.
Features
- Save containers along with their inventory to further restore
- Restore on timer
- Restore on wipe
- Restore by command
- Configurable options and constraints
Configuration
{
"Clean container inventory upon replenish": true,
"Default timer (0 for command-only, -1 for new wipe replenish)": 1800.0,
"Respawn container if it is destroyed": false,
"Requires container to be empty (destroyed)": false
}
Localization
{
"Chat prefix": "[Replenish]",
"No permission": "You have no access to this command",
"Help message": "Usage: /replenish [command] <args>\nCommands:\nsave (<digit|'wipe'|'cmd'>) - Save container you are currently looking at or change settings for container\nremove (<digit>) - Remove container from replenish\ninfo (<digit>) - Get information about container\nlist - Get list of saved containers\nrestore (<digit>) - Restore specified container\nrestoreall - Restore all containers",
"Container set for replenish": "Container set to '{0}'",
"Container removed from replenish list": "Container removed from replenish",
"Container info": "#{0}: {1}, {2} | {3}",
"Container is not empty": "Container must be empty",
"Timed restore": "Restore every {0:0} seconds",
"Wipe restore": "Restore every new wipe",
"Command restore": "Restore on command",
"Container not found": "Container not found",
"Container not saved": "This container is not saved",
"No saved containers": "Server has no saved containers",
"Container restored": "Container was restored",
"All containers restored": "Restored all containers",
"All containers removed from restore": "All containers were removed from replenish"
}
Permissions
replenish.use- grants access to all commands
Commands
replenish save (<digit>|'wipe'|'cmd')- save container player is looking at. Optionally provide time in seconds / set restore on wipe / set restore to command-only. Alters restore behaviour if container was saved alreadyreplenish remove (<digit>)- remove container player is looking at or by indexreplenish info (<digit>)- Get restore information about container in sight or by indexreplenish list- Get information about all saved containersreplenish restore (<digit>)- Forcibly restore container in sight or by indexreplenish restoreall- Forcibly restore all containersreplenish clear- Remove all containers from restore queue
Note about restore time
Restore time specified in seconds. Time equal to 0 means - restore on command. If it is less than 0 - container will be restored every new wipe
Credits
- Skrallex - original creator of the plugin
MIT License
Copyright (c) 2019-2021 2CHEVSKII
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.

