Problème Iconomy gain d'argent

sysko97

Bucheron
16 Novembre 2011
220
7
13
27
Bonjour à tous,

Voila mon problème, j'aimerai qu'un joueur qui reste connecté pendant 1heure sur le serveur gagne 100€ (ig :)) mais je ne sais pas comment configurer ceci, et j'aimerai que ce soit seulement les joueurs en ligne qui gagne la somme, pas les autres hors ligne.

Voici ma configuration Economy:

Code:
System:
  Permissions:
    Use:
      # Should a user have the 'iConomy.holdings' to use /money
      # By default this is false, so that people stop complaining that
      # iConomy doesn't work. Yes, people actually report that.
      # If you are one of those people, leave this false.
      Holdings: false
 
  Default:
    Currency:
      # Major is the first segment [Major].Minor
 
      # Major ([Major].Minor) 1.00 Dollar (With Seperate 1 Dollar)
      Major: [ 'Euro', 'Euros' ]
 
      # Minor (Major.[Minor]) 0.23 Coins  (With Seperate 0 Dollars, 23 Coins)
      Minor: [ 'Cent', 'Cents' ]
 
    Account:
      # Default account balance when created
      Holdings: 30.0
 
  # Controls how money is formatted through methods
  Formatting:
    # Minor allows you to use the Minor amounts for amounts <1
    # Example (true) 0.23 Coins and 1.23 Dollars (false) 0.23 Dollars and 1.23 Dollars
    Minor: false
 
    # Seperate allows your money to be shown in an alternative way,
    # instead of 1.32 it will show as 1 Dollar 23 Coins
    # !!! NOTICE: This only works if Minor is set to true !!!
    Seperate: false                              # Example (true) 1 Dollar, 23 Coins (false) 1.23 Dollars (Only if Minor is true)
 
    # Single shows your money in another alternative way.
    # Instead of 1.23 Dollars you will see: 1 Dollar.
    # If your money is 0.23 you will see 0 Dollars if Minor is false, 23 Coins if Minor is true.
    # !!! Notice: This overrides seperate !!!
    Single: false
 
  # Logs all monetary transactions passed through iConomy
  Logging:
    Enabled: false
 
  # Controls amount of money gained at a set interval.
  Interest:
    Enabled: true
 
    # Only give interest to players who are currently online?
    Online: true
 
    Announce:
      # Send a message when the player gains interest?
      Enabled: true
 
    Interval:
      #  Interval is done in seconds, here is a easy reference table for commonly set intervals:
      #  1 minute = 60 seconds
      #  1 hour = 1 minute * 60 = 3600 seconds
      #  1 day = 1 hour * 24 = 86400 seconds
      #  1 week = 1 day * 7 = 604800 seconds
      Seconds: 60
 
    Amount:
      # The balance to be met where we stop giving interest.
      # 0.0 for no limit
      Cutoff: 0.0
 
      # Percentage of holdings to give / take (Negative to take) (Overrides Min/Max)
      Percent: 0.0
 
      # This is range based, to set a "flat" or "constant" rate, set each (Maximum and Minimum) to the same number.
      # If the two numbers are different, it will be a random amount in-between the two.
      Maximum: 20
      Minimum: 20

Merci pour votre aide :).
 

ChBrams

Aventurier
22 Janvier 2012
9
0
1
32
Lille
Salut !

Si on se réfère a ton fichier de config que tu as collé :
# Only give interest to players who are currently online?
Online: true


Cette ligne nous indique déjà que seul tes joueurs connecté sont censé recevoir des intérêts
 

sysko97

Bucheron
16 Novembre 2011
220
7
13
27
Eh bien justement, je veux que quand un joueur est resté 1heure sur le serveur, il gagne par exemple 100euros.

merci de ta réponse :)