Hey all. A bit bigger update this time with many new features, so there will be a bit of reading.
I'll explain everything here, but everything is also explained in comments in the
config.yml file, so you'll just need to read them.
Here I just added some more of my own commentary to a couple of things.
Let's start with the biggest change.
Added 3 new options for all mobs:
- drops: true/false - you can disable the standard loot form monsters
- expDrops: -1 - you can freely customize the amount of xp the mob drops. -1 means it's the mob's default (unchanged) value
- spawnRate: 100 - this is something new. You can customize the chance of mob spawn passing successfully. 100 is 100%. It can unfortunately work only one way, which means you can only decrease the chance, so if you would like to somehow increase it, you can try to lower the chances for mobs in the same area, so that this mob can have more 'room' to occupy. It's only this way, since to increase the amount of mob's spawning I would need to try a whole new approach, that might not even work, or be just too complicated for simplicity sake.
Also, some mobs have 2 more options:
- customDrop: true/false - as you may know in MobsPowers some mobs have custom drops, like eg. Phantoms drop Elytras. With this you can simply turn it off.
- ability: true/false - this is made specifically to be able to turn off creeper's and dragon's power. I have heard some comments about the gunpowder explosion ability being problematic, so I added the option to disable it. Ender Dragon on the other hand gives you ability to fly (like in creative) while you have equipped elytra. But this feature can cause problems if you have some other plugins that allow flight in survival. Up till now the only way to fix it was to set 'disablePowers' to true, but well... this disabled ALL powers. So to solve this I also added the option to disable only the dragon's power.
Additionally, I added some more enchantment options to the previously enchantable weapons.
Now to the smaller stuff:
- Fixed a bug where editing Elder Guardian's stats inside config.yml didn't change anything. (turns out I missed couple lines of code back then and it went unnoticed untill today)
- Set Prismarine Shard as an activation item to Elder Guardian's Thorns power. (through my own gameplay I found that permament thorns are a bit problematic if you want to do something around hostile mobs without killing them)
- Added 'DMG' stat to creeper (this only affects the damage done to entities, the explosion power (radius) itself is unchanged.
- Added a 'tridPrec' option for drowneds (with this you can customize the % of drowneds that spawn with a trident. '-1' means default (unchanged) value)
For future, I plan to possibly add another config file, like
world.yml and in it you would be able to customize each mob's stat depending
on the world they spawned in (nether, end).
And as always, remember to delete your previous
config.yml file if you want the new one with new options to be generated automatically.
If not, the only other way is to manually add the options you need under the correct section.
As a goodbye comment, I'd like to mention. Since this update is rather big (if you look at the previous version file size and compare to this, you can guess how much raw text-coding was added) it's possible for some kind of new bugs to appear. Even though I did some testing and didn't find anything, it's always possible that I overlooked something or simply forgot to add, so if you find anything strange, or just a straight up bug, feel free to report it to me.
I worked today on this for 9 hours straight just to finish it all, so I'd even be surprised if there was
nothing wrong. That's just my workstyle, For most time I think and try to figure out the solutions and possibilities, and then when I have the 'work mood' I try to do as much as possible in one go.
Hm, yes. I think that's all. Byo!