Skript

Skript

743k Downloads

Add persistent entity api

Fusezion opened this issue ยท 2 comments

commented

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.
commented

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

commented

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