Plugin category: Roleplay Minecraft version: 1.12 Suggested name: Hands What I want: Simple hand plugin, where you type /am - arms and it'd the bow animation, but doesn't fire a bow, and can be used for hugging. When you stop holding right click it'd despawn it. None of these items do damage, and they are just held up with holding right click, letting go of right click will despawn it, and bring it back to your hand. You must do this with an empty hand, if the hand isn't empty pop a message in chat like this, &C(&7!&C) You may only do this animation with an empty hand. (END) and with a free-hand it does it no problem. Ideas for commands: /am Ideas for permissions: everyone When I'd like it by: This week.
You say simple, but I'm know for a fact that this can't be done with bukkit methods. Packets and most likely NMS reflection will be required, so I would lower your expectations for this one. Animations are not a serverside part of the game.
How hard could it be to make it when you type /am and then if you right click it'd spawn a bow on that hand but if you let go doesn't fire a arrow, it can't fire an arrow unless there is a arrow in the inventory right?
You do realize animations are client-side right? Also spawning a bow and making it gone are possible, but the part that the user must hold right click to trigger that animation, plugins can’t force them to right click?
I never said forced them, I said the user has to right click. if you type /am or whatever, spawns a bow and if the user were to right click to do the animation but no arrow coming out. I know this is possible because I've seen someone else make something similar, and tried to over-charge me for it. // Edit // Maybe if the bow is inviable and if the arrow is too, plus if it did no damage, I guess? spawning a bow, and then after doing the animation would despawn it from the users inventory?
Oh my bad. I thought u wanted to make the animation right away after the plugin is executed xd... Cancelling shooting arrows is possible, so the arrow doesn’t need to be shot to deal damage. Also the animation won’t happen unless there is an arrow in the inventory.
Correct, so how about it puts it in the inventory and the texture will be inviable (I'll do this with my pack) and then cancel out the arrow, and then for the trident I guess you only need it in your inventory as an invisable texture, and despawn after doing it.
I’m gonna try making that when im at home. Maybe there will be another person giving u it be4 xd so no sure
Does anyone wanna throw their time into this, all it is /am and puts out the bow in your hand, and when you right click it puts out the bow using them for "hands" in the textures it'd be invisible, so I'd do that myself. The bow would do no damage on release, and the arrow would disappear. Version 1.12 Also, if the hand has a item in it, say "&7There is not an available slot to do this action." Thank you.
I made it so it's compatible with 1.9 - 1.13.2 since it didn't involve any NMS,... I'm testing it IDK, if it works i'll post? It took 30 minutes so I might have done something wrong. Also sorry, I forgot about this thread. [EDIT] Wait, you use bukkit or spigot lol? If bukkit, it might involve some NMS...
I tested it, it should work fine. <Yay, a mod removed the link, cuz its mediafire!> <Don't look here pls>
That's a fat rip, upload it here spigotmc.org/resources/add - as I know they instant upload pretty sure, and or use bukkit dev.
Oof cuz its a small plugin i dont wanna upload to dev it took kinda long to do that... Is github even allowed? (I don’t see the option to upload jars directly here.)
@Shqep Spigot, dropbox, github, google drive, dev.bukkit and a bunch of other sites are allowed. Mediafire not because of the ads.