From d2152edf090bc07d78ff938e8367512834468cbe Mon Sep 17 00:00:00 2001 From: MysaaJava Date: Fri, 12 Jan 2024 16:24:59 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20exemple=20de=20fichier=20de=20co?= =?UTF-8?q?nfiguration=20qui=20devrait=20=C3=AAtre=20parsable=20(dans=20l'?= =?UTF-8?q?id=C3=A9al)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hgConfig.yml | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 hgConfig.yml diff --git a/hgConfig.yml b/hgConfig.yml new file mode 100644 index 0000000..dba79da --- /dev/null +++ b/hgConfig.yml @@ -0,0 +1,65 @@ +-scenario: + -hornRefill: + -loop: 10m3s + -condition: alivePlayers>2 + -effect: + -action: "refill:hornChest" + -spawn: + -P: 0.942 + -warnHappened: "La corne a été remplie à nouveau" + -warnFailed: "Malheureusement, vous êtes livrés à vous même" + -littleRefill: + -after: chestOpened + -zone: 3 + -delay: 7m42s + -effect: + -action: refill + -target: "@cause" + -condition: "@cause.noPlayerAround(30)" + -deathmatch: + -condition: aliveTeam<4 && time>1230 + -delay: 3m + -warnCondition: "Le deathmatch commence dans 3 minutes !" + -warnCondition: "(si vous ne mourrez pas d'ici là)" + -delay: 2s + -effect: + -action: "deathmatch" +-chests: + -lvl3Chest: + -groups: "arme" + -spawn: + -P: 0.3 + -count: 2 + -item: + -id: "minecraft:diamond_sword" + -spawn: + -weight: 3 + -group: "arme" + -name: + - "Découpe-tête" + - "Tranche-membre" + - "Couteau à pain": + -weigth: 0.3 + -enchantement: + -sharpness: + -spawn: + -P: 0.9 + -level: + -spawn: + -exp: 0.1 + -knockback: + -spawn: + -group: "plus" + -weigth: 0.9 + -level: + -spawn: + -2: 0.3 + -1: 0.7 + -sweeping-edge: + -spawn: + -group: "plus" + -weigth: 2 + -level: + -spawn: + -uni: [1;2] +