Thanks to
@SASKER_R for the suggestion!
Added 2 additional usage cases for /givestaff
The command still works as it did before: /givestaff will give you the staff if your inventory is empty.
If you add a player's name after the command (/givestaff <players name>), if will give the staff to that player if their inventory is empty.
If you add coordinates after the command (/givestaff <x> <y> <z>) the plugin will drop the staff at that location in the current world.
If your inventory or the selected player's inventory is full, it will just drop the item on the ground.