-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SpawnerPreSpawnEvent #917
Labels
type: feature
Request for a new Feature.
Comments
If this is added could an isNatural boolean be implemented to determine if a mob has spawned in the wild or from a spawner/egg. |
Per the event documentation, only firing for NATURAL and SPAWNER, since this is primarily performance oriented and these are the only 2 cases that it will matter for. |
You may also be interested in 6068eb1 |
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Mar 1, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Jul 17, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Aug 1, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Aug 6, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Aug 12, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Aug 12, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Oct 7, 2018
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
electronicboy
pushed a commit
to electronicboy/Paper-API
that referenced
this issue
Feb 4, 2019
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
electronicboy
pushed a commit
to electronicboy/Paper-API
that referenced
this issue
Feb 4, 2019
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
cakoyo
pushed a commit
to Akarin-project/Akarin
that referenced
this issue
Mar 4, 2019
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
electronicboy
pushed a commit
to electronicboy/Paper-API
that referenced
this issue
Apr 7, 2019
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
electronicboy
pushed a commit
to electronicboy/Paper-API
that referenced
this issue
May 27, 2019
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
aikar
added a commit
to aikar/Bukkit
that referenced
this issue
Dec 31, 2020
Adds an event to fire before an Entity is created, so that plugins that need to cancel CreatureSpawnEvent can do so from this event instead. Cancelling CreatureSpawnEvent rapidly causes a lot of garbage collection and CPU waste as it's done after the Entity object has been fully created. Mob Limiting plugins and blanket "ban this type of monster" plugins should use this event instead and save a lot of server resources. See: PaperMC/Paper#917
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
id like to request this in main paper: TacoSpigot/TacoSpigot@49c277e
actually maybe it should be added for all mob spawns? I think some plugins could greatly reduce ram and resource useage if the mob wasnt loaded first then removed
The text was updated successfully, but these errors were encountered: