Cuberite Forum
Difficulties v2 (Merged into Core) - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Plugins (https://forum.cuberite.org/forum-1.html)
+--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html)
+---- Forum: Archived Plugins (https://forum.cuberite.org/forum-18.html)
+---- Thread: Difficulties v2 (Merged into Core) (/thread-1232.html)

Pages: 1 2


Difficulties v2 (Merged into Core) - tonibm19 - 08-24-2013

This plugin adds vanilla-like difficulties to MCServer.
Features
-4 different difficulties: peaceful, easy, normal and hard.
-Multiworld support
-Vanilla-like command (difficulty can be specified in numbers, complete words, or letters)
Commands:
/difficulty difficulties.difficulty --Changes server difficulty
Config (in world.ini)
WorldDifficulty = 2 (change to difficulty you want, peaceful = 0, easy = 1, normal = 2, hard = 3)


RE: Difficulties v1 - ThuGie - 08-24-2013

Perhaps some more information,
Like does this apply to mobs as difficulty normally does make stuff harder..
But mcserver isn't finished so i was wondering what does this actually affect.


RE: Difficulties v1 - tonibm19 - 08-24-2013

Difficulty is only applied to mobs damage and spawning (in peaceful mode). Mobs damage depending on difficulty is set according to minecraft wiki. Also, special zombie damage is implemented in the plugin (How much your attack them, more damage they do.


RE: Difficulties v1 - xoft - 08-24-2013

Could this be made into a per-world difficulty? So we can have an easy world and a hard world, in addition to the creative worlds Smile
Does the command accept words or only numbers?


RE: Difficulties v1 - tonibm19 - 08-25-2013

in the command you can only use words, no numbers. I'll try to make it perworld configurable. Maybe difficulty can be stored in world.ini. I will have a look at cIniFile (I never used it) and see what I can do.


RE: Difficulties v2 - tonibm19 - 08-26-2013

New update (v2)
-Multiworld support
-Made command vanilla-like.

Maybe it could be integrated into Core. Originally I made this for that. Do you agree?


RE: Difficulties v2 - bearbin - 08-26-2013

It should probably be integrated straight into the server and skipping core.


RE: Difficulties v2 - xoft - 08-26-2013

Put it into the Core in the meantime, until we can get it into the server.
Fixing tools (by combining two half-damaged ones) is done in the Core as well, so I guess it's okay.


RE: Difficulties v2 - tonibm19 - 08-27-2013

(08-26-2013, 11:38 PM)xoft Wrote: Put it into the Core in the meantime, until we can get it into the server.
Fixing tools (by combining two half-damaged ones) is done in the Core as well, so I guess it's okay.
Smile ok, Ill merge it into Core later.


RE: Difficulties v2 (Merged into Core) - tonibm19 - 08-27-2013

Merged into core. It gives a warning about TDI.Attacker but all works fine. I'll see if I can fix this.