Giter Club home page Giter Club logo

Comments (7)

BrainStone avatar BrainStone commented on June 18, 2024

Just use an absolute path. Or symlinks.

What error did you get when trying to connect to MySQL?

from invsync.

879492767 avatar 879492767 commented on June 18, 2024

It's totaleconomy's config,can use MySQL.
currency {
dollar {
currency-plural=Dollars
currency-singular=Dollar
default=true
prefix-symbol=true
startbalance="100"
symbol="$"
transferable=true
}
}
database {
enable=true
password="5678900"
url="mysql://localhost:3306/minecraft"
user="root"
}

It's invsync's config, I can't use it. Invsync don't create a table in MySQL.
storage {
# The stoage engine that should be used
# Allowed values: h2 mysql
storageEngine="MySQL"

# Settings for the h2 storage engine
h2 {
    # Where the databaseFile will be stored. Can be a relative or absolute path.
    # An absolute path is recommended when using this to synchronize over several servers
    databaseFile="URLs=jdbc:h2://D:\inventoryStorage.db"
}

# Settings for the MySQL storage engine
MySQL {
    # Host of the MySQL-Server
    host="localhost"
    # Port of the MySQL server. Default: 3306
    port=3306
    # The database to store in
    database="minecraft"
    # The user for the database
    user="root"
    # Password for that user
    password="5678900"
    # Prefix for the plugin tables
    tablePrefix="invsync_"
}

}

from invsync.

879492767 avatar 879492767 commented on June 18, 2024

image
And this is my MySQL.

from invsync.

879492767 avatar 879492767 commented on June 18, 2024

[12:11:11] [Server thread/ERROR] [Sponge]: Could not pass FMLInitializationEvent to Plugin{id=invsync, name=Inventory Sync, version=0.6.17, description=This plugin synchronizes the player inventory with a database, url=https://github.com/BrainStone/InvSync, authors=[The_BrainStone], source=D:\服务端测试\1.12.2\mods\InvSync-0.6.17.jar}
java.lang.IllegalArgumentException: Invalid storage Engine!

from invsync.

879492767 avatar 879492767 commented on June 18, 2024

Change MySQL to mysql, It creates a table, but..
[12:17:51] [Server thread/WARN]: Failed to save player data for _callme

from invsync.

879492767 avatar 879492767 commented on June 18, 2024

I succeeded. There were some small problems in config. This is a good plugins.

from invsync.

BrainStone avatar BrainStone commented on June 18, 2024

Glad you got it working!

from invsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.