Arcanum Posted March 20, 2011 Share Posted March 20, 2011 Bonjour, J'ai aujourd'hui un problème avec le plugin Iconomy. J'ai mon serveur Exodius parfaitement configurer, ou presque, le systeme Iconomy marche très bien, mais lors d'un reboot, les joueurs retombe à leur money de départ, c'est à dire qu'ils ont 500 Exon à chaque fois que je reboot le serveur, même si il en avait 0 ou 12351 ... Un aide ? Voici le code de Iconomy : ## # iConomy Settings ## System: # The name of your currency Currency: Exon # The initial balance a player logs on with Initial_Balance: 500.0 Logging: # Should we log transactions? Enabled: true Interest: # Should we use this system? Enabled: true # How many seconds for this to happen IntervalSeconds: 60 # Leave this at 0.0 if you wish to use Min/Max! # Otherwise, this will over-ride that. # This is the DIRECT amount, it's not dynamic and will not change. FlatRate: 0.0 # How much minimum money do they get per interval MinimumPerInterval: 1 # How much maximum money do they get per interval MaximumPerInterval: 2 Database: # Can be MySQL, or SQLite Type: SQLite # Should balances be cached and saved when requested (true) # Or do you wish for it to be constantly grabbing the balance # from the database (false) Cache: true # Name of the database Name: minecraft # Table, Flatfile uses this as the file name. Table: iConomy MySQL: # MySQL Login Username Username: root # MySQL Login Password Password: pass # MySQL Connection Hostname (IP) Hostname: localhost # MySQL Connection Port Number Port: 3306 Merci bien. Quote Link to comment Share on other sites More sharing options...
Waoufeur Posted March 21, 2011 Share Posted March 21, 2011 (edited) Je n'ai pas encore de VQS pour minecraft, mais j'ai un serveur privée qui a Iconomy, donc je vais essayer de vous aider ! Si votre serveur a une base de données, vous devez vous connectez à celle-ci et créer une Database que vous nommerez : minecraft ! Cherche la ligne : Type: SQLite Et vous le remplacez par : Type: MySQL Cherche : Password: pass Et mettez : Password: '' J'espère avoir résolu votre problème ;-) ! Edited March 21, 2011 by Waoufeur Quote Link to comment Share on other sites More sharing options...
Arcanum Posted March 21, 2011 Author Share Posted March 21, 2011 Merci de ton aide, seul probleme, je ne sais pas où trouver la base de donnée du serveur. Quote Link to comment Share on other sites More sharing options...
Waoufeur Posted March 21, 2011 Share Posted March 21, 2011 Vu que je n'ai pas de serveur VeryGames pour minecraft pour l'instant je ne peux pas vraiment vous aidez, je viens de tester la fonction SQLite sur mon serveur privé, et il marche correctement ! J'avais vu une vidéo tutoriel par la personne qui fournis le plugin, est il ne mettait pas cache : true mais false, donc laissez la fonction SQLite et mettez cache : false ;-) ! Quote Link to comment Share on other sites More sharing options...
Arcanum Posted March 21, 2011 Author Share Posted March 21, 2011 Malheuresement sa ne marche pas. voici le code actuel :## # iConomy Settings ## System: # The name of your currency Currency: Exon # The initial balance a player logs on with Initial_Balance: 500.0 Logging: # Should we log transactions? Enabled: true Interest: # Should we use this system? Enabled: true # How many seconds for this to happen IntervalSeconds: 120 # Leave this at 0.0 if you wish to use Min/Max! # Otherwise, this will over-ride that. # This is the DIRECT amount, it's not dynamic and will not change. FlatRate: 0.0 # How much minimum money do they get per interval MinimumPerInterval: 1 # How much maximum money do they get per interval MaximumPerInterval: 2 Database: # Can be MySQL, or SQLite Type: SQLite # Should balances be cached and saved when requested (true) # Or do you wish for it to be constantly grabbing the balance # from the database (false) Cache: false # Name of the database Name: minecraft # Table, Flatfile uses this as the file name. Table: iConomy MySQL: # MySQL Login Username Username: root # MySQL Login Password Password: pass # MySQL Connection Hostname (IP) Hostname: localhost # MySQL Connection Port Number Port: 3306 Quote Link to comment Share on other sites More sharing options...
Arcanum Posted March 22, 2011 Author Share Posted March 22, 2011 Merci de ton aide, mais cela ne marche toujours pas, voir encore moins. Quand je reboot le serveur, nous sommes à 0 Exon (ma monnaie) alors que nous sommes censez en avoir 500 par défault, voici le code : ## # iConomy Settings ## System: # The name of your currency Currency: Exon # The initial balance a player logs on with Initial_Balance: 500.0 Logging: # Should we log transactions? Enabled: true Interest: # Should we use this system? Enabled: true # How many seconds for this to happen IntervalSeconds: 120 # Leave this at 0.0 if you wish to use Min/Max! # Otherwise, this will over-ride that. # This is the DIRECT amount, it's not dynamic and will not change. FlatRate: 0.0 # How much minimum money do they get per interval MinimumPerInterval: 1 # How much maximum money do they get per interval MaximumPerInterval: 2 Database: # Can be MySQL, or SQLite Type: SQLite # Should balances be cached and saved when requested (true) # Or do you wish for it to be constantly grabbing the balance # from the database (false) Cache: false # Name of the database Name: minecraft # Table, Flatfile uses this as the file name. Table: iConomy MySQL: # MySQL Login Username Username: root # MySQL Login Password Password: pass # MySQL Connection Hostname (IP) Hostname: localhost # MySQL Connection Port Number Port: 3306 Quote Link to comment Share on other sites More sharing options...
Omicron93 Posted March 22, 2011 Share Posted March 22, 2011 Merci de ton aide, seul probleme, je ne sais pas où trouver la base de donnée du serveur. Salut, Tu parles du FTP ? Si oui : http://verywiki.net/fr/FileZilla Bonne journée. Quote Link to comment Share on other sites More sharing options...
Arcanum Posted March 22, 2011 Author Share Posted March 22, 2011 Non, le FTP j'y est accès via un logiciel, le probleme c'est qu'apparament le plugin iconomy ne sauvegarde pas la money au fur et à mesure, du coup l'argent reviens par défault à chaque reboot.. Quote Link to comment Share on other sites More sharing options...
Waoufeur Posted March 22, 2011 Share Posted March 22, 2011 (edited) Sorry j'ai fais un double post, la réponse est en bas ! Edited March 23, 2011 by Waoufeur Quote Link to comment Share on other sites More sharing options...
Waoufeur Posted March 22, 2011 Share Posted March 22, 2011 (edited) Salut, Tu parles du FTP ? Si oui : http://verywiki.net/fr/FileZilla Bonne journée. Ne confondez surtout pas entre une Base de Donnée et un FTP !! Deux chose totalement différente, l'un sert à sauvegarder des donnée telle que des noms de comptes + mots de passes, et j'en passe ! La BDD est souvent utilisé pour les jeux du type Ogame, Habbo, etc... Mais Iconomy a été programmé pour sauvegarder les compte par deux moyen, le MySQL, donc enregistrer directement les données dans une BDD, que moi même j'utilise pour la simple et bonne raison, c'est que pour faire des modification sur un compte(un compte de Iconomy) je peut facilement modifier les valeurs de l'argent sans passer par le jeu, donc sur un pc qui n'a pas minecraft et un FTP telle que FileZilla! Et il peut aussi sauvegarder en SQlite, il créera un fichier de type SQLite (je ne sais pas avec quoi on peut l'ouvrir car avec notepad ++, ce la ne marche pas), normalement il le sauvegarde dans 'plugins/iconomy' ! Et avant les dernières version, il y avait le FaltFile (je ne suis pas sur que ça s'écrit comme ça) un peu du même type que SQLite (Je ne connais pas vraiment la différence profonde a pars que avec un fichier FlatFile je pouvais l'ouvrir avec notepad :-) ) ---------- Post added at 20h37 ---------- Previous post was at 20h34 ---------- Non, le FTP j'y est accès via un logiciel, le probleme c'est qu'apparament le plugin iconomy ne sauvegarde pas la money au fur et à mesure, du coup l'argent reviens par défault à chaque reboot.. Je vous propose deux texte à essayer, s'est mes deux dernière cartes pour réussir à vous aider ! 1 : Initial_Balance: 500.0 Logging: # Should we log transactions? Enabled: true Interest: # Should we use this system? Enabled: true # How many seconds for this to happen IntervalSeconds: 60 # Leave this at 0.0 if you wish to use Min/Max! # Otherwise, this will over-ride that. # This is the DIRECT amount, it's not dynamic and will not change. FlatRate: 0.0 # How much minimum money do they get per interval MinimumPerInterval: 1 # How much maximum money do they get per interval MaximumPerInterval: 2 Database: # Can be MySQL, or SQLite Type: SQLite # Should balances be cached and saved when requested (true) # Or do you wish for it to be constantly grabbing the balance # from the database (false) Cache: true # Name of the database Name: minecraft # Table, Flatfile uses this as the file name. Table: iConomy MySQL: # MySQL Login Username Username: root # MySQL Login Password Password: # MySQL Connection Hostname (IP) Hostname: localhost # MySQL Connection Port Number Port: 3306Ou 2 : Initial_Balance: 500.0 Logging: # Should we log transactions? Enabled: true Interest: # Should we use this system? Enabled: true # How many seconds for this to happen IntervalSeconds: 60 # Leave this at 0.0 if you wish to use Min/Max! # Otherwise, this will over-ride that. # This is the DIRECT amount, it's not dynamic and will not change. FlatRate: 0.0 # How much minimum money do they get per interval MinimumPerInterval: 1 # How much maximum money do they get per interval MaximumPerInterval: 2 Database: # Can be MySQL, or SQLite Type: SQLite # Should balances be cached and saved when requested (true) # Or do you wish for it to be constantly grabbing the balance # from the database (false) Cache: true # Name of the database Name: minecraft # Table, Flatfile uses this as the file name. Table: iConomy MySQL: # MySQL Login Username Username: root # MySQL Login Password Password: '' # MySQL Connection Hostname (IP) Hostname: localhost # MySQL Connection Port Number Port: 3306Si cela ne marche pas, ça pourrait venir de la version de CraftBukkit ! Edited March 22, 2011 by Waoufeur Quote Link to comment Share on other sites More sharing options...
lith Posted March 23, 2011 Share Posted March 23, 2011 Vérifie si tu as EssentialsEco d'installer dans tes plugins. Si oui, supprime le il rentre en conflit directe avec iConomy. Quote Link to comment Share on other sites More sharing options...
Millenion Posted March 24, 2011 Share Posted March 24, 2011 J'ai le même problème, Je n'ai pas Essentials du tout et j'ai essayer les deux solutions déjà proposé et toujours rien ... Voila ce que j'ai pour moi ... ## # iConomy Settings ## System: # The name of your currency Currency: $ # The initial balance a player logs on with Initial_Balance: 30 Logging: # Should we log transactions? Enabled: true Interest: # Should we use this system? Enabled: true # How many seconds for this to happen IntervalSeconds: 180 # Leave this at 0.0 if you wish to use Min/Max! # Otherwise, this will over-ride that. # This is the DIRECT amount, it's not dynamic and will not change. FlatRate: 0.0 # How much minimum money do they get per interval MinimumPerInterval: 1 # How much maximum money do they get per interval MaximumPerInterval: 2 Database: # Can be MySQL, or SQLite Type: SQLite # Should balances be cached and saved when requested (true) # Or do you wish for it to be constantly grabbing the balance # from the database (false) Cache: true # Name of the database Name: minecraft # Table, Flatfile uses this as the file name. Table: iConomy MySQL: # MySQL Login Username Username: root # MySQL Login Password Password: # MySQL Connection Hostname (IP) Hostname: localhost # MySQL Connection Port Number Port: 3306 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.