arcaneplugins / levelledmobs Goto Github PK
View Code? Open in Web Editor NEWLevel-up mobs on your Spigot/Paper server, RPG-style!
Home Page: https://www.spigotmc.org/resources/levelledmobs.74304/
License: GNU Affero General Public License v3.0
Level-up mobs on your Spigot/Paper server, RPG-style!
Home Page: https://www.spigotmc.org/resources/levelledmobs.74304/
License: GNU Affero General Public License v3.0
per region support (worldguard) with scaling level for each region
Suggested by discord: Ash#4073
check if other attrib formulas are wrong too
baseMaxHealth + maxHealthMultiplier * level
should be
baseMaxHealth + (maxHealthMultiplier * level)
blacklisted-types:
this would block all types
Quote from a user:
I use SafariNets and everytime someone nets a LevelledMob and then places it back down, its stats increase until theyre capped then they kill them for a large max of XP.
My current kinda-solution in mind: set mobs stats to the default values when they spawn in.
Suggestion:
Adding placeholders to display a mobs current & max health
reported by Eyrian#2010, who has helped me a lot to fix this issue, especially during my studies.
mobs dont seem to be stronger for a specific reason, being, your settings.yml stating the values as multipiers while you treat them as additions per level in code and comment
//Set the max health.
final double newMaxHealth = baseMaxHealth + (instance.settings.get("fine-tuning.multipliers.max-health", 1.0F) * level);
Objects.requireNonNull(ent.getAttribute(Attribute.GENERIC_MAX_HEALTH)).setBaseValue(newMaxHealth);
ent.setHealth(newMaxHealth);
versus
//Set the max health.
final double newMaxHealth = baseMaxHealth + (baseMaxHealth * (instance.settings.get("fine-tuning.multipliers.max-health", 1.0F) - 1) * level);
Objects.requireNonNull(ent.getAttribute(Attribute.GENERIC_MAX_HEALTH)).setBaseValue(newMaxHealth);
ent.setHealth(newMaxHealth);
notice the change at the first instruction, this would be as stated in the settings.yml
reported by Remii#8394
白貓#3345
reported
note: not a bug, but this an enhancement to nametag updater class
Is this a bug which the villager get bite by zombie then use gold apple turn him back to normal villager but the zombie villager tag still on him
/levelledmobs killall [world]
written sort of skript-style:
if args.length == 1:
int killed = 0;
loop all enties in command sender's world
if loop-entity is levellable
kill loop-entity
killed++
message: 'Killed 25 levelled entities in world world_nether.'
if args.length == 2:
int killed = 0;
World w = Bukkit.getWorld(args[2]);
if(w == null) {
message: Invalid world Survival.
return;
}
loop all entities in specified world
if loop-entity is levellable
kill loop-entity
killed++
message: 'Killed 25 levelled entities in world dungeons.'
https://github.com/lokka30/LevelledMobs/blob/master/src/main/java/io/github/lokka30/levelledmobs/listeners/LMobSpawn.java
LMobSpawn.java line 62
getting their movement speed instead of attack dmg
multiworld isn't a good idea for servers, but it was requested and isn't hard to implement.
so the players see the actual health count, not their previous health count
https://pastebin.com/AvFPNmkz
was reported to me over discord
they only work well on papermc
just fired up a spigot server and found out how messy the logs are
I had to revert to the 1.8 snapshot to get mobs to spawn at random levels. I do not see any config file or command in-game to change how often higher level mobs spawn, either.
suggested by spigotmc user blaukat
Customize item drops based on mob level, i:e allow level 5 endermen to have a 5% chance to drop end crystals, and then level 10 have a 10% chance, etc.
has reached enough features that it can be posted
/levelledmobs summon <EntityType> <level>
/levelledmobs summon <EntityType> <level> <x> <y> <z>
/levelledmobs summon <EntityType> <level> <player>
custom name visible is a vanilla thing which I can't control.
custom name visible is a boolean which sets how users can see entity name tags.
when the boolean is:
a few users so far have requested that there is a setting where you can see mobs from afar but not when they're out of sight (underground, etc).
I have no idea how to efficiently integrate this into the plugin, so I've created this issue in case anybody knows how.
[14:39:02] [Server thread/ERROR]: Could not pass event CreatureSpawnEvent to LevelledMobs v1.26
java.lang.NullPointerException: null
at io.github.lokka30.levelledmobs.listeners.LCreatureSpawn.onMobSpawn(LCreatureSpawn.java:47) ~[?:?]
Spigotmc user Velerium suggested that ranged mobs like skeletons are too OP right now so they should have a separate ranged damage multiplier
Entity types listed here spawn regardless of hostility or blacklist status.
blacklisted-entity-override:
- ZOMBIE
- CREEPER
Feature request by SpigotMC user soloman981
The user says:
'Feature idea > Chance percentage to have specific equipment. The higher the level the higher the chance for a mob to have a set item.'
Since I still don't know how to scan for sections with LightningStorage, I will have to make an 'enabled-chances' section where each chance used would have to be specified there.
OR, i could loop through 1-100 each time.
It will also be annoying to cache this, it will need a custom EquipmentChance object.
This is my interpretation of the idea, posed in settings.yml:
equipment-chances:
30:
main_hand: WOODEN_SWORD
off_hand: AIR
helmet: AIR
chestplate: LEATHER_TUNIC
leggings: IRON_LEGGINGS
boots: IRON_BOOTS
10:
main_hand: STONE_SWORD
off_hand: APPLE
helmet: LEATHER_CAP
chestplate: GOLDEN_CHESTPLATE
leggings: CHAINMAIL_LEGGINGS
boots: CHAINMAIL_BOOTS
so, it's formatted this way:
chance:
inventory-location: material
offhand isn't used by mobs so it doesn't have to be added, but more features don't hurt
So i started to use the plugin and everything seems to be working fine but the only problem is that mobs spawn always with default minecraft hp
for example a level 8 zombie will spawn with 20/28 hp
there are no errors in log files and im using 1.15.2 spigot
on mob spawn event, you can probably exclude mob spawners
requested by Seamus#4533
probably done by listening to projectilehitevent or something and checking the shooter if it is levellable get its level
Suggestion: Ability to spawn only hostile mobs with levels
update libraries should fix
SpigotMC user Niemiluch said on my profile:
hi, you have created a really extra plugin - LevelledMobs , but I have a question, do you ever plan to add the option of e.g. changing the name of the mobs? this could be useful for servers that are not in English :)
Unfortunately it is currently out of my skill level as I am still getting used to the LightningStorage methods.
I would imagine it like this:
settings.yml:
mob-name-translate:
ZOMBIE: 'Brain Eater'
CREEPER: 'Corrupted Pig'
if(e.isCancelled()) {
return;
}
LightningStorage -> 3.0.9
as a player moves farther away from spawn the mobs get higher levels
yeah... nah.
Add the possibility to lock a mob to an specific level.
Ex :
mob-level:
In this exemple, the enderman can't be level 10 but the zombie can
reported by Eyrian#2010
reported by spigotmc MinecraftAdmin
higher level creeper = their explosions do more damage to ENTITIES.
a config boolean states that higher level creepers = their explosions do more damage to BLOCKS too.
The plugin doesn't spawn mobs when the maxlevel is higher than 10 and distance from spawn levelling is on. there are no errors in console so there is no further information about the bug.
Haven't tested this myself but reported by spigotmc user SteeniZz in the plugin's discussion tab.
needs investigation
DoDIX#2165 reported that changing the movement multiplier doesnt do anything to newly spawned mobs
Having an issue with the mobs spawning with regular health instead of the plugins max health. They have the max health assigned as I can use potions to heal them to the max, but for some reason it doesn't set the max health when they spawn.
Tested with various level ranges, and health values.
Tested it with and without any other plugins
UPDATE: Just tested new snapshot and its fixed.
suggested by Dralga ツ#1339
e.g. VILLAGER
suggested by spigotmc user blaukat
I REALLY need to figure out how to store hashmaps with LightningStorage. would close many of the issues here. hence the 'author can't add' as I need to figure out this library more.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.