-
Notifications
You must be signed in to change notification settings - Fork 4
/Sit Command (For Tank) #35
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
base: master
Are you sure you want to change the base?
Conversation
Implement chair rotation
src/main/kotlin/network/warzone/mars/player/listeners/tasks/ChairRotationTask.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/network/warzone/mars/player/listeners/tasks/ChairRotationTask.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/network/warzone/mars/player/controllers/SitController.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/network/warzone/mars/player/controllers/SitController.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this idea but I feel like this is outside of the scope for Mars. As this feature does not rely on any kind of direct integration with Mars, I would propose moving this functionality to an entirely new plugin where some other fun features could be added. This way we can keep Mars strictly for server management and version-independent.
| import network.warzone.mars.player.controllers.SitController | ||
| import org.bukkit.Bukkit | ||
| import org.bukkit.Location | ||
| import org.bukkit.craftbukkit.v1_8_R3.entity.CraftArmorStand |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR would break compatibility for modern server versions since you are directly using craftbukkit imports in some files.
Currently Mars does not have any utility functions for handling NMS/OBC imports so that would need to be implemented as well
Allow players to use /sit command to sit down on the ground. Players in matches can use command but are unseated and take knockback as normal when hit