Withdraw command - unitx/lifesteal GitHub Wiki
This add-on doesn't use beta features, so a withdraw command isn't possible, but I have added several solutions to this problem.
!withdraw
To allow people to use the regular withdraw command, I have made a separate pack that you apply on top of the regular lifesteal add-on, allowing you to use this command. Note that the experiment option BETA-apis
is required.
!withdraw <amount: int>
withdraw GUI
There is a built-in GUI that you can open with a command, but since it requires a command block or op you will need to make your own system
/execute as @p run /scriptevent unitx:withdraw_gui
withdraw command
For more advanced users, there's a direct command that does the same thing as the withdraw GUI, but in a command, which means it's more complex and more open for advanced command users.
/execute as @p run /scriptevent unitx:withdraw <amount: int>