LorinthsRpgMobs
This is a simple 'plug and play' plugin that adds a difficulty to creatures, and a Level Indication based on their distance from Spawn. The current formula to get the mobs level is by default as follows....
(((Distance from closest spawnpoint) - CenterBuffer) / Distance) + 1 = Mob Level
-
This gives the result of creatures 0 - 49 blocks from spawn = Level 1. 50-99 = Level 2, etc
-
The distance value of, 50, can be modified by your own choice
What these levels change and add...
-
Increases Damage / Health a monster has (these levels play into configurable formulas that increase damage and health)
-
Adds armor to creatures at specific increments (configurable)
-
Gives different loot drops based on level
Level Regions
Level regions can be created (in conjunction with World Guard) to create zones of stronger/weaker mobs!
You simply create a level region with the worldguard id and give it a level!
From there you can customize mob names based on regions!
Mob Variants
Commands
- /lrm - displays all available commands of the ones listed below (if not listed check permissions)
- /lrm butcher [radius] - kills all entities loaded in world that aren't tamed
- /lrm region - access to all region commands
- /lrm reload - saves/reloads config files
- /lrm spawnpoint - access to all spawnpoint commands
- /lrm update - updates the plugin, takes effect after server restart
Permissions
- lrm.admin - gives access to most the commands above
- lrm.butcher - gives access to the butcher command
- lrm.update - gives access to /lrm update - uses auto updater to allow for automatic updates!
Videos
- Mob Hunting
- Battlelevels
- Heroes
- Skill API
- EnchantmentApi
- MythicMobs
- Health Bar
- Mob Health
- Elite Mobs
- Quests
- DungeonsXL
- MMOCore
- MMOItems
- RedProtect
- GriefPrevention (and GriefPreventionFlags)
- TardisWeepingAngels
- WorldGuard
- bukkit version
- LRM version
- links to a Pastebin including your config files and the error
@tierdal
Haha, thats a huge growth quickly, maybe 1.05 would make it better. But thats why i made the custom formulas =) up to you guys to make what you want!
@lorinthios
I think i overkilled it with an exponential growth formula for mob HP...
HP = 5 + 5(1.15 ^ Level)
:D
@tierdal
The version with the fix is 1.5.1 it should be up for download
@lorinthios
mind PM'g me the fix please also I've asked my Calc Professor about the Level Formula, so we shall see what he figures out
@UltrafaceGuy
Alright uploaded the fix! You can probably grab it now
@UltrafaceGuy
Alright checking this out now, and thanks for the comments on Region support haha, most credit goes to firesofhades, he gave me a code snippet that I flubbed with a bit
EDIT: Geez, I fail... The iron golem event was looking for a bat attack formula... which doesn't exist cause bats don't attack. So let me get a fix file out.. It'll be about 10 minutes look for 1.5.1
@lorinthios
glad to hear that :D
I'm still getting this error on the most recent versions. http://pastebin.com/raw.php?i=8MZ9PVBN
Though I'm loving this region support! Hot damn!
@firesofhades
Haha no worries, you're helping me iron out some things that after they are made wont need to be addressed except for bukkit updates and such.
But i think im gonna loop through the regions from highest to lowest priority and take the first entry that way. I personally dont find priorities hard, so i think it will be fine. All else fails ill make a crummy tutorial video
@lorinthios right now it picks the lowest priority region.
the first region in the set is always the highest priority region, so if you don't invert that set(remove the while loop) priorities are handled correctly(additionally the for loop could be removed as you have only 1 region to start with). so priority would be easy if your not concerned with inheritance.
if you drop handling inheritance yourself, you could just ask worldedit if the region has a parent region.
its probably even easier that way, but users would need to know how worldguard's parent/child flags work and behave. my plugin, for example, lets players modify settings for their own regions, so i choose not to bother those players with that. for your plugin that might not be such a big deal tho.
so then it would just be:
p.s.: im sorry if i come acros as trying to push this to much or something(im not saying you would think this but i might feel that way if roles where reversed), it's just that i struggled with it myself for a while and like to help when i can, if its not needed for whatever reason feel free to tell me to stop :P
@firesofhades
Yeah i simplified it down, it just looks for the first region and grabs it. Its a simple version that works for now, i plan on reworking it then looking at priority
But you are correct about the first point. You just have to rerun it to get it to load, its a kink i need to fix
i couldn't wait so i stole the file while it wasn't aproved yet :P for me all monsternames in the nametags are null, i think this was reported before tho. edit: after a second startup it does show correct name, i presume its a first run issue because configs/language-files do not exist.(disclamer: this is pure speculation)
regions work fine until priority comes looking around the cornor, as i gave you the snippet for that, i took the liberty of decopmpiling your code to look how you changed it. im not sure what went wrong but it seems as if the for loop breaks after finding 1 value, even tho i have 5 aplicable regions with 3 of them having the level setting , the "level =" debug msg you forgot to take out(:P) shows up only once,
because you are not printing the stacktrace for the npe that might be thrown in that loop, im not sure if this is it but, i think 1 of the regions, because it doesn't have a setting is causing an npe. this problem would be solved by:
i hope this helps
http://pastebin.com/ZyAWK2cU
p.s. i used the version that didn't have the 1.5.2 in the filename
@lorinthios
mwahahaha great job. will test out tonight
Current Plans for next few versions...
1.6.0 - basic events, OnDeath, OnHit(add chance to poison etc)
1.7.0 - add hook for heroes exp(with formula), and option for custom formula for MC exp
1.8.0 - Chance for Elites based on level range (chance for zombies to become giants)
1.9.0 - In depth Elite configuration
2.0.0 - Boss writeup (Epic boss has been discontinued, knowing it was such a great plugin I'm gonna try to recreate it, and clean it up. If I can I might get in contact with him for source and update it to 1.7.2)
Got it working! I have an early release version of 1.5 waiting for approval. It may be buggy and is introducing World Guard regioning. It's relatively stable, but I'm sure there will be a couple of errors thrown that I could use reporting for =)
It adds a command and with that comes a permission!
Permissions
Command
Let me know if you need help!
Taking another shot at World Guard regioning! win or lose, I'll be moving to basic events next
@lorinthios
Okay. I can handle this.. Thank you!
@goodsky
Yeah by default creatures in the nether and the end are stronger. These can be changed in the worlds.yml file. Just change the init level, and distance modifiers, that will cause them to be more normal
@lorinthios
@firesofhades
First, the server operator novice like me, thank you for listening.
The current situation in order to solve the problem, decided to change to craftbukkit a newer version. (1.7.2-R03 Beta has been changed. Error is gone! )
Many users in the server 'Lorinthsrpgmob' and 'Mythic Drops' the positive feedback about. Thus, the opinions of users to fully converge, Craftbukkit was replaced by a newer version.
Anyway, Craftbukkit will need to replace the version of the someday. In addition, the continuously updated using the plugins, this is the better decision.
Thank you once again.
PS: The Nether mobs are makin powerful fairly quickly, this is where I tune in? (Same situation, Ender world monster)