Pwn9 / PwnPlantGrowth

A Bukkit Plugin for Minecraft that makes plant growth more configurable, per biome.
GNU General Public License v3.0
5 stars 5 forks source link

[1.16.5] Bug #17

Open OsLint opened 2 years ago

OsLint commented 2 years ago

Hey my config looks that way but bamboo still grows on other bioms why? image image

OsLint commented 2 years ago

`# See PwnPlantGrowth's page on http://dev.bukkit.org for more config details.

Full biome list available at https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/Biome.html

Plants / Crops are available in the "Material" list. See the following for official material names.

Full material list available at https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html

Which worlds should this plugin be enabled in? Worlds not in this list will have default growth.

enabled_worlds: -world

Natural sky light level: 0 allows any, 10 is sunlight through glass/tree leaves, 15 is direct sunlight

min_natural_light: 10

List of items allowed to grow in false light (torches, lightstone, lava) - use offical MATERIAL names to add to this list

grow_in_dark:

Enable use of weed killer

weed_killer_enabled: false

A Block that can act as a weed killer (keeps plants from dying, will NOT affect growth rates)

weed_killer: DIAMOND_BLOCK

Radius that weed killer protects, plants within this distance of the weed killer block will not turn to dead shrubs

weed_killer_radius: 3

Enable use of fertilizer

fertilizer_enabled: true

A Block that can act as a fertilizer (keeps plants growing at 100% or rate set below - as long as they are in the right biome)

fertilizer: SOUL_SAND

Radius that fertilizer affects, plants within this distance of the block will grow at 100% or rate set below

fertilizer_radius: 3

Set the fertilizer rate of growth globally when a fertilizer block is nearby, defaults to 100%

note that specific plant/biome dark rates and death rates take effect regardless of fertilizer

fertilizer_rate: 10

Enable use of UV Light Block

uv_enabled: false

A Block that can act as UV Light (will allow plants in radius to grow where there is no natural light, -note, still requires actual lighting)

uv: GLOWSTONE

Radius that UV affects

uv_radius: 5

Allow plugin to capture bonemeal (only works for trees right now)

limit_bonemeal: true

Show players possible growth rates for an item if they click it on a block in a biome

report_growth: true

Message format - set how the plugin displays messages to users

msg_format: "&2Rosliny: &r"

Run various debug logs to view additional plugin data for troubleshooting and configuration. Can get spammy, use for debugging.

debug_log: false

Will additionally log Tree Growing Events.

tree_log: false

Will additionally log Plant Growing Events.

plant_log: false

Set true if you want also to log the coordinates on the world of the event - gets really spammy

log_coords: false

Ultra verbose logging, logs tons of information that may be useful for extra debugging

log_verbose: false

BIOME GROUPS - You can MAKE YOUR OWN versions of these, this is just a sample set of groups

BiomeGroup: Hell:

Ageable / BlockGrowEvent or BlockSpreadEvent - Important note, as of PPG 1.6 the plant names are now all in UPPER CASE matching the actual Bukkit Material.TYPE

BAMBOO: Growth: 25 Death: 5 BiomeGroup:

In this example beetroot only grows in GoodGrowing and GreatGrowing biomes, setting biome NONE should block all others

BEETROOTS: Growth: 25 GrowthDark: 5 Death: 5 DeathDark: 25 BiomeGroup:

In this example cactus is restricted to the biomegroup desert and savanna

CACTUS: Growth: 25 GrowthDark: 5 Death: 5 DeathDark: 25 BiomeGroup:

Carrot example is setup like beetroot but also grows in desert by setting Biome: - DESERT value

CARROTS: Growth: 25 GrowthDark: 5 Death: 5 DeathDark: 25
BiomeGroup:

Chorus flower needs endstone to grow on and be in the end

CHORUS_FLOWER: Growth: 50 Death: 5 Biome:

In this example Cocoa will only grow in jungle biomes at 25% normal rate

COCOA: Growth: 25 Death: 5 BiomeGroup:

In this example grass, tallgrass, bonemeal used on grass - will grow anywhere - Biome: [] - but only at 50%

GRASS: Growth: 50 Death: 0 Biome: []

In this example kelp will grow anywhere - Biome: [] - but only at 50%

KELP: Growth: 50 Death: 5 Biome: []

In this example melons will grow anywhere - Biome: [] - but only at 50%

MELON: Growth: 25 Death: 5 Biome: []

This is the stem portion, it can be set to grow differently than the melon/pumpkin

MELON_STEM: Growth: 25 Death: 5 Biome: []

In this example netherwart is restricted to the nether biomegroup at 25%

NETHER_WART: Growth: 25 Death: 5 BiomeGroup:

Potato will grow in great and good areas, all others at its default rate with Biome: []

POTATOES: Growth: 25 GrowthDark: 5 Death: 5 DeathDark: 25 BiomeGroup:

PUMPKIN: Growth: 25 Death: 5
Biome: []

This is the stem portion, it can be set to grow differently than the melon/pumpkin

PUMPKIN_STEM: Growth: 25 Death: 5 Biome: []

In this example sugar cane will only grow in these biomes at a 50% rate and no where else

SUGAR_CANE: Growth: 25 Death: 5 Biome:

Sweet berry bush was added in minecraft 1.14 and pwnplantgrowth v2.5.0

SWEET_BERRY_BUSH: Growth: 25 GrowthDark: 5 Death: 5 DeathDark: 25 BiomeGroup:

TWISTING_VINES: Growth: 25 Death: 5 BiomeGroup:

WEEPING_VINES: Growth: 25 Death: 5 BiomeGroup:

This is WHEAT - In this example wheat will grow everywhere at 50% rate, and at better rates in great and good growing groups

WHEAT: Growth: 25 GrowthDark: 5 Death: 5 DeathDark: 25 BiomeGroup:

StructureGrowEvent Items

As of version 2.4.0 PwnPlantGrowth switched to the block type (sapling) that starts the tree/structure, the growth result could be regular, tall, mega, etc based on other conditions.

ACACIA_SAPLING: Growth: 10 Death: 5 Biome:

BIRCH_SAPLING: Growth: 10 Death: 5 Biome:

DARK_OAK_SAPLING: Growth: 10 Death: 5 Biome:

JUNGLE_SAPLING: Growth: 10 Death: 5 BiomeGroup:

OAK_SAPLING: Growth: 10 Death: 5 Biome: []

SPRUCE_SAPLING: Growth: 10 Death: 5 Biome: []

BROWN_MUSHROOM: Growth: 10 Death: 5 Biome:

RED_MUSHROOM: Growth: 10 Death: 5 Biome:

CRIMSON_FUNGUS: Growth: 10 Death: 5 Biome:

WARPED_FUNGUS: Growth: 10 Death: 5 Biome:

Plugin will check for the following list of plants as of ver. 2.6.0 for Minecraft 1.16.x

Ageable / BlockGrowEvent: "BAMBO", "BEETROOTS", "CACTUS", "CARROTS", "COCOA", "CHORUS_FLOWER", "GRASS", "KELP", "MELON", "MELON_STEM", "NETHER_WART", "POTATOS", "PUMPKIN", "PUMPKIN_STEM", "SUGAR_CANE", "TWISTING_VINES", "WEEPING_VINES", "WHEAT", "SWEET_BERRY_BUSH"

Structures / StructureGrowEvent: "ACACIA_SAPLING", "BIRCH_SAPLING", "DARK_OAK_SAPLING", "JUNGLE_SAPLING", "OAK_SAPLING", "SPRUCE_SAPLING", "RED_MUSHROOM", "BROWN_MUSHROOM", "CRIMSON_FUNGUS", "WARPED_FUNGUS"

`