Information BattleArena

Saphirdu17

Secouriste
26 Juillet 2013
60
6
3
24
Salut j'utilise BattleArena pour ces nombreux mini-jeux ArenaSpleef Arena Paintball ect ....
mais j'aimerai mettre de l'argent au vainqueur exemple : je fais du spleef contre qqn je gg je reçois 10 dollars
voilà en espérant que ça soit possible :D
 
Bonjour, désolé pour la réponse en retard, mais j'ai trouvé une solution... J'utilise parcour (l'extension à battlearena) et je vais également utiliser spleef et paintball comme extension...

Code:
configVersion: 2.0
 
## for more help configuring see the wiki
## https://github.com/alkarinv/BattleArena/wiki
## Change this file to customize your match
 
Spleef:
    enabled: true
    prefix: "&b[Spleef]&e"
    type: Spleef
    database: Spleef
    rated: true
    joinType: Queue
    victoryCondition: LastManStanding
    nTeams: 2+
    teamSize: 1
    defaults:
        options: [woolTeams]
    preReqs:
        options: [clearInventory]
    onEnter:
        options: [storeAll]
    onLeave:
        options: [restoreAll]
    onPrestart:
        options: []
    onStart:
        options: [teleportIn, pvpOff]
    onSpawn:
        options: [deEnchant, giveItems, hunger=20, health=20]
        items: # ignored if options doesnt have "giveItems"
        - diamond_spade: 1
        - shear: 1
    onDeath:
        options: [clearInventory]
    onVictory:
        options: [invincible]
    onComplete:
        options: [teleportOut, clearInventory]
    winner:
        options: [health=20, hunger=20, money=100] <<<<<<< Il suffit d'ajouter: money=[lemontantpourlegagnant]
    losers:
        options: []


Si cela vous a aidé, merci de me l'indiquer :) Ce sera utile pour tout le monde...
 
ah oki merci bcp ça occupera mais aussi les payera donc c'est cool je test et je te dit si ça marche