Item Puller gives you the possibilty of pulling items from your containers (boxes etc). To use it simply double click the item in the crafting tab (as if you want to craft it) which you want to pull the required ingredients for. It will then (if Item Puller is activated) look through your containers (lootables) in building priviledge radius. If it successfully finds all ingredients needed it will then move the items to your inventory, if enough slots are available. In case you have autocraft enabled it will instantly start crafting the selected item for you. If you are missing items it will show notice via a chat message which ingredient you are missing.
Note: In regards to raiders, if they get tool cupboard access they will be able to pull items from containers in the base if none of the checks are set to true. Which means I highly recommend to set one of the checks to true!
Showcase Video
UI

Permissions
itempuller.use-- Allows players to use the Item Pulleritempuller.buildpull-- Allows players to pull on builditempuller.forcepull-- Allows players to force pull (spawns items)
Chat Commands
/ip- toggles item puller on/off/ip autocraft- toggles autocraft on/off/ip fromtc- toggle tool cupboard pulling on/off/ip fp- toggles force pulling on/off (spawning in items)/ip settings- shows your current settings
Configuration
Default Configuration
{
"Command": "ip",
"Pull on build": true,
"Check for Owner": false,
"Check for Team": false,
"Check for Friend": false,
"Check for Clan": false,
"Player Default Settings": {
"Enabled": false,
"Autocraft": false,
"Pull from ToolCupboard": true,
"Force Pull (recommend to not set true)": false
},
"Ui Enabled": true,
"Global Ui Position": {
"x": 0.6505,
"y": 0.022
},
"Custom Ui Positions Enabled": false,
"Custom Positions (Box wise)": [
{
"Box Shortname": "entity.shortname",
"Disable Ui": false,
"Ui Position": {
"x": 0.6505,
"y": 0.022
}
}
]
}
Explanation
The Check for Owner is for everyone that wants to go the save route and only allow the owners of the lootables pulling from them then set this option to true. Otherwise the player can pull items from all lootables in his building priveledge zone. Players can not change this option.
The Check for Team only allows team members of the lootable owners to pull from them, if this option is set to true. Players can not change this option.
The Check for Friend only allows the friends of the lootable owners to pull from them, if this option is set to true. Players can not change this option. Requires the Friends API Plugin!
The Check for Clan only allows the clan members of the lootable owners clan to pull from them, if this option is set to true. Players can not change this option. Requires the Clans Plugin!
The Player Default Settings are the settings each player will get by default. That doesn't mean that he cannot change his setting though if one is disabled in the default player setting.
Force Pull is spawning in items!
Localization
{
"NoPermission": "You don't have permission to use this.",
"NoPermissionBuild": "You don't have permission to use build pull.",
"InvalidArg": "Invalid argument",
"MissingItem": "Missing <color=#ff0000>{0}</color>!",
"Settings": "<color=#00AAFF>Item Puller Settings:</color>\nItem Puller: {0}\nAutocraft: {1}\nFrom Toolcupboard: {2}\nForce Pulling: {3}",
"ForcePulled": "Items were force pulled <color=#7FFF00>sucessfully</color>!",
"ItemsPulled": "Items were moved <color=#7FFF00>successfully</color>!",
"NotInBuildingZone": "You need to be in building priviledge zone to use item puller!",
"PlayerFull": "Cannot pull items, inventory full!",
"Help": "<color=#00AAFF>Item Puller Help:</color>\n<color=#7FFF00>/ip</color> - toggle item puller on/off\n<color=#7FFF00>/ip <autocraft></color> - toggle autocraft on/off\n<color=#7FFF00>/ip <fromtc></color> - toggle tool cupboard pulling on/off\n<color=#7FFF00>/ip <fp></color> - toggle force pulling on/off\n<color=#7FFF00>/ip <settings></color> - show current settings",
"toggleon": "<color=#7FFF00>Activated</color> Item Puller",
"toggleoff": "<color=#ff0000>Disabled</color> Item Puller",
"fromTCon": "<color=#7FFF00>Activated</color> Item Pulling from Tool Cupboard",
"fromTCoff": "<color=#ff0000>Disabled</color> Item Pulling from Tool Cupboard",
"autocrafton": "<color=#7FFF00>Activated</color> Item Puller auto crafting",
"autocraftoff": "<color=#ff0000>Disabled</color> Item Puller auto crafting",
"fpon": "<color=#7FFF00>Activated</color> Item force pulling",
"fpoff": "<color=#ff0000>Disabled</color> Item force pulling",
"uiturnon": "Turn on",
"uiturnoff": "Turn off",
"uititle": "Item Puller",
"uiitempulleroption": "Item Puller",
"uiautocraftoption": "Autocraft",
"uifromtcoption": "Pull from TC"
}
Credits
- AnExiledGod for helping with getting building info
- Furnace Splitter Plugin (Ryan) for allowing to use the basic Ui setup
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.

