How can I disable summon enderdragon?

How can I disable summon enderdragon in sponge 8.0

Please help me.

Sadly i think this can only be done by code as there isnt a plugin that prevents spawning of certain types.

You may have luck with this event. Not sure if ender dragon is one of the ones it says it doesnt detect

https://jd.spongepowered.org/spongeapi/8.1.0/org/spongepowered/api/event/entity/ConstructEntityEvent.Pre.html

1 Like

Thank for you care.