Aller au contenu

Botany

De Nefald Wiki


Botany
Botany
Plugin
Catégorie Mapping [edit]
Développeur(s) s0f4r
Bukkit botany
Nefald
Status non-installé [edit]
Grade requis Intendant
Article
Dernière révision 26/05/2015


Botany est un plugin qui tente de recréer la pousse naturelle des plantes.

Commandes et permissions

commandes description
/botany stats Afficher les stats à propos de la pousse naturelle.
/botany enable|disable <monde> Activer/désactiver Botany sur le monde indiqué
/botany list Lister les mondes sur lesquelles Botany prendra effet
/botany scan Afficher des analyses statistiques de la zone autour de vous, informant sur le type de plantes, etc

Configuration

<syntaxhighlight lang="Yaml"> blocks: 1 ticks: 20 density: 1.0 saplings: true cacti: true trees: false protect: true protect_factions: true protect_towny: true protect_worldguard: true protect_residence: true worlds: - Harlan2 - Medel </syntaxhighlight>

Explications
  • blocks - Nombre de tentatives par tick sont faits pour faire pousser une nouvelle plante.
  • ticks - Interval (en ticks) entre deux tentatives de plantations (1/20 de seconde)
  • density - Échelonne la densité de chaque plantation - entre 0.0 et 1.0 signifie une densité moindre, une valeur supérieur à 1.0 signifie une grande densité.
  • saplings - Active la plantation de sapling
  • cacti - Active la plantation de cactus.
  • trees - Planter des arbres en entier au lieu de sapling. Cela permet déviter que les saplings soient disposés à un endroit où ils ne pourront pas pousser, par manque de place, permettant ainsi la pousse de mega trees, de différentes variétés de tall jungle, etc. C'est encore expérimental et non-recommandé
  • protect - Activer la protection. Si désactivé les les autres plugins de protection n'ont aucun effet.
  • protect_factions - Active la protection de Factions.
  • protect_towny - Active la protection de Towny.
  • protect_worldguard - Active la protection de WorldGuard.
  • protect_residence - Active la protection de Residence.
  • worlds - Liste des mondes sur lesquelles Botany interviendra.

plants.csv


<syntaxhighlight lang="Yaml">

  1. plants.csv - default plant matrix for Botany plugin
  2. format: 5 fields separated by "," - no spaces allowed
  3. - 1: Biome name
  4. - 2: Material:Data byte for the thing to be planted
  5. - 3: Material for the block to be planted ontop of
  6. - 4: Material:Data byte for the thing to scan for
  7. - 5: double value for plant density
  8. byte values are required for fields 2 and 4. byte values
  9. are not allowed in field 3.
  10. empty lines and lines with a # in any location are skipped
  1. this next line help to determine if this file may be out of date - it will notify
  2. you on the console if this file needs upgrading. If you have custom modifications
  3. and/or do not want to be notified, just delete this line.

VERSION,2,,,

BIRCH_FOREST,SAPLING:2,GRASS,LEAVES:2,0.4 BIRCH_FOREST,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.03000 MESA,CACTUS:0,SAND,CACTUS:0,0.00200 MESA,SAPLING:0,GRASS,LEAVES:0,0.1 MESA,SAPLING:0,DIRT,LEAVES:0,0.1 MESA,DEAD_BUSH:0,SAND,DEAD_BUSH:0,0.01000 MESA,DEAD_BUSH:0,STAINED_CLAY,DEAD_BUSH:0,0.01000 MESA,DEAD_BUSH:0,HARD_CLAY,DEAD_BUSH:0,0.01000 MESA,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.01000 DESERT,CACTUS:0,SAND,CACTUS:0,0.00200 DESERT,DEAD_BUSH:0,SAND,DEAD_BUSH:0,0.00200 ROOFED_FOREST,SAPLING:5,GRASS,LEAVES_2:1,0.6 ROOFED_FOREST,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.01000 SWAMPLAND,SAPLING:0,GRASS,LEAVES:0,0.1 SWAMPLAND,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.05000 FLOWER_FOREST,DOUBLE_PLANT:1,GRASS,DOUBLE_PLANT:1,0.00200 FLOWER_FOREST,DOUBLE_PLANT:4,GRASS,DOUBLE_PLANT:4,0.00200 FLOWER_FOREST,DOUBLE_PLANT:5,GRASS,DOUBLE_PLANT:5,0.00200 FLOWER_FOREST,SAPLING:0,GRASS,LEAVES:0,0.2 FLOWER_FOREST,SAPLING:2,GRASS,LEAVES:2,0.05 FLOWER_FOREST,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.02000 FLOWER_FOREST,RED_ROSE:0,GRASS,RED_ROSE:0,0.01000 FLOWER_FOREST,RED_ROSE:2,GRASS,RED_ROSE:2,0.01000 FLOWER_FOREST,RED_ROSE:3,GRASS,RED_ROSE:3,0.01000 FLOWER_FOREST,RED_ROSE:4,GRASS,RED_ROSE:4,0.01000 FLOWER_FOREST,RED_ROSE:5,GRASS,RED_ROSE:5,0.01000 FLOWER_FOREST,RED_ROSE:6,GRASS,RED_ROSE:6,0.01000 FLOWER_FOREST,RED_ROSE:7,GRASS,RED_ROSE:7,0.01000 FLOWER_FOREST,RED_ROSE:8,GRASS,RED_ROSE:8,0.00200 TAIGA,DOUBLE_PLANT:3,GRASS,DOUBLE_PLANT:3,0.01000 TAIGA,SAPLING:1,GRASS,LEAVES:1,0.3 TAIGA,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.01000 TAIGA,LONG_GRASS:2,GRASS,LONG_GRASS:2,0.03000 SAVANNA,DOUBLE_PLANT:2,GRASS,DOUBLE_PLANT:2,0.01000 SAVANNA,SAPLING:0,GRASS,LEAVES:0,0.01 SAVANNA,SAPLING:4,GRASS,LEAVES_2:0,0.01 SAVANNA,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.04000 ICE_PLAINS,SAPLING:1,GRASS,LEAVES:1,0.001 ICE_PLAINS,SAPLING:2,GRASS,LEAVES:2,0.001 ICE_PLAINS,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.03000 FOREST,SAPLING:0,GRASS,LEAVES:0,0.2 FOREST,SAPLING:2,GRASS,LEAVES:2,0.1 FOREST,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.03000 EXTREME_HILLS,SAPLING:0,GRASS,LEAVES:0,0.005 EXTREME_HILLS,SAPLING:1,GRASS,LEAVES:1,0.003 EXTREME_HILLS,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.02000 JUNGLE,SAPLING:0,GRASS,LEAVES:0,0.5 JUNGLE,SAPLING:3,GRASS,LEAVES:3,0.3 JUNGLE,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.02000 JUNGLE,LONG_GRASS:2,GRASS,LONG_GRASS:2,0.01000 PLAINS,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.25000 SUNFLOWER_PLAINS,DOUBLE_PLANT:0,GRASS,DOUBLE_PLANT:0,0.01000 SUNFLOWER_PLAINS,DOUBLE_PLANT:2,GRASS,DOUBLE_PLANT:2,0.01000 SUNFLOWER_PLAINS,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.25000 RIVER,DOUBLE_PLANT:2,GRASS,DOUBLE_PLANT:2,0.00100 RIVER,DOUBLE_PLANT:3,GRASS,DOUBLE_PLANT:3,0.00200 RIVER,LONG_GRASS:1,GRASS,LONG_GRASS:1,0.01000 </syntaxhighlight>