Jobs bûcheron différentes bûches

Dr_Titoune

Bucheron
3 Janvier 2015
33
1
17
Bonjour,

J'aimerais savoir avec log, il n'y a pas moyen de différencier les types de bûche dans le fichier de configuration ?

Merci beaucoup d'avance.
 

Detobel36

Créateur de plugins (PhoenixRebirth)
Support
17 Août 2012
10 531
24
2 247
347
28
Bruxelles - Belgique
www.phoenix-rebirth.fr
Salut,

Lire une documentation est parfois embêtant, mais tellement pratique:
# For break and place, the block name or id is used.
# You can select a sub-type by using a '-' between the id and the bit
# value for the sub-type. e.g LOG-0 = usual log, LOG-2 = birch log
# 17-2 = birch log.
#
# If no sub-type is give, the payout will be for all sub-types.
#
# To get a list of all available block types, check the
# bukkit JavaDocs for a complete list of block types
# http://jd.bukkit.org/apidocs/org/bukkit/Material.html
Source: https://github.com/GamingMesh/Jobs/blob/master/sample-config/jobConfig.yml

Si tu ne comprend pas l'anglais, il y a google traduction...

Pour résumer, si tu veux du bouleau, il suffit de mettre LOG-2.


Cordialement,
Detobel36
 

Dr_Titoune

Bucheron
3 Janvier 2015
33
1
17
Bonjour,

Je vous remercie infiniment.
Par contre, j'aimerais ajouter aussi les feuilles au job bûcheron.
J'ai mis
Leaves
Leaves-1
Leaves-2
Leaves-3
Par contre, je n'ai pas trouvé Acacia et Chêne noir car ce n'est pas Leaves-4 et Leaves-5
Cela serait plutôt AcaciaLeaves et DarkOakLeaves mais ça ne fonctionne pas.

Merci encore.
 

Dr_Titoune

Bucheron
3 Janvier 2015
33
1
17
Bonjour,

Je ne touche aucun $ quand je casse les feuilles. Je ne comprends pas pourquoi.

Merci beaucoup d'avance.