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

Stronghold timelimit and anti-camp mechanics #303

Merged
merged 7 commits into from
May 3, 2021

Conversation

MikeJeffers
Copy link

@MikeJeffers MikeJeffers commented Apr 19, 2021

Closes: #279
Requires: OpenPerpetuum/OPDB#277

Introduces a timelimit for any configured stronghold to automatically despawn a player back to their homebase if they remain on the zone.

Update: Figured out how to augment the player entities DynamicProperties. Adding a timestamp of the expiration time will persist the despawn timer between logins to deal with disconnects and timer resetting.

@MikeJeffers
Copy link
Author

Woops this should be a draft PR! I'll edit the title to reflect

@MikeJeffers MikeJeffers changed the title Stronghold zone idling WIP: Stronghold zone idling Apr 19, 2021
@MikeJeffers MikeJeffers changed the title WIP: Stronghold zone idling Stronghold timelimit and anti-camp mechanics Apr 26, 2021
@MikeJeffers MikeJeffers merged commit ada5fa9 into Development May 3, 2021
@MikeJeffers MikeJeffers deleted the remove-chars-stronghold branch May 3, 2021 01:18
@MikeJeffers MikeJeffers added the P22 label Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Move logged off players from Stronghold zones
1 participant