Besoin d'aide config Jobs

Hackro

Aventurier
23 Mai 2015
28
1
6
25
Bonjour à tous j'ai un gros soucis pour mon serveur RP.

J'ai tout config tout les plugins tout marche super, sauf un seul Jobs.

Il y a de ça quelques années j'avais réussi à config jobs mais là j'ai beau avoir fait quelque chose de propre, le plugin n'apporte pas d'argent quand on on exerce une action avec son métier. J'ai pourtant tout fait, iconomy, vault ... le problème je pense ne viens pas de là mais de ma config de jobs.

C'est pour cela que je vous demande si une âme-charitable pourrais me config le dossier "job.Config" ? Ou m'aider à trouver mon problème ... Si jamais quelqu'un veux bien me le faire, je lui donnerais toute les informations nécessaires au niveau des métiers.

Merci d'avance, Hackro.
 

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,

Pour t'aider ils nous faudrait peux être ton fichier et éventuellement les erreurs que tu pourrais avoir dans tes logs...
Poste ton fichier sur pastebin et donne nous le lien ou met le entre des balises codes ;)


Cordialement,
Detobel36
 

Hackro

Aventurier
23 Mai 2015
28
1
6
25
Salut, hmm dans les logs? Tu vois ça ou dans la console une fois le serveur lancer?
 

Hackro

Aventurier
23 Mai 2015
28
1
6
25
Salut merci pour t'es réponse et ton tuto !

Voici les logs de jobs sur mon serveur :

[18:35:23] [Server thread/INFO]: [Jobs] Enabling Jobs v2.12.0
[18:35:24] [Server thread/WARN]: [Jobs] Job Mineur is using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE.
[18:35:24] [Server thread/WARN]: [Jobs] Automatically changing block to GLOWING_REDSTONE_ORE. Please update your configuration.
[18:35:24] [Server thread/WARN]: [Jobs] In vanilla minecraft, REDSTONE_ORE changes to GLOWING_REDSTONE_ORE when interacted with.
[18:35:24] [Server thread/WARN]: [Jobs] In the future, Jobs using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE may fail to work correctly.
[18:35:24] [Server thread/WARN]: [Jobs] Job Fermier has an invalid Break type property: MELON! Material must be a block!
[18:35:24] [Server thread/WARN]: [Jobs] Job Fermier has an invalid Place type property: SEEDS! Material must be a block!
[18:35:24] [Server thread/WARN]: [Jobs] Job Fermier has an invalid Place type property: MELON_SEEDS! Material must be a block!
[18:35:24] [Server thread/WARN]: [Jobs] Job Fermier has an invalid Place type property: PUMPKIN_SEEDS! Material must be a block!
[18:35:24] [Server thread/WARN]: [Jobs] Job Netherien has an invalid Break type property: NETHER_WART!
[18:35:24] [Server thread/WARN]: [Jobs] Job Netherien has an invalid Kill type property: MagmaCube!
[18:35:24] [Jobs-DatabaseSaveTask/INFO]: [Jobs] Started database save task
[18:35:24] [Jobs-BufferedPaymentThread/INFO]: [Jobs] Started buffered payment thread
[18:35:24] [Server thread/INFO]: [Jobs] Plugin has been enabled succesfully.
 

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,

Tu as plusieurs choses à corriger dans ta configuration. Si tu lis ce qui est mis tu corrigera déjà beaucoup de choses ;)
Job Mineur is using REDSTONE_ORE instead of GLOWING_REDSTONE_ORE.
Change donc REDSTONE_ORE en GLOWING_REDSTONE_ORE comme te le conseil le plugin.

Ensuite:
Job Fermier has an invalid Break type property: MELON! Material must be a block!
Le MELON est considéré comme un item et non un block. Il faut utiliser: MELON_BLOCK

Il y a également des problèmes avec: SEEDS, MELON_SEEDS, PUMPKIN_SEEDS et NETHER_WART
Qui ne sont pas des blocks mais bien des items.
Tu as ici toutes les listes des choses que tu peux utiliser: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
Attention, certains sont des items et non des blocks ;)
(Conseil: utilise le ctrl+f qui permet de faire une recherche. Par exemple fait ctrl+f et ensuite tape PUMPKIN ;) ).

Il y a également le MagmaCube qui n'est pas considéré comme un mob. Il faut surement l'écrire autrement.


Cordialement,
Detobel36
 

Hackro

Aventurier
23 Mai 2015
28
1
6
25
Superbe réponse merci beaucoup je vais corriger ça et je t'en donne des nouvelles ! Encore merci de t'es réponses très claires :)
 

Hackro

Aventurier
23 Mai 2015
28
1
6
25
Je n'y arrive pas par contre avec SEEDS, MELON_SEEDS, PUMPKIN_SEEDS j'ai bien mis ça : Place:
SEEDS:
income: 2.0
experience: 2.0
MELON_SEEDS:
income: 2.0
experience: 2.0
PUMPKIN_SEEDS :
income: 2.0
experience: 2.0

Et je comprends pas pourquoi dans les logs ils l'accepte pas :/