money_system_euro: type: economy debug: false priority: normal name single: Euro name plural: Euros digits: 2 format: <[amount]>€ balance: has: ]> withdraw: - flag money:-:<[amount]> deposit: - flag money:+:<[amount]> money_command: type: command debug: false name: money description: Money command permission: command.money usage: /money aliases: - pay script: - choose : - case pay: - if : - narrate "<&c>Nutze /pay [Name] [amount]" - stop - if == 1: - narrate "<&c>Nutze /pay [Name] [amount]" - stop - if > 1: - define inputName - define target ].if_null[null]> - if <[target]> == null: - narrate "<&c>Spieler mit den Namen <&e><[inputName]><&c> nicht gefunden!" - stop - if <[target]> == : - narrate "<&c>Du kannst dir nichts selbst senden!" - stop - define amount - if !<[amount].is_decimal>: - narrate "<&c>Keine gültige Geld angabe!" - stop - if !<[amount]> > 0: - narrate "<&c>Keine gültige Geld angabe!" - stop - if !]>: - narrate "<&c>Du hast nicht genug Geld!" - stop - money take players: quantity:<[amount].round_to[2]> - money give players:<[target]> quantity:<[amount].round_to[2]> - narrate "<&a>Du hast <[target].name> erfolgreich <[amount]>€ gesendet!" - narrate "<&a>Du hast <[amount]>€ von erhalten!" targets:<[target]>