Skip to content

Frequently Reported Issues

UltimaOath edited this page Jan 5, 2022 · 8 revisions
This page was last updated for LevelledMobs 3.3.3 b601

"MC 1.18 | Nametags Missing / Console Spam"

[Server] INFO [ERROR] LevelledMobs: Got exception while processing nametag updates on ZOMBIE
[Server] WARN java.lang.NullPointerException
[Server] INFO [ERROR] LevelledMobs: Got exception while processing nametag updates on SPIDER
[Server] WARN java.lang.NullPointerException
[Server] INFO [ERROR] LevelledMobs: Got exception while processing nametag updates on SPIDER
[Server] WARN java.lang.NullPointerException

This console error means that you are not running the correct version of ProtocolLib for a 1.18 server. 
The Solution: Visit the Official ProtocolLib SpigotMC page and ensure that you are using the correct version for your server. This might mean that you need to download a developer build instead of the latest release. This will be explained in detail on their page.

"Does LevelledMobs Alter Entity Spawn Rates?"

The short answer: We have not in the past, we do not currently, and we will not in the future.

The longer answer: LevelledMobs from the beginning was built on the following philosophy: to manage it's own resource usage in the most conservative manner possible, as well provide the softest touch possible on any process or event within Minecraft. This philosophy has allowed our team to be very creative in it's implementation of new features, without common hacks such as invisible armor stands or taking a strong-arm approach, which often makes plugins far less compatible with the thousands of possible options a user might want. Each mindset has it's pros and cons, but for us, the cons far outweigh the pros.

With that being said, we have always considered the Spawning Mechanic to be a no-go zone, because we consider taking control over the mobQueue to be both too resource intensive as well as would often interfere with other plugins attempting to do their own work behind the scenes.

"How Does LevelledMobs Work?"

LevelledMobs starts by actively listening for completed entity spawns. Once an entity has spawned into the world, LevelledMobs' Entity Listener takes note of the entity and determines whether it should or should not receive a level. If an entity should NOT receive a level, LevelledMobs will ignore that entity. If an entity should receive a level, LevelledMobs will process the Rules system and determine a final level and attribute modification to apply.

After allowing any other plugin to interact with the entity first, LevelledMobs then applies those attribute modifications and level through Bukkit's Persistent Data Container (PDC) system, storing this information on the entity itself.

At this point, LevelledMobs has no more interaction with the entity unless you have Player Levelling enabled, in which case those entities will be re-evaluated at the configured timer. LevelledMobs will also make adjustments to the Entity's experience and item drops upon it's death. These tasks are configured by the end user and are optional overrides of default mechanics.

Clone this wiki locally