gekware / minecraft-server-hibernation

Autostart and stop minecraft-server when players join/leave
GNU General Public License v3.0
400 stars 38 forks source link

Add detection for placeholder players #252

Open lemeow125 opened 1 year ago

lemeow125 commented 1 year ago

Is there an existing feature request for this?

Describe the feature you would like to see.

On version 1.20.2 with PaperMC build #217, placeholder players such as the Dispenser-Block from MoDispenserMechanics can prevent server hibernation. Please add detection for non-existent players using player.hasMetadata("NPC") and exempt them from player counting.

Describe the solution you'd like.

A possible solution has been outlined here

Additional context to this request.

No response