InventorySQL
![]() ![]() |
|
|---|
I n v e n t o r y S Q L
I n v e n t o r y S Q L
Player inventory saved into a Database
Features
Copy users' inventory in a configurable database, allowing it to be displayed on a website and use it for Server-to-Server Inventories
InventorySQL is designed to be as customizable as possible and Server Owners and Developers can choose how they'd like to save their data. Future versions will feature an automatic conversion tool.
Disclaimer
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true or turning enable-metrics to false in InventorySQLs Configuration.
Autoupdater
This Plugin uses Updater. It will automatically search for Updates. If you'd like to disable this feature you can turn it off in the Configuration by setting auto-update to false.
For Serverowners
- Addons
- Installation
- Configuration
- Localisation
- Frequently Asked Questions (FAQ)
- For Developers (API)
- Special Thanks
Permissions
InventorySQL.*: description: legacy-styled Permission for anything children: InventorySQL.reload: true InventorySQL.save.*: true InventorySQL.reload: description: Allows you to reload Language or Configuration default: op InventorySQL.save.*: description: legacy-styled Permission for anything related to saving children: InventorySQL.save.other: true InventorySQL.save.self: true InventorySQL.save.other: description: Allows you to save other players default: op InventorySQL.save.self: description: Allows you to save yourself default: true
InventorySQL.switch.self -> switching for yourself (No default yet) InventorySQL.switch.other -> switching for others (No default yet)
Commands
<Optional> [Required]
- /invSQL reload config : reloads config
- /invSQL reload language : reloads language file
- /invSQL save <player> : saves yourself or the given player
- /switch [server] <player> : moves yourself or the given player to the given Server
Links
License
Version 3.0 is now under the zlib/libpng License, Versions before 3.0 are still licensed under Apache License 2.0
Contact
You can find me in IRC: #invsql on irc.esper.net Please do not ask me for any Messenger just because you would like to be in my list.
If you like InventorySQL, please consider donating to the project via paypal, using the link on the top-right of the BukkitDev page :)



-
View User Profile
-
Send Message
Posted Jul 17, 2013Great plugin - thank you!
The behavior I am seeing is when switching servers the inventory isn't synced properly. I don't always see the saved messages. I think the problem could be a timing issue with where the mysql db is, but I should still see the save messages, right?
I am using the -quit and -changeworld events using 3.0b.
Thoughts?
Further follow-up: I turned up debugging and what is happening is before the item is save I arrive at the new server/world and the previous inventory is refreshed. So, it is definitely a timing issue. It is almost like you have to prevent disconnect or connect from happening until the db transaction is finished.
-
View User Profile
-
Send Message
Posted Jul 17, 2013@manfie
You are my hero. Realy, I was planning to set up a web-item-shop since december but it was impossible for me to set it up without a similar plugin like this one. Now I can finally get the designed css functionable, thanks to you.
Great work, I'm looking forward using this plugin very intensive.
Ichaelus
-
View User Profile
-
Send Message
Posted Jul 17, 2013Only thing i changed was my database. Have fun fixing your code.
-
View User Profile
-
Send Message
Posted Jul 16, 2013Any Feedback is appreciated. I already settled down some tests, but i think this is it for now.
@Nyqi
Yeah. My Reallife disturbed me a bit and i first tried to just update the Source, but the Way i choosed was to recreate anything for a much better API.
-
View User Profile
-
Send Message
Posted Jul 16, 2013Hurray!
-
View User Profile
-
Send Message
Posted Jul 15, 2013Thank u very much for update! :)
-
View User Profile
-
Send Message
Posted Jul 11, 2013Nearly done most work of Version 3. This will feature an advanced API, but i removed all Commands for now. Actually Version 3 is a total rewrite of Version 2 and will not feature any original code, nor will it remain beeing released under Apache2 License and i gonna need to ask Areku for Manager acess.
-
View User Profile
-
Send Message
Posted Jul 3, 2013@manfie
can't wait :D
-
View User Profile
-
Send Message
Posted Jun 15, 2013Good Luck Manf ;)
-
View User Profile
-
Send Message
Posted Jun 10, 2013Gonna publish an Updated Version soon :)
-
View User Profile
-
Send Message
Posted Jun 3, 2013Out of date
-
View User Profile
-
Send Message
Posted May 21, 2013Has anyone taken over this plugin yet?
-
View User Profile
-
Send Message
Posted May 4, 2013Someone could resume this plugin because it's very nice and pratical. Thank's
-
View User Profile
-
Send Message
Posted Apr 24, 2013Hello,
I see that the main dev will stop his job on this plugin. Is there something planed for minecraft 1.5 by another dev ?
And thanks for all the job you have done.
Sich
-
View User Profile
-
Send Message
Posted Apr 4, 201313:56:23 CONSOLE: [SEVERE] Exception in thread "Thread-21"
13:56:23 CONSOLE: [SEVERE] java.util.ConcurrentModificationException
13:56:23 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
13:56:23 CONSOLE: [SEVERE] at java.util.ArrayList$Itr.next(ArrayList.java:791)
13:56:23 CONSOLE: [SEVERE] at fr.areku.InventorySQL.database.ConnectionManager.reapConnections(ConnectionManager.java:130)
13:56:23 CONSOLE: [SEVERE] at fr.areku.InventorySQL.database.ConnectionManager.access$0(ConnectionManager.java:122)
13:56:23 CONSOLE: [SEVERE] at fr.areku.InventorySQL.database.ConnectionManager$ConnectionReaper.run(ConnectionManager.java:159)
-
View User Profile
-
Send Message
Posted Mar 30, 2013@Partiz
I'd LIKE to try and get it going via Jenkins as I really don't like compiling via export. I'll see what I can do and get back to y'all soon. Will try and fix the SQL issues while I'm at it.
Disclaimer: The code I committed to my copy may not necessarily be feature-complete. When I fix stuff in-house I usually end up removing a load of unnecessary stuff if it gets in my way (external libs...).
-
View User Profile
-
Send Message
Posted Mar 29, 2013@Cueball61
I see you forked and fixed some bugs of InventorySQL at github. can you commit compiled .jar there?
-
View User Profile
-
Send Message
Posted Mar 19, 2013@cancabron
It's due to how it's stored. It picks it up as not having an update when you login so doesn't sync.
A _lot_ of this plugin needs a big rewrite, including the lack of parameterised queries. Seriously Areku, you need to learn parameterised queries if you want to develop SQL-based plugins. Right now someone could potentially cause an SQL injection via this plugin.
I'm gonna do some modifications, I'll post up the code when I'm done for people to poke around with. Need to hunt down the other resources for it first though.
-
View User Profile
-
Send Message
Posted Mar 15, 2013When you dead and your inventory is empty, if you desconect and enters in another server (mirror mode) you will have the inventory before your dead!!! Please fix this!
-
View User Profile
-
Send Message
Posted Mar 13, 2013Conflict!
http://ci.mcmmo.info/job/mcMMO/1800/ and