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

Add persistent entity api #7154

Open
1 task done
Fusezion opened this issue Oct 17, 2024 · 2 comments
Open
1 task done

Add persistent entity api #7154

Fusezion opened this issue Oct 17, 2024 · 2 comments
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.

Comments

@Fusezion
Copy link
Contributor

Suggestion

Add the persistent entity api

Why?

Not all entities need to be saved between server restarts and when you're constantly needing to try and prevent the edge cases where they are it's annoying.

As such having syntax like below will be a huge help for servers

%entities% (is|are) persistent
%entities% (isn't|is not|aren't|are not) persistent
make %entities% [:non[-| ]]persistent

Other

Entity#setPersistent(boolean) and Entity#isPersistent()

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
@Asleeepp
Copy link
Contributor

Theres a pr for this (#5296) but its waiting on another pr to merge to come out of draft

@Fusezion
Copy link
Contributor Author

not a fan of the requirement of #5219 if a member of the lang is willing to compromise and accept a pr without that requirement I'd be happy

@Efnilite Efnilite added the enhancement Feature request, an issue about something that could be improved, or a PR improving something. label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature request, an issue about something that could be improved, or a PR improving something.
Projects
None yet
Development

No branches or pull requests

3 participants