Movecraft
Movecraft copied to clipboard
Update entity movement configuration
Is your feature request related to a problem? Please describe.
Server owners frequently are unaware that Movecraft supports non-player entity movement. Furthermore, restrictions of entity movement are currently limited to classifications of players and non players. Ideally, we would have a solution that covers both of these issues.
Describe the solution you'd like
onlyMovePlayers
should be deprecated in favor of an moveEntities
list, of which can be populated by entities by their entity type enum. It would also be preferable to have a system to provide less verbose configuration, and thus the class hierarchy may be taken into consideration. For example, it would be preferable to have a method for allowing only non-hostile entities, or all mobs of a specific type (i.e. spiders, zombies, skeletons). It may be necessary to generate a graphic for the sake of configuration for those unfamiliar with the Spigot API and its entity type hierarchy.