C'est pire grosse erreur dans la console:Okay my bad, le pourcent sert juste dans l'aide de la commande.
Essaye avec :
Code:points pay {arg:1} {arg:2}
```yaml
Écrit trois accents graves suivis de « yaml », retour à la ligne, copie-colle le contenu du fichier, puis réécrit trois accents graves.
```
Peux-tu renvoyer ton fichier de configuration entre triples accents graves ?
Code:```yaml Écrit trois accents graves suivis de « yaml », retour à la ligne, copie-colle le contenu du fichier, puis réécrit trois accents graves. ```
aliases: [dracoins]
patterns:
- pattern: pay [player-online]%player [integer]%amount
description: todo
actions:
- type: EXECUTE_COMMANDS
commands:
- 'points pay {player} {amount}'
- 'say {player} {amount}'
- 'points pay {arg:1} {args:2}'
- 'points pay {player} {arg:1}'
as_player: true
on_toggle_on: false
target: '{player}'
J'ai fais comme tu m'as dit sa change rienarg
doit être au singulier, et enlève les lignestarget
eton_toggle_on
.
aliases: [dracoins]
patterns:
- pattern: pay [player-online]%player [integer]%amount
description: todo
actions:
- type: EXECUTE_COMMANDS
commands:
- 'points pay {player} {amount}'
- 'say {player} {amount}'
- 'points pay {arg:1} {args:2}'
- 'points pay {player} {arg:1}'
as_player: true
on_toggle_on: false
aliases: [dracoins]
patterns:
- pattern: pay [player-online]%player [integer]%amount
description: todo
actions:
- type: EXECUTE_COMMANDS
commands:
- 'points pay {player} {amount}'
- 'say {player} {amount}'
- 'points pay {arg:1} {args:2}'
- 'points pay {player} {arg:1}'
- 'points pay {arg:1} {arg:2}'
on_toggle_on: false
as_player: true
Je pense avoir trouvé le problèmes c'est bien ce plugin à des logs implémenté:{args:2}
est au pluriel, et la ligneon_toggle_on
est toujours présente.
Sinon envoie les logs du serveur (démarrage inclus).
[30/04 17:59:14] [info] Disabled integration for PlaceholderAPI
[30/04 18:00:48] [info] Disabled integration for PlaceholderAPI
[30/04 18:04:31] [info] Disabled integration for PlaceholderAPI
[30/04 19:19:26] [info] Disabled integration for PlaceholderAPI
[30/04 19:42:55] [info] Disabled integration for PlaceholderAPI
[30/04 21:47:31] [info] Disabled integration for PlaceholderAPI
[01/05 03:43:37] [info] Disabled integration for PlaceholderAPI
[01/05 08:02:20] [info] Disabled integration for PlaceholderAPI
[01/05 08:17:31] [info] Disabled integration for PlaceholderAPI
[01/05 23:54:47] [info] Disabled integration for PlaceholderAPI
[02/05 09:26:32] [info] Disabled integration for PlaceholderAPI
[02/05 09:59:32] [info] Disabled integration for PlaceholderAPI
[02/05 10:38:57] [info] Disabled integration for PlaceholderAPI
[02/05 10:46:59] [info] Disabled integration for PlaceholderAPI
[02/05 10:51:33] [info] Disabled integration for PlaceholderAPI
[02/05 10:53:53] [info] Disabled integration for PlaceholderAPI
[02/05 11:04:15] [info] Disabled integration for PlaceholderAPI
[02/05 11:07:01] [info] Disabled integration for PlaceholderAPI
[02/05 13:58:57] [ERROR] Couldn't find player '{amount}' to execute action a of command p
[03/05 04:07:57] [info] Disabled integration for PlaceholderAPI
[03/05 20:57:44] [info] Disabled integration for PlaceholderAPI
[03/05 21:01:14] [info] Disabled integration for PlaceholderAPI
[03/05 22:19:31] [info] Disabled integration for PlaceholderAPI