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

Village spawn yaw + Village warps #5

Closed
wants to merge 2 commits into from

Conversation

zavdav
Copy link
Contributor

@zavdav zavdav commented Jul 29, 2024

Village spawn yaw

Right now, when running /v setspawn, the only direction that the village spawn can be set to is +Z.

I have altered the code so that when a player sets a village spawn, the yaw of the spawn (0 (+Z), 90 (-X), 180 (-Z) or 270 (+X)) is determined from their yaw.

Example: player runs /v setspawn, their current yaw is 100
the village spawn's yaw will be set to 90 (-X), since 100 is closest to 90

Village warps

This feature allows village assistants to set village-specific warps which can then be used by all village members to quickly access prominent points in the village.

Commands:
/v setwarp <name> sets a new warp if a fee is paid
/v delwarp <name> deletes an existing warp

/v warp lists all warps in the selected village
/v warp <name> teleports to the specified warp in the village

Feature implemented by zavdav and SvGaming

Copy link

@thecow275 thecow275 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these changes are safe as far as I see and I approve however Johny needs to also check these code changes out

@zavdav zavdav changed the title Add ability to specify direction of village spawn Add ability to specify direction of village spawn + village warps Oct 4, 2024
@zavdav zavdav changed the title Add ability to specify direction of village spawn + village warps Village spawn yaw + Village warps Oct 4, 2024
@zavdav zavdav closed this Oct 21, 2024
@zavdav zavdav deleted the feature-1 branch October 21, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants