Add config option to make auto deploy require a stashSuggestion

Can you fix the auto-deploy and make it only if you have a stash in inventory?

I love how the plugin eliminates the need for the player to know/type the command, look at the drone and etc but when grant auto-deploy permission and place drone auto put stash while I do not have a small stash in my inventory. I do not actually care if players gonna have free stash added because if you pick up the drone anyways lose the stash. Just someone might want to have a vanilla drone and with this auto-deploy, I force him to always have a stash.

This doesn't strike me as the best solution to your problem.

First of all, for your particular server, what is the problem with players always having a stash on their drones? Does that impose some kind of penalty? If you are intending to allow other attachments such as turrets, boomboxes or chairs, then forcing a stash certainly imposes a penalty because stashes cannot currently be removed. If you are not using other drone attachment plugins, you might be seeing a penalty if you are using Drone Settings, since the default configuration of that plugin imposes a movement speed penalty and toughness buff when a drone has a stash, but those settings can be changed to your liking.

Assuming that the penalty is valid, and that players have a legitimate need to choose whether a given drone has a stash, my general recommendation is that you simply don't grant the auto deploy permission. If you want to educate players on how to add a stash, you can increase the TipChance configuration option which tells players the command to use. By increasing to 100%, the message will be printed every time a player deploys a drone.

If you prefer that drones automatically have stashes, but you want to allow players to remove them, I'm planning an improvement that will allow the stashes to be removed by the Remover Tool plugin. Would that be a sufficient solution for your use case?

I mean if auto can consume stash so if you do not have it in your inventory won't place anything. If this can't be made will either educate players in my /info but remove auto or leave auto but yeah... Plan to add drone boombox too and not sure if auto stash is placed will also add boombox as second attachment or nah and say already something equipped on top of the drone.

The issue with making auto deploy consume a stash is that it's trading one problem for another. Likely most players won't have a stash in their inventory, so most players won't have stashes on their drones as a result. Additionally, players won't have an intuitive way to learn about that feature. The players that do happen to have stashes in their inventory may also not expect this behavior, leading to unintentionally consuming a stash which could lead to confusion and bug reports.

Having auto deploy for multiple plugins should cause only one of the attachments to be placed, unless there is a bug. Each attachment uses the same slot so they are mutually exclusive (the plugin checks whether the slot is occupied first). This is by design, but could potentially be changed with some thought on how to visually orient them, which is a ways out.

Ok.. Also if boombox and stash have autodeploy? Which will occupy the sloth first? And of course, I will go with the command for sure.

Off the top of my head, I'm not sure the priority since last I recall, Drone Storage uses a different hook. I plan to change that to be consistent with the others if I haven't already, so eventually it will be based on the order the plugins were loaded (which is alphabetical on server boot), meaning boombox, then storage, then turret, then chair.