Skip to content

Add persistent entity api #7154

@Fusezion

Description

@Fusezion

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    completedThe issue has been fully resolved and the change will be in the next Skript update.enhancementFeature request, an issue about something that could be improved, or a PR improving something.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions