Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Movecraft Integration #386

Open
Mineshaft87 opened this issue Sep 14, 2022 · 0 comments
Open

Movecraft Integration #386

Mineshaft87 opened this issue Sep 14, 2022 · 0 comments
Labels
Possible Might be added - good candidate for a PR!

Comments

@Mineshaft87
Copy link

Mineshaft87 commented Sep 14, 2022

https://github.com/APDevTeam/Movecraft/wiki/Documentation
Here is a link to the different events and some general guidance on integrating.
I personally would like the following events to work:

    • CraftPilotEvent
    • CraftReleaseEvent
    • CraftSinkEvent
    • CraftDetectEvent
    • CraftRotateEvent
    • CraftCollisionEvent
    • SignTranslateEvent
  • Numbers 1 (pilot), 2 (release), 4 (detect) and 5 (rotate) are more player side events. So players pilot crafts by right clicking a sign, and crafts have craft types whcih can be listened for as seen in a version i have made for MagicSpells. Rotating event happens when players right or left click a [helm] sign (left click rotating the ship left 90 degrees, right click the opposite). Craft detect occurs when an opposing ship is piloted within a certain distance and movecraft sends a message notifying the player of this with the cords to where it was piloted or being piloted as soon as its within range. Someone could for instance make a script which might listen for that and then using the cords sent to the player have particle effects point to it.

  • Numbers 3 (sink) and 6 (collision) Are more world events i think. For instance i guess one could add an explosion to a craft colliding perhaps if XYZ block is nearby or touching. Or if someones craft sinks, you might want to display particle effects where this occurs etc.

  • Number 7... I'm not 100% sure what it is but i think this one i believe would allow you to listen out for when any sign in movecraft is used and produce a denizen script accordingly so this might be a nice one too. For instance theres a Cannon Director sign which if used could give a player the required item needed to use it.

Hope that gives enough info for the sort of tags they would be, my Denizen knowledge is very novice, im relying on comissions currently.
Some example tag though

  • If pilot
  • if release <subcraft/or just any craft> ...

If you could PM me on discord Mineshaft87#5973 and i can send you a version of this made for another plugin, the person i comissioned it from did quite a bit of extra work getting it to listen out for certain craft types and made a modifier which checks for IF a player is piloting a craft, not just the 'has player initiated piloting event'. I can send that jar file or show screenshots of the coding itself, which ever way you fancy.

Many thanks!

@mcmonkey4eva mcmonkey4eva added the Possible Might be added - good candidate for a PR! label Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Might be added - good candidate for a PR!
Projects
None yet
Development

No branches or pull requests

2 participants