CustomDifficulty v4.5.0
CustomDifficulty
The Plugin to change difficulty in SMP
Latest Version: 4.5.1 (alpha)
Project is being updated by a new author - updating from CB 1 to spigot 1.8.8!
CustomDifficulty provides a lot of features to change the all around difficulty in Minecraft.
You can change the monster's HP, damage, aggressiveness and more! You are also able to modify the player's damage.
Each difficulty is stored in its own file - which enables you to create as many difficulties as you like! It's possible to set a difficulty for a certain region only (Use the built-in regions, or WorldGuard regions). This enables you - for example - to create hard dungeons with ease.
Features:
- Change monster's hp (200 HP is max - but that should be enough, a player has 20)
- Change monster's damage - Let them beat you up - or not even scratch you :>
- Change aggressiveness of monsters and animals. (Aggressive, Passive, Friendly)
- Change if monsters burn in sunlight.
- Spawn any mob, anywhere - naturally! Giant, 'monster' and sheep in any color included!
- Define spawn chance.
- Define min/max height for mobs to spawn.
- Define min/max light level for mobs to spawn.
- Define block types mobs will only/will never spawn on.
- Define custom drops for each mob in each difficulty.
- Define a loot-multiplier to let monsters drop more items!
- Limit mobs per server/world/chunk
- Change player's damage.
- Register support!
- Multi-world support!
- Permissions support!
- WorldGuard support!
- Create regions, each with a custom difficulty!
- No need to restart/reload the server to apply changes, simply use the /difficulty reload command!
- All (reasonable) commands can be used from the console!
How to use:
- Copy CustomDifficulty.jar into the /root/plugins folder.
- Download WorldEdit (If you want to use regions) and place it into the /root/plugins folder as well.
- Difficulties are located in the /root/plugins/CustomDifficulty/difficulties folder. Each difficulty is in its own [difficulty].yml file.
- Simply change the values of the default configs and/or create new config files. The plugin will load all *.yml files inside the difficulties folder automatically on reload.
- If you remove a configuration node, this plugin won't change anything of the corresponding event, thus preventing conflicts with other plugins.
- You can create regions with the /difficulty region [regionCommand] commands and set difficulties for each of them independently! (See 'Commands and Permissions' below)
Note that you must not use tabs in *.yml (YAML) files. If you do, it will mess up the format and Bukkit will throw you a million errors (something like *snakeyaml* ) :>
Commands and Permissions:
Permission node to receive rewards: 'CustomDifficulty.reward'
Ops can use all commands and permission nodes are case sensitive!
bold = mandatory
underlined = optional
" | " = "or"
Difficulty-related commands:
- /difficulty help - Displays the help / lists commands and descriptions.
Permission node: 'CustomDifficulty.help'
- /difficulty - Displays difficulty of the world the player is currently in - or of all worlds if the command user is no player (e.g. console)
Permission node: 'CustomDifficulty.check'
- /difficulty check <World | all> - Displays the difficulty of <World>, <all> worlds or the world the player is currently in if <World> is not specified. If the command user is no player, it will list all worlds.
Permission node: 'CustomDifficulty.check'
- /difficulty <change | set> <World> <Difficulty> - Change difficulty of <World>, or the world you are currently in if none specified.
Permission node: 'CustomDifficulty.change'
- /difficulty reload - Reloads the config files. Use this after changing/adding difficulties or other configurations!
Permission node: 'CustomDifficulty.reload'
- /difficulty performance - Counts the used time for each feature for the next 10 seconds. Use this if you think the plugin causes lag, and to find out which part of it.
Region-related commands (These require WorldEdit and WorldGuard):
All commands start with /difficulty region * - Replace "*" with one of the below:
- help - Displays help about region commands.
Permission node: 'CustomDifficulty.region.help'
- <set | change> <World> <Difficulty> - Change difficulty of world <World>, or the world you are currently in, if <World> is not specified, to <Difficulty>
Permission node: 'CustomDifficulty.region.set'
- info <World> <RegionName> - Displays some information about region <RegionName> on world <World> or the world you are currently in.
Permission node: 'CustomDifficulty.region.list'
Note:
If you are using WorldGuard regions, only the region commands 'info' and 'set | change' are available. To define new regions, you WorldGuard's '/region define' command.
@Jonathan33512
Hi Jonathan,
I'm glad to hear that you want to take over the project.
Unfortunately, I do not have the source code anymore, so I suggest using a decompiler and reverse-engineering the source. I hope the mess won't be too big :x.
I might have the source on another drive at home. Although I can't promise anything here. I'll take a look when I get back home today.Bad luck. I do not have the source code anymore. Sorry.
Also noteworthy is the fact that this is one of the first projects of me from a time when I just started programming. So code quality is probably not too great.
I updated the member roles of this project and hope you have access to everything.
If you still want to continue working on this project after these news, feel free to do so. :)
I hereby allow Jonathan33512 to do whatever he wants with code and (re-)publish it.
If you need anything else, just ask. ;)
Regards,
Pasukaru
Nobody's posted on this in a while...
I've submitted a request, and waiting on response. Hopefully I can get to take over this project.
Thank you for your recommendation Kryplefyte, that does look like a good alternative!
ever since this died I have started using http://dev.bukkit.org/server-mods/mobs/
Pretty good.
I don't think he is coming back. Sad but this plugin is dead...would be nice for a developer or maintainer to pick this one up and revive it. This is one of the best plugins for tweaking your server.
I used this plugin for a long time, but now i'm looking to use it again and I'm noticing it's no longer up to date - any chance anyone will revive it? Are there any alternatives? I saw "Monster Apocalypse" but that one seemed to be REALLY limited on features compared to this gem...
Pleeease update, this plugin sounds great!
I get this when i run it :/ Any ideas? Sorry paste bin is down :/
Oh i hope he will update it. The only error i had (setHealth, which doesn't work as it does before, because Mojang harcoded the maxHealth) i could fix myself.
Pls come back!
@NateN34
-.- no work for a month doesn't mean its dead. It means they're probably waiting for a RB.
I believe this plugin is dead.
Pasukaru was last seen: Nov 12, 2011
Do you plan on updating it for 1.0? (When a RB is out)
THis is weird, Silverfish started spawning after I updated to 1337. They never spawned before. They are set to 0.0 spawn chance, 0-1 light, 0-1 height, and they're still spawning.
@xXZymosisXx
me to
i think some plugin no support this plugin i test new server and test use only this plugin
yes mob can spawn
I have a problem on my server. config.yml file works just fine on my server. But, when i set difficulty from "none" to "default/whatever" mobs when players on server are not in same location will simply stop spawning. There can be 10 players and mobs will be spawning if all of the players are close enough. When one of these players leave that place, mobs will simply stop spawning, all of them. I used for this testing only CustomDifficulty plugin so that cannot be caused by plugins conflicts. I can link you my difficulty file, maybe there is some kind of mistake that i overlooked but I'm definitely sure I didn't made mistake in these files.
And also, I wasn't able to set sheep colors as I wanted, and I'm definitely sure my calculations were right. Whaever color spawn chance I wrote there, sheeps were only white.
My server Bukkit version - 1337. Plugins - CustomDifficulty v.4.5.0
The mobs don't spawn when I set the world to a difficulty. I can manually spawn them with a command though and their stats are changed as I made them. Why aren't they spawning naturally?