[MECH] CustomDifficulty v4.5.0 - Monsters too strong or too weak for you? Change it! [1240]

Discussion in 'Inactive/Unsupported Plugins' started by Pasukaru, Jun 6, 2011.

  1. Offline

    Pasukaru

    CustomDifficulty
    The Plugin to adjust the difficulty in SMP
    Latest version: 4.5.0
    blank line
    [​IMG]
    BLANK LINE : D : D
    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.
    For more information, take a look at the 'Features' section below.

    Please report any bugs you may encounter!

    If you are a developer and take a look at the source, please let me know if you have some improvements! I'm still new to this (Java/programming in general) and want to get better. :)

    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
    • iConomy support! (For monster-killing rewards)
    • Change player's damage.
    • 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!
    If you download, please also click the 'like' button at the lower right corner of this post - Thanks!

    If you need a more detailed explanation, feel free to drop me a message and I'll try to help as much as I can. :)
    This text is only used to have an empty line! :>
    How to use:
    Click me :)

    • 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 notuse 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* ) :>
    Important notes:
    Click me :)

    • All configuration nodes are case sensitive and your world's names shouldn't contain special character, as it might mess up the configuration nodes!
      If a configuration node does not exist, Bukkits default will be used - or nothing happens at all.
      The plugin will check if the monster/player is in a region first (if enabled - see below)
      If the monster/player is in no region, the world's difficulty settings will be used.
    • Slimes are handled according to their size.
    • Wolves are handled according to their tamed/untamed status.
    • Creepers are handled according to their powered/unpowered. status.
    • The last three points exclude the following nodes:
      spawnChance, spawnOnlyOn, spawnNotOn, lightLevelMin, lightLevelMax
    • Creepers have a floating point (e.g. 1.65) damage value and it's used as multiplier, not as fixed damage. This value applies to the damage only, not the explosion range/radius.
    • Wild wolves can be aggressive. They will attack a player on sight, but it is still possible to tame them - unless the player fights back.
    • Tamed wolves HP will always be read from the worlds difficulty! (To avoid exploits like healing it in a region where it as a maximum of 100 hp and then move to a region with a maximum of 50 hp)
    • Player's damage will be calculated like this:
      Round( (usualDamage * damageMultiply) + damageAdd )
      damageAdd is an integer.
      damageMultiply is a floating point value.
      usualDamage is the players default damage (e.g. 2 with fists, 5 with diamond pickaxe) - might be different if another plugin modified the event damage before CustomDifficulty did!
      You can use different values for Player vs Player and Player vs Monster. You can also set negative values - but a negative multiplier is not recommended.
    • Regions are disabled by default! If you want to use them, go to your config.yml(not difficulty.yml!) and set useRegions for the specified actions to 'true' (without quotes!)
      I disabled them by default do increase performance (a tiny, tiny bit :p, unless you have 1 million regions in one world) and I guess not everyone will use them.
    • Change difficulty of (regions or worlds) by using the corresponding command where difficulty = one of your /difficulties/[difficulty].yml without the ".yml" extension!
    Commands and Permissions:
    Click me :)
    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.
    Changelog:
    Version 4.5.0 | 10/6/2011
    • Fixed: Squid spawn - for real this time
    • Fixed: min/max spawn distance works now.
    • Fixed: Ghats can now be friendly. (passive too, but they will behave as friendly. :/) Friendly ghasts hardly move though.
    • Added: OPs will receive a message on login, if a new of CD is available. Can be turned off, config.yml -> global.checkForUpdates
    • Added: Some code to make squids follow their targets. They don't do that naturally like other mobs. -.-
    • Ghasts and PigZombies take damage over time to simulate burning in sunlight. (If enabled)
    Old versions (open)
    Version 4.4.0 | 9/28/2011
    • Changed: Mob limit configuration; Nodes you have to use now:
    Code:
    global:
        mobLimit: 500 #= server Limit
    worlds:
        [worldname]:
            mobAggressiveLimit: 75
            mobPassiveLimit: 75
            mobFriendlyLimit: 75
            mobChunkLimit: 1
    
    You can remove all other limit nodes, they aren't used anymore.
    • Added: A new config node inside the difficulty files:
    Code:
    global:
        dropOnlyWhenKilledByPlayer: false
    
    Should be self-explanatory, but you have to add it manually if you want to enable it.
    • Fixed: Squid spawning. Was checking for lava instead of water..
    • Fixed: A NPE inside the spawn algorithm.
    • Fixed: Another NPE inside spawn algorithm (dev build only)
    • Added: Multiverse-Core will now load before CD does.
    • Added: Register support. All major economy plugins should work with CD now.
    • Removed: iConomy5 support. If you use iConomy5, you also have to download and use Register.
    Version 4.3.0 | 9/24/2011
    • Fixed: Feeding wolf in 1.8; Item amount decreases and Raw Flesh added as food.
    • Fixed: Getting rewards with projectiles (arrows) works now.
    • Fixed: Giants spawning in walls and small caves. - Some still spawn in walls or weird locations and suffocate, but they will be removed immediately.
    • Added: Configuration nodes for the new mobs Enderman, CaveSpider and Silverfish.
    • Added: Now spawn-able: Electrified Creeper, Spider-Jockeys, coloured sheep.
    • Changed: Mobs will now spawn in at least 2 block high rooms instead 1 block only. (To prevent Zombies and other tall mobs to suffocate.)
    Version 4.2.3 | 7/28/2011
    • Changed: Giants attack players up to 3 blocks below them instead of 1.
    • Changed: config.yml nodes: spawnInterval, aggressivenessInterval and burnsInSunlightInterval are now in the worlds.worldname section. You can remove the global ones.
    • Probably fixed: ClassCastException in aggressiveness task. (?)
    • Changed: performance command.
    • Fixed: Another bug, I just don't remember which one... I should start writing it down immediately :eek:
    Version 4.2.2 | 7/27/2011
    • Fixed: BurnsInSunlight now reads the interval correctly from the config. (=Slight performance increase if you don't use an interval of 1. Default is 20.)
    • Fixed: Mobs can now spawn in snowy areas.
    • Added: Giants should attack players now, they don't do it naturally... (Please test this :))
    • Changed: Aggressiveness check is now performed every X ticks for every player, instead of every X move-events for the corresponding player only.
    Version 4.2.1 | 7/26/2011
    • Fixed: NPE in mobCleanup
    • Removed: Creation of unused node 'ignoreInvalidWorldDifficulty' in config.yml
    Version 4.2.0 | 7/25/2011
    • Added: command '/difficulty performance'
    • Added: another way of reading the difficulty of a mob (for testing purposes). change useOldGetDifficulty in your config.yml if you want.
    Version 4.1.0 | 7/15/2011
    • Removed built-in regions. (Use WorldGuard, it provides more features for regions)
    • Added customizable drops.
    • Added: Players will receive rewards if their wolf kills a mob
    • Changed spawn-algorithm, it will use the chunks around a random player per run, instead of chunks around all players.
    • Changed check for old iConomy versions.
    Version 4.0.6 | 7/13/2011
    • Fixed an 'out of bounds exception' in the reward calculations.
    • Mobs shouldn't suffocate anymore if they spawn next to a wall.
    Version 4.0.5 | 7/12/2011
    • fixed automatically created node burnInSunlight to burnsInSunlight in the config.yml
    • probable fix for a concurrent modification exception.
    Version 4.0.4 | 7/11/2011
    • Added fix for incompatible iConomy versions.
    Version 4.0.3 | 7/10/2011
    • Major bug fixed within the spawn-algorithm. To be specific: instead of reading the maximum light level for a mob to spawn, it was reading the minimum height - this, of course, messed everything up.
    Version 4.0.2 | 7/10/2011
    • NPE fix regarding the loot multiplier. - A weird one :confused:
    Version 4.0.1 7/9/2011
    • Mobs shouldn't spawn in water anymore if spawnNotOn WATER and/or STATIONARY_WATER is used.
    Version 4.0.0 | 7/9/2011
    • Aggressiveness is now split into aggressivenessDay and aggressivenessNight.
    • Added option on which blocks mobs will only spawn, or will never spawn on.
    • Reward now requires permission 'CustomDifficulty.reward' to receive it.
    • Added option for min/max light level for mobs to spawn.
    • Added option for min/max height for mobs to spawn.
    • large rewrite of the plugin.
    Version 3.6.0 | 7/7/2011
    • Depreciation of rewards if you kill the same mob type repeatedly.
    • Bugfix of the isDay() function which resulted in wrong calculations for the BurnInSunlight feature. (It was checking for night instead of day - fail)
    • SpawnChance will only affect naturally spawned mobs. (I was too stupid to find it previously - lol). Also, It will never affect the spawn behaviour of 'monster' and giant in any way, even if a plugin spawns them as 'naturally'. If you use another plugin to make them spawn, it should be possible to change the spawn amount there.
    • isAggressive and burnsInSunlight features are now available for animals as well.
    Version 3.5.1 | 5/7/2011
    • Added check for a nearby mob spawner for reward and lootMultiplier.
    • Added success-rate of a mob spawning.
    Version 3.5.0 | 7/5/2011
    • NPE fix within the reward system.
    • Added WorldGuard-Regions support.
    • Added option to disable startup messages.
    • Region Commands now have their own classes.
    • Difficulties with uppercase letters work properly.
    Version 3.4.2 | 7/3/2011
    • Fixed another bug regarding region-persistence. :eek:
    Version 3.4.1 | 7/3/2011
    • Fixed monsters (except skeletons & zombies) starting to burn during night if burnsInSunlight was set to true.
    Version 3.4.0 | 7/2/2011
    • Fixed regions not saving into database due to a wrong function call.
      Thanks to @Kytsune for spotting this bug!
    • Added iConomy support for mob-killing rewards.
    • Added lootMultiplier feature
    Version 3.3.1 | 7/1/2011
    • NPE fix
    Version 3.3.0 | 7/1/2011
    • Added some (possible) bugfixes
    • Added possibility to change if (hostile) monsters burn in sunlight.
    Version 3.2.0 | 6/24/2011
    • Added changeable aggressiveness.
    • Changed the way I hooked into WorldEdit / Permissions.
    • Different settings for wild wolves and tamed wolves.
    • Tested against RB 928.
    Version 3.1.0 | 06/16/2011
    • Added configuration nodes for "monster" (the 'human' mob)
    Version 3.0.0 | 06/16/2011
    • Added regions. (Requires WorldEdit and HSQLDB)
    • Added possibility to create as many difficulties as you want
    • Changed commands a bit to clean up source code - it was a mess!
    • Some minor bug fixes.
    • Something else I don't remember right now. :eek:
    Version 2.2.2 | 06/14/2011
    • Removed "Error in [world].yml - Check HP settings for [monster]" debug message.
    Version 2.2.1 | 06/07/2011
    • Added option to change Player's damage for each difficulty (multiply and [add or subtract damage] or both)
    • Added checks if config nodes are set. (If not - Plugin won't touch the corresponding event)
    • Changed "/difficulty" command - displays now the current world - or all worlds if the command user is no player (e.g. console)
    • Added "/difficulty all" - will display the difficulty on all worlds.
    • Priorities of 'CREATURE_SPAWN' and 'ENTITY_DAMAGE' events have been set to 'Lowest'.
    • Bug-fix - Fixed error with slimes - it was looking for node "slime[size]..." instead of "slime.[size]..."
    • Some minor changes in the source code (e.g. refactoring)
    Version 2.1.1 | 06/06/2011
    • Added Multi-World support.
    • Added Permissions support.
    • Bug-fix - Slimes are now handled according to their size.
    Version 1.0.0 | 06/05/2011
    • Initial release.

    To-do
    • Limit mob spawning to biomes.
    • Suggestions!
    • Change Player's HP | Out of the scope of this plugin as it requires a custom health system. I might add later though... who knows.
    If you like this plugin and want to help me a lil bit - please [​IMG]. Thanks!

    ~Pardon my imperfect English. :>
     
    Snatch, bluehasia, Smokie23 and 27 others like this.
  2. Offline

    varunax

    Make sure you correctly spell the mobs names out in the spawnlist. I noticed you misspelled "Giant". Also, set the spawn chance lower so the monsters don't just spawn like like crazy. I have my animals set to about 10% spawn chance for an example so not many of them spawn. I have Zombies set at 90% and Skeleton/Spiders/Creeper at 30%.

    If you're using multiple worlds, try setting the max mob limits per world down.
     
  3. Offline

    saiek

    I'm having a problem, no mobs will spawn

    this is my config

    Code:
    global:
    checkForUpdates: true
    savePlayerKills: 3
    useOldGetDifficulty: false
    initMessages: true
    useWorldGuardRegions: true
    minSpawnDistance: 24.0
    maxSpawnDistance: 222.0
    mobSpawnerRadius: 5.0
    mobLimit: 500
    worlds:
    world:
    mobAggressiveLimit: 75
    mobPassiveLimit: 75
    mobFriendlyLimit: 75
    mobChunkLimit: 1
    difficulty: none
    burnsInSunlightInterval: 20
    spawnInterval: 5
    aggressivenessInterval: 10
    useRegions:
    aggressiveness: false
    burnsInSunlight: false
    mobHP: false
    mobDamage: false
    playerVsPlayer: false
    playerVsMonster: false
    reward: false
    lootMultiplier: false
    spawnAlgorithm: false
    world_nether:
    mobAggressiveLimit: 75
    mobPassiveLimit: 75
    mobFriendlyLimit: 75
    mobChunkLimit: 1
    difficulty: none
    burnsInSunlightInterval: 20
    spawnInterval: 5
    aggressivenessInterval: 10
    useRegions:
    aggressiveness: false
    burnsInSunlight: false
    mobHP: false
    mobDamage: false
    playerVsPlayer: false
    playerVsMonster: false
    reward: false
    lootMultiplier: false
    spawnAlgorithm: false
    
    global:
    rewardDepreciation: 0.0
    dropOnlyWhenKilledByPlayer: false
    possibleSpawnCreatures:
    - cavespider
    - chicken
    - cow
    - creeper
    - enderman
    - pig
    - sheep
    - skeleton
    - slime
    - spider
    - squid
    - wolf
    - zombie
    player:
    vsMonsterDamageAdd: 0
    vsPlayerDamageAdd: 0
    vsPlayerDamageMultiply: 1.0
    vsMonsterDamageMultiply: 1.0
    cavespider:
    hp: 30
    damage: 4
    spawnChance: 100.0
    spiderJockeyChance: 1.0
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 7
    heightMin: 0
    heightMax: 64
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    enderman:
    hp: 50
    damage: 10
    spawnChance: 100.0
    burnsInSunlight: true
    aggressivenessDay: passive
    aggressivenessNight: passive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 7
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    zombie:
    hp: 50
    damage: 7
    spawnChance: 100.0
    burnsInSunlight: true
    aggressivenessDay: aggressive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 7
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    skeleton:
    hp: 40
    damage: 6
    spawnChance: 100.0
    burnsInSunlight: true
    aggressivenessDay: aggressive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 7
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    creeper:
    spawnChance: 100.0
    electrifiedChance: 2.0
    lightLevelMin: 0
    lightLevelMax: 7
    heightMin: 0
    heightMax: 127
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    powered:
    hp: 20
    damage: 1.0
    burnsInSunlight: false
    aggressivenessDay: aggressive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    drops:
    unpowered:
    hp: 20
    damage: 1.0
    burnsInSunlight: false
    aggressivenessDay: aggressive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    drops:
    spider:
    hp: 30
    damage: 4
    spawnChance: 100.0
    spiderJockeyChance: 1.0
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 7
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    slime:
    spawnChance: 100.0
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 0
    heightMax: 15
    spawnOnlyOn:
    spawnNotOn:
    huge:
    hp: 32
    damage: 4
    burnsInSunlight: false
    reward: 0.0
    lootMultiplier: 1
    drops:
    big:
    hp: 16
    damage: 4
    burnsInSunlight: false
    reward: 0.0
    lootMultiplier: 1
    drops:
    average:
    hp: 16
    damage: 2
    burnsInSunlight: false
    reward: 0.0
    lootMultiplier: 1
    drops:
    small:
    hp: 12
    damage: 0
    burnsInSunlight: false
    reward: 0.0
    lootMultiplier: 1
    reward: 1
    drops:
    pigzombie:
    hp: 10
    damage: 5
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: passive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    ghast:
    hp: 10
    damage: 7
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: aggressive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    giant:
    hp: 50
    damage: 10
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: passive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 64
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    monster:
    hp: 30
    damage: 5
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: passive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    spawnNotOn:
    - GLASS
    - STEP
    - WOOD_STAIRS
    - COBBLESTONE_STAIRS
    wolf:
    spawnChance: 5.0
    lightLevelMin: 7
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    spawnOnlyOn:
    - GRASS
    spawnNotOn:
    wild:
    hp: 8
    damage: 2
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: passive
    reward: 0.0
    lootMultiplier: 1
    drops:
    tamed:
    hp: 16
    damage: 1
    burnsInSunlight: false
    aggressivenessDay: passive
    aggressivenessNight: passive
    reward: 0.0
    lootMultiplier: 1
    drops:
    cow:
    hp: 10
    damage: 0
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: friendly
    aggressivenessNight: friendly
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 9
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    - GRASS
    spawnNotOn:
    pig:
    hp: 10
    damage: 0
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: friendly
    aggressivenessNight: friendly
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 9
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    - GRASS
    spawnNotOn:
    chicken:
    hp: 10
    damage: 0
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: friendly
    aggressivenessNight: friendly
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 9
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    - GRASS
    spawnNotOn:
    sheep:
    hp: 10
    damage: 0
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: friendly
    aggressivenessNight: friendly
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 9
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    spawnOnlyOn:
    - GRASS
    spawnNotOn:
    color0: 8184
    color1: 0
    color2: 0
    color3: 0
    color4: 0
    color5: 0
    color6: 16
    color7: 500
    color8: 500
    color9: 0
    color10: 0
    color11: 0
    color12: 300
    color13: 0
    color14: 0
    color15: 500
    silverfish:
    hp: 20
    damage: 1
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: aggressive
    aggressivenessNight: aggressive
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
    squid:
    hp: 10
    damage: 0
    spawnChance: 100.0
    burnsInSunlight: false
    aggressivenessDay: friendly
    aggressivenessNight: friendly
    reward: 0.0
    lootMultiplier: 1
    lightLevelMin: 0
    lightLevelMax: 15
    heightMin: 0
    heightMax: 127
    drops:
     
  4. Offline

    Sepulzera

    Change the line in config.yml
    difficulty: none
    to
    difficulty: default
    while "default" is the file-name of difficulty-file located in "plugins\CustomDifficulty\Difficulties"

    Btw: Copy&Paste fail, or did you break the formatting of your files?
     
  5. Offline

    saiek

    copy and paste fail

    still won't spawn mobs...the diffculty file name is default

    Code:
    global:
        checkForUpdates: true
        savePlayerKills: 3
        useOldGetDifficulty: false
        initMessages: true
        useWorldGuardRegions: true
        minSpawnDistance: 24.0
        maxSpawnDistance: 222.0
        mobSpawnerRadius: 5.0
        mobLimit: 500
    worlds:
        world:
            mobAggressiveLimit: 75
            mobPassiveLimit: 75
            mobFriendlyLimit: 75
            mobChunkLimit: 1
            difficulty: default
            burnsInSunlightInterval: 20
            spawnInterval: 5
            aggressivenessInterval: 10
            useRegions:
                aggressiveness: false
                burnsInSunlight: false
                mobHP: false
                mobDamage: false
                playerVsPlayer: false
                playerVsMonster: false
                reward: false
                lootMultiplier: false
                spawnAlgorithm: false
        world_nether:
            mobAggressiveLimit: 75
            mobPassiveLimit: 75
            mobFriendlyLimit: 75
            mobChunkLimit: 1
            difficulty: default
            burnsInSunlightInterval: 20
            spawnInterval: 5
            aggressivenessInterval: 10
            useRegions:
                aggressiveness: false
                burnsInSunlight: false
                mobHP: false
                mobDamage: false
                playerVsPlayer: false
                playerVsMonster: false
                reward: false
                lootMultiplier: false
                spawnAlgorithm: false
    
    global:
        rewardDepreciation: 0.0
        dropOnlyWhenKilledByPlayer: false
        possibleSpawnCreatures:
        - cavespider
        - chicken
        - cow
        - creeper
        - enderman
        - pig
        - sheep
        - skeleton
        - slime
        - spider
        - squid
        - wolf
        - zombie
    player:
        vsMonsterDamageAdd: 0
        vsPlayerDamageAdd: 0
        vsPlayerDamageMultiply: 1.0
        vsMonsterDamageMultiply: 1.0
    cavespider:
        hp: 30
        damage: 4
        spawnChance: 100.0
        spiderJockeyChance: 1.0
        burnsInSunlight: false
        aggressivenessDay: passive
        aggressivenessNight: aggressive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 7
        heightMin: 0
        heightMax: 64
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    enderman:
        hp: 50
        damage: 10
        spawnChance: 100.0
        burnsInSunlight: true
        aggressivenessDay: passive
        aggressivenessNight: passive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 7
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    zombie:
        hp: 50
        damage: 7
        spawnChance: 100.0
        burnsInSunlight: true
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 7
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    skeleton:
        hp: 40
        damage: 6
        spawnChance: 100.0
        burnsInSunlight: true
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 7
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    creeper:
        spawnChance: 100.0
        electrifiedChance: 2.0
        lightLevelMin: 0
        lightLevelMax: 7
        heightMin: 0
        heightMax: 127
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
        powered:
            hp: 20
            damage: 1.0
            burnsInSunlight: false
            aggressivenessDay: aggressive
            aggressivenessNight: aggressive
            reward: 0.0
            lootMultiplier: 1
            drops:
        unpowered:
            hp: 20
            damage: 1.0
            burnsInSunlight: false
            aggressivenessDay: aggressive
            aggressivenessNight: aggressive
            reward: 0.0
            lootMultiplier: 1
            drops:
    spider:
        hp: 30
        damage: 4
        spawnChance: 100.0
        spiderJockeyChance: 1.0
        burnsInSunlight: false
        aggressivenessDay: passive
        aggressivenessNight: aggressive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 7
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    slime:
        spawnChance: 100.0
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 15
        spawnOnlyOn:
        spawnNotOn:
        huge:
            hp: 32
            damage: 4
            burnsInSunlight: false
            reward: 0.0
            lootMultiplier: 1
            drops:
        big:
            hp: 16
            damage: 4
            burnsInSunlight: false
            reward: 0.0
            lootMultiplier: 1
            drops:
        average:
            hp: 16
            damage: 2
            burnsInSunlight: false
            reward: 0.0
            lootMultiplier: 1
            drops:
        small:
            hp: 12
            damage: 0
            burnsInSunlight: false
            reward: 0.0
            lootMultiplier: 1
            reward: 1
            drops:
    pigzombie:
        hp: 10
        damage: 5
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: passive
        aggressivenessNight: passive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
    ghast:
        hp: 10
        damage: 7
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
    giant:
        hp: 50
        damage: 10
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: passive
        aggressivenessNight: passive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 64
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    monster:
        hp: 30
        damage: 5
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: passive
        aggressivenessNight: passive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
        - GLASS
        - STEP
        - WOOD_STAIRS
        - COBBLESTONE_STAIRS
    wolf:
        spawnChance: 5.0
        lightLevelMin: 7
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        spawnOnlyOn:
        - GRASS
        spawnNotOn:
        wild:
            hp: 8
            damage: 2
            burnsInSunlight: false
            aggressivenessDay: passive
            aggressivenessNight: passive
            reward: 0.0
            lootMultiplier: 1
            drops:
        tamed:
            hp: 16
            damage: 1
            burnsInSunlight: false
            aggressivenessDay: passive
            aggressivenessNight: passive
            reward: 0.0
            lootMultiplier: 1
            drops:
    cow:
        hp: 10
        damage: 0
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: friendly
        aggressivenessNight: friendly
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 9
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        - GRASS
        spawnNotOn:
    pig:
        hp: 10
        damage: 0
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: friendly
        aggressivenessNight: friendly
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 9
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        - GRASS
        spawnNotOn:
    chicken:
        hp: 10
        damage: 0
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: friendly
        aggressivenessNight: friendly
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 9
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        - GRASS
        spawnNotOn:
    sheep:
        hp: 10
        damage: 0
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: friendly
        aggressivenessNight: friendly
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 9
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        - GRASS
        spawnNotOn:
        color0: 8184
        color1: 0
        color2: 0
        color3: 0
        color4: 0
        color5: 0
        color6: 16
        color7: 500
        color8: 500
        color9: 0
        color10: 0
        color11: 0
        color12: 300
        color13: 0
        color14: 0
        color15: 500
    silverfish:
        hp: 20
        damage: 1
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
    squid:
        hp: 10
        damage: 0
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: friendly
        aggressivenessNight: friendly
        reward: 0.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  6. Offline

    Pasukaru

    log in and try this command: '/difficulty set default' and tell me what message you get. If it says difficulty changed, also use the '/difficulty reload' command. (I figured that it doesnt reload automatically, will be fixed in next release)
     
  7. Offline

    saiek

    it says "Difficulty of world world has been set to default
    then i did reload, "Reloading done

    mobs worked for that night, but then didnt work for any nights after that
     
  8. Offline

    SrJoben

    Would it be possible to add commands to kill all spawned mobs?

    The ability to specifying a certain world, or mob types to be killed would be awesome.
     
  9. Offline

    cwingrav

    I'm enjoying the plugin. I'm having problems getting iConomy rewards. I saw an earlier post about regions support. Can you explain more about this? I tried setting useWorldGuardRegions to false but that didn't work either. I know the difficulty file is working as I can change other things in the world and about the mobs, just not the reward.
     
  10. Offline

    Pasukaru

    @saiek
    Hmm weird, it works fine for me. Even after restarts/reloads. o.o

    @SrJoben
    Possible, yea. But WorldGuard already has this feature. (/butcher)

    @cwingrav
    You have to enable useWorldGuardRegions if you want to use them.
    To set a difficulty for a region, use /difficuly region set <region> <difficulty>.
    If a mob is inside a region, the plugin will use the region's difficulty instead the world's difficulty.

    Also, if you want to receive rewards, you need to install Register and then it should work without problems.
     
  11. Offline

    niagra127

    Been using bukkit forever now but had to make an account to comment on this. This is one of my favorite plugins ever. Thank you for this :)

    I do have a suggestion but I'm not sure how possible it would be for you. There is a plugin called sRPG that someone is making, and I used that on my server for a while because it allowed you to change monster health and damage but also let you change tool damage and armor effectiveness. The downfall is that I didn't want the rpg stuff in with it.

    Is there anyway you could add the ability to change tool damage (and unarmed damage) or even the armor efficiency to this plugin? That would be awesome.
     
  12. Offline

    varunax

    Pasukaru's CustomDifficulty is definitely one of the tops mods out there in my opinion. It has a lot of features all into 1 such as setting mob spawns, damage, drops, etc. I really like that and it saves me the trouble of going through 3-4 different plugins that may be outdated.

    It's a really great mod. c: Even better combined with the popular mod McMMO.
     
  13. Offline

    Syd

    I got extremly less Mob with 4.5.0, especially agressive mob.
    In 4.4.0 there was a real flood of them, but now they are nearly extinct...

    I happend with the same config as in 4.4.0, buy also with a config which should extend the spawn...

    Oh but I got Squids. Thank you for that. :)

    PS: another weird bug (not sure if it's related to this plugin): The mobs on my server are collecting on the ocean...
     
  14. Offline

    Pasukaru

    @niagra127
    It should be possible to use both plugin at the same time without any conflict. I haven't tried it yet, but as long as you dont modify the damage with CD it shouldn't affect sRPG's modifications.

    @varunax
    Wow, thanks the compliment. :)

    @Syd
    Mob spawn lessened because the min/max distance options work now.
    Do all mobs collect in the ocean, or squids only?
     
  15. Offline

    cwingrav

    Register. Got it.

    You might want to add a more obvious note about this. I didn't see this in my looking around. Maybe a note on the wiki next to the reward attribute?

    Cheers.
     
    Pasukaru likes this.
  16. Offline

    Pasukaru

    Added a note on the wiki. :) It was pretty outdated.
     
  17. Offline

    Syd

    Thanks, changing the min/max distance seems to work by now

    There are just animals (Sheeps, Cows, Pigs, Chicken) on the ocean.

    Would it possible to use the vanilla spawn method and just editing the values of mob and the rewards?

    PS: your plugin is great, anyway ;)
     
  18. Offline

    Shanev

    Is it possible to use your plugin with the catacombs plugin? (http://dev.bukkit.org/server-mods/catacombs/)
    I've set up a region (worldguard) in my default world and created a dungeon (with catacombs) in this region, set the difficulty (with your GREAT plugen ;) )to "dungeonname.yml", but somehow the mob-spawners in the dungeon don't spawn any mobs at all.

    Here is my difficulty config file:
    Code:
    global:
        rewardDepreciation: 10.0
        dropOnlyWhenKilledByPlayer: false
        possibleSpawnCreatures:
        - cavespider
        - spider
        - skeleton
        - zombie
        - pigzombie
        - wolf
    player:
        vsMonsterDamageAdd: 0
        vsPlayerDamageAdd: 0
        vsPlayerDamageMultiply: 1.0
        vsMonsterDamageMultiply: 1.0
    cavespider:
        hp: 40
        damage: 10
        spawnChance: 100.0
        spiderJockeyChance: 1.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 10.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
    zombie:
        hp: 80
        damage: 40
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 10.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
            - 298:0:1:1:20
            - 299:0:1:1:20
            - 300:0:1:1:20
            - 301:0:1:1:20
        spawnOnlyOn:
        spawnNotOn:
    skeleton:
        hp: 40
        damage: 20
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 12.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
            - 302:0:1:1:20
            - 303:0:1:1:20
            - 304:0:1:1:20
            - 305:0:1:1:20
        spawnOnlyOn:
        spawnNotOn:
    spider:
        hp: 60
        damage: 18
        spawnChance: 100.0
        spiderJockeyChance: 1.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 10.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
            - 30:0:1:3:20
            - 98:0:1:3:20
        spawnOnlyOn:
        spawnNotOn:
    pigzombie:
        hp: 100
        damage: 45
        spawnChance: 100.0
        burnsInSunlight: false
        aggressivenessDay: aggressive
        aggressivenessNight: aggressive
        reward: 20.0
        lootMultiplier: 1
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        drops:
        spawnOnlyOn:
        spawnNotOn:
    wolf:
        spawnChance: 100.0
        lightLevelMin: 0
        lightLevelMax: 15
        heightMin: 0
        heightMax: 127
        spawnOnlyOn:
        spawnNotOn:
        wild:
            hp: 40
            damage: 18
            burnsInSunlight: false
            aggressivenessDay: aggressive
            aggressivenessNight: aggressive
            reward: 0.0
            lootMultiplier: 1
            drops:
        tamed:
            hp: 40
            damage: 12
            burnsInSunlight: false
            aggressivenessDay: passive
            aggressivenessNight: passive
            reward: 0.0
            lootMultiplier: 1
            drops:
    Does your plugin actually affect mob spawners, or do I have to look somewhere else for the problem?
     
  19. Offline

    Pasukaru

    @Shanev
    The problem is probably that one of the limits is reached.
     
  20. Offline

    varunax

    CustomDifficulty seems to be running fine with CB 1317. No problems so far.

    Also, I'm wondering if you're ever going to implement ghast/creeper explosion radius customization? Right now, the ghast for an example has a very small explosion radius so the damage on the ghast doesn't matter too much since the explosion radius is so small, the damage is reduced a lot because of the small AoE. Is it possible to increase the blast radius of fireballs/creeper explosions with your plugin?
     
  21. Offline

    Zombiemold

    Been having issues with spawns atm. Only enderman spawn during the night, and I only ever see Sheep during the day... Not sure what my issue is, here are my configs:

    Config: http://pastebin.com/aHEbHfV6

    Difficulty: http://pastebin.com/PERwhUfE

    List of active mods: http://pastebin.com/tGh509H0

    I understand that a few of my values are invalid, but I read that invalid values get defaulted. Please help mister Pasukaru! ^_^
     
  22. Offline

    Shanev

    Here is my general config of CustomDifficulty:
    Code:
    global:
        checkForUpdates: true
        savePlayerKills: 0
        useOldGetDifficulty: false
        initMessages: true
        useWorldGuardRegions: true
        minSpawnDistance: 24.0
        maxSpawnDistance: 222.0
        mobSpawnerRadius: 5.0
        mobLimit: 500
    worlds:
        Adventure:
            mobAggressiveLimit: 75
            mobPassiveLimit: 75
            mobFriendlyLimit: 75
            mobChunkLimit: 1
            difficulty: adventure
            burnsInSunlightInterval: 20
            spawnInterval: 5
            aggressivenessInterval: 10
            useRegions:
                aggressiveness: true
                burnsInSunlight: true
                mobHP: true
                mobDamage: true
                playerVsPlayer: true
                playerVsMonster: true
                reward: true
                lootMultiplier: true
                spawnAlgorithm: true
    I guess its CustomDifficulty's spawn control which prevents mob-spawner functionality within the catacombs. When I remove your plugin it works just fine. I've got an answer from the catacombs author regarding my problem:

    Code:
    Worldguard and CustomDifficulty aren't plugins I've tried, but let's see if we can figure it out.
    
    Only one Catacombs option has any impact on spawning "CalmSpawns". If you set this variable
    to true then all Catacomb spawning code is switched off, which is handy, so try setting this and
    let me know what happens. Once the dungeon has been built you could also move plugins/Catacombs.jar
    out of the way and restart the server (i.e test the spawners without Catacombs running at all -
    You won't loose your dungeon locations as long as you don't delete the .db file).
    I contend turning Catacombs off will give you the same spawn behaviour as setting CalmSpawns to
    true but can try it so you don't need to take my word for it.
    
    
    The Catacombs spawning code runs as Event.Priority.Low when it's running and does 4 things.
    
        1. stops straight away if the spawn has already been cancelled by another plugin
        2. Cancels the spawn if it's within one of my dungeons and that dungeon is suspended (you'll see lots of glowstone)
        3. For pigmen only: it stops them spawning if light >10 and makes them angry if it isn't
        4. For wolves only: it stops them spawning if light >10 and makes them angry if it isn't
    
    
    Of these number (2) fits the facts, are your dungeons suspended?
    
    
    The Worldguard options sound fine. I'd put my money on Custom difficulty which appears to have lots of spawning control.
    It would be great if you could help me to find a solution to the spawn problem, since those two plugins would be pure awesomeness, when it comes to dungeon creation and difficulty ;)

    I think the mob limits are OK, so my guess is that it has sth. to do with the pawn priority? Maybe a node to change the spawn priority within a worldguard region to low, so other plugins could take that part?

    edit: Or maybe a node to simply turn off the hook into "mob-spawners" at all, and only affect world-spawning in general. So mob-spawners could be used for different plugins. The question is if mobs, after being spawned by mob-spawners would be affected by CustomDifficulty. This would be important, or else this option would be of no use!

    btw: thx for your help! Lot's of awesome stuff would be possible if those two plugins could be used together!
     
  23. Offline

    Pasukaru

    @Shanev
    I think it's because the limit's are reached. That prevents mobs from spawning (even those from mob spawners)
    I'll try to find a way to fix this issue, I just hope there is a way to figure out if a mob was spawned by a MobSpawner. If so, it shouldn't be too hard to exclude them.

    @Zombiemold
    Your configs seem to be ok, but you should change 'mobChunkLimit' to something lower - 5 is already pretty high and 1000 is way over the top.
    I copied your configs and it worked perfectly fine. So my guess is, one or more of your 74 other plugins is conflicting somehow.
     
  24. Offline

    Shanev

    Omg! I guess you're right! I've set the mob-chunk limit from 1 to 7 and it seems to work! Ok, some mobs used in the catacomb now spawn outside it on the surface, but thats a minor problem ;) I can finally construct ultra-hard catacombs!!! thx a lot! And btw: A collaboration of your mod with catacombs would nevertheless be great! Maybe some more cool features could be implemented in this way!
     
  25. Offline

    Pasukaru

    Yea, I started to rewrite most of the plugin today to clean up code and improve it.
    I'll also exclude mobs that are spawned by MobSpawners from the limits, maybe configurable.
    (ServerReloads will probably mess it up, but I already know how fix this.)

    I'm also switching to the new yaml library, not sure if it changes anything for you - but for me it does. :p
     
  26. Well it changes this: We need to use CB#1317 or higher to use the new yaml lib ;)
     
  27. Offline

    Sepulzera

    Bug: Animals (cows etc.) can attack through glass panes, didn't check normal glass.
     
  28. Offline

    Pasukaru

    @Sepulzera
    Will fix it, it's because glass panes are thin and you can get really close to the mob - and distance is the only thing I check at the moment.
     
  29. Not sure if it is a bug or a setting wrong here:

    I set creepers to be passive at day (only normal ones not the powered ones!). But the still come to me and explode if they see me at day-time. This worked with version 4.3 and seems to be broken now oO

    EDIT: Found it, was a Typo in my configuration, pssive instead of passive sry for the inconvienience if any ;)
     
  30. Offline

    Plastslev

    I would totally love you if you add Regios support (it's like WorldGuard, but i can't use worldguard on my server)
    Shouldn't be too much different from WorldGuard.
     
  31. Offline

    ntack

    I have the same problem as Zombiemold (where only endermen spawn at night and changes to difficulty do nothing), but I only have 2 other plugins besides iconomy, which are PreciousStones and ChestShop.
    I get two errors whenever I run the server:
    Code:
    2011-10-16 11:46:41 [WARNING] [CustomDifficulty] Couldn't hook into Permissions!
    2011-10-16 11:46:41 [WARNING] [CustomDifficulty] Couldn't hook into Register!
    2011-10-16 11:46:41 [INFO] [CustomDifficulty] Spawning activated for world MAP. | Interval: 5
    2011-10-16 11:46:41 [WARNING] [CustomDifficulty] Spawning will not be activated for world MAP_nether. World's difficulty is invalid and ignoring is disabled.
    2011-10-16 11:46:41 [INFO] [CustomDifficulty] AggressivenessControl activated for world: MAP. | Interval: 10
    2011-10-16 11:46:41 [INFO] [CustomDifficulty] BurnsInSunlightControl activated for world: MAP. | Interval: 20
    2011-10-16 11:46:41 [INFO] [CustomDifficulty] MobListCleanup activated.
    2011-10-16 11:46:41 [INFO] [CustomDifficulty] Mob counter started.
    2011-10-16 11:46:41 [INFO] [CustomDifficulty] version 4.5.0 (for CB: 1240) has been enabled. (36.47ms)
    Is this because I have CraftBukkit 1317? I thought I heard people say that 1317 works fine, but I guess maybe not
     

Share This Page