ErikX's Recent Activity

  1. ErikX replied to the thread Clear mobs on shut down.

    And sadly, there is no way to detect a forcefully crash or abort. It's like telling your arduino board to save all the files when the...

    Jun 15, 2021 at 5:32 AM
  2. ErikX replied to the thread Clear mobs on shut down.

    @minijaham And I'll just ping you even though you have already received an notification/email because you are watching this thread.

    Jun 15, 2021 at 5:19 AM
  3. ErikX replied to the thread Clear mobs on shut down.

    Here's something I managed to pull together with my wild imagination lol. I haven't tested it and it's just theoretical. It may or may...

    Jun 15, 2021 at 5:18 AM
  4. ErikX replied to the thread Clear mobs on shut down.

    Why don't we run a schedule repeating task to clear all entities, like every 5 minutes? Then also clear them all when with the custom...

    Jun 15, 2021 at 3:55 AM
  5. ErikX liked Primus's post in the thread Questions with nbt and help.

    {MinionInformation:{MinionType:{ActionType:0,TargetID:56}}} That is json, of course it won't work. Write a function that decodes the...

    Jun 14, 2021 at 5:20 PM
  6. ErikX replied to the thread Clear mobs on shut down.

    Are entities saved as a nbt data on the world? If so, then we can just remove the entities data as a whole.

    Jun 14, 2021 at 3:03 PM
  7. ErikX replied to the thread Clear mobs on shut down.

    We'll declare a private variable $IsFirstJoined = false; When a player joins, If $IsFirstJoined is setted to false then clear the...

    Jun 14, 2021 at 2:26 PM
  8. ErikX replied to the thread Clear mobs on shut down.

    Maybe we run it after a first player joins?

    Jun 14, 2021 at 2:16 PM
  9. ErikX replied to the thread Clear mobs on shut down.

    Maybe we can clear the entity onEnable?

    Jun 14, 2021 at 2:03 PM
  10. ErikX replied to the thread Clear mobs on shut down.

    This detects if /stop is used. Or proper shutting down. I don't think it's possible to do something when it's going to forcefully crash....

    Jun 14, 2021 at 1:55 PM
  11. ErikX replied to the thread Clear mobs on shut down.

    Is it possible to detect if a server is going to forcefully crash?

    Jun 14, 2021 at 1:38 PM
  12. ErikX replied to the thread Questions with nbt and help.

    This may be totally wrong. new CompoundTag("MinionInformation",[ new CompoundTag("MinionType",[ new IntTag("ActionType", 0),...

    Jun 14, 2021 at 1:37 PM
  13. ErikX replied to the thread Clear mobs on shut down.

    That would be possible but wouldn't it affect the performance? We wouldn't know which chunk to load. Unless we store that data in memory...

    Jun 14, 2021 at 1:32 PM
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.