Request for Cannons
ColonelKai opened this issue ยท 8 comments
A support for Cannons plugin, it would make everything exceptionally more fun.
They already have an API for ship plugins (such as yours) which would make it easier????
https://www.spigotmc.org/resources/cannons.56764/
Oh cool that sound great!
And for issue #49 so I don't have to send another message over there
Is it possible to add a Hunted feature were if you attack too many ships you'll get hunted by another Ship? (As addon of course)
Is this still being worked on?
I have some ideas that I took from Assassin's Creed 4: Black Flag that I think would be a QoL feature(s) to add here
- Rope swing off of your ship (In both Right, and Left Rears, & Fronts of the Ship-I'll show a Video showcasing it in AC:4)
- Cannons (In both Left, and Right side of the Ship-Infinity Ammo)
- Heavy Shot Cannons (Below Side Cannons in both Left, & Right side of the Ship-Extra damage but runs out after awhile)
- Chain Shot (In Front side of the Ship-Slows down Ships on Impact-Infinity Ammo)
- Swivel Gun (In both Right, and Left Rears, & Fronts of the Ship-Hit Ship Weakness Point-Infinity Ammo)
- Powder Kegs (In the Rear Side, and lets you throw it powder kegs off of your ship, but runs out of Ammo after awhile)
- Naval Ram (Ram into Ships with the Front side of your ship-Deals little Damage to your Ship as well)
This would help issue #49 as well
I misread this mb I believe this is for a API request
so this would be on cannons end I should send this QoL issue to right
The side doesn't matter. It can be done ships side or cannons. Personally it's something ive wanted to add as a addon for ships so would be my side
As i was going to do it as a addon, there is nothing stopping another developer from linking the two. I would happily support it and them how i can
I am aware of the "Ship" api in Cannons as it was (I believe) intended for Ships. There was a lot of requests back in Ships 4 for the cannons plugin and there was a official ships addon which connected the two.
That addon was cancelled as Ships 5 didnt play nice with cannons for some reason (it would detect the blocks that made up the cannon, however when it came to connecting the two, it would somehow forget that the blocks that made up the cannon were there).
Ships 6 is a whole different beast. I am wanting to bring out more supported plugins when Ships 6 fully releases with cannons being one of them. However I haven't tested if it plays nice or not.
Thanks, if Java was not a language i never worked on, i would gladly make a fork for my server, but i am dum dum, maybe i will, who fucking knows.
You are doing god's work lmao, at least if god exists in Minecraft, you're doing his work lol.
Lol. Fair enough.
Do bare in mind that the cannons addon for Ships would be a addon, so forking Ships wouldn't be something I would do.
As for Cannons addon, it should be easy enough. There are two events that the addon would need to listen to. ShipsPreMovingEvent and ShipsFinishMovingEvent. Where in pre it works out where all the cannons in relation to the ships sign (Ships does the relation automatically) are and sets them to on ship in cannons as well as makes a note what ship is moving. In finish event it just finds the ship in the list of moved ships and then gets the cannons that were set and sets the new location of the ship.
Another way would be just to listen to pre and then insert "runners" which are bits of code that run after the ship has moved/failed to move which will do the same job.
The latter is the way I would like to do it.