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 Aug 28, 2012@konradmm
Only AuthDB and xAuth is supported, I have to add code for AuthMe. soon ;) :p
-
View User Profile
-
Send Message
Posted Aug 27, 2012found a glitch ;( using it with authme (but it would be same with every auth plugins) and when someone is logged out, and via sql ill add him an item... When this guy logs in he got it added in quickslot inventory (before logging in), and just after loggin in, this item disappears.. ;( Hope u got any solution for that ;D
-
View User Profile
-
Send Message
Posted Aug 27, 2012@Dinastya
I haven't tested it on very large server, but with 20 players there's no performance losses.
The interval is configurable, by default it's 600 sec, but you can add events, like when player enter/leave bed, login, logout,...
The plugin looks stable, and I have enough time to fix bugs quickly :)
if the server crash and erase inventories, you can roll back with mysql
-
View User Profile
-
Send Message
Posted Aug 27, 2012@ThisIsAreku
Could you answer my questions 1 page back?
-
View User Profile
-
Send Message
Posted Aug 27, 2012Now it works properly. Thank you very much :>
-
View User Profile
-
Send Message
Posted Aug 27, 2012@Poisonedcraft
so try to delete the tables from your server, and restart
-
View User Profile
-
Send Message
Posted Aug 27, 2012I've updated it, but it still gives me this errors.
-
View User Profile
-
Send Message
Posted Aug 27, 2012@Poisonedcraft @bladerik2
update to 2.1.4 with the link "Latest jar", I've fixed this
-
View User Profile
-
Send Message
Posted Aug 27, 2012Hi, I'm using bukkit 1.3.2 R0.2 and i'm getting errors like this: http://pastebin.com/e0Vb4x5r
Could you help me?
-
View User Profile
-
Send Message
Posted Aug 27, 2012@bladerik2
The inventory is updated on the table if there is a modification. if not, the table still unchanged. I am uploading a v2.1.4, which fix these bugs ;)
-
View User Profile
-
Send Message
Posted Aug 27, 2012@Blackybecks
And if you want to get the latest inventory for one player with backup enabled, here is a sql :
-
View User Profile
-
Send Message
Posted Aug 27, 2012@Blackybecks
You can disable backup in the config ;)
-
View User Profile
-
Send Message
Posted Aug 27, 2012hello, in 2.1.3 is pendings fixed, but inventory is generated just one time and not anymore (i try /ichk, /invsql reload, /invsql check all and events and nothings work for me) and if i try to use /ichk when if in table some item with multiple enchant it gives to me that item 3x times with separated enchant and not one item with 3 enchants :) i don't wanna be bothersome, u will hate me now :) and here is some new exception - and thank you very much for really quick fixes :)
-
View User Profile
-
Send Message
Posted Aug 26, 2012So now I have a Problem... I want to show the Items you have ingame on my website! It works, but if the inventory change, I only want to show the items you have in this moment in your inventory, but also the ols Items will be shown! Then I have tryed with "WHERE date = xyz" but the only the Items will be shown, you have changed since last syncronisation?
How can I show only the Items you have in this moment in your Inventory but all?
Why the Old Items are saved? Can you drop the old Items ?
-
View User Profile
-
Send Message
Posted Aug 26, 2012I'm fucked :) Okay, then I rewrite it... But I want to say thanks for upload v2.1.3 And want to say, that you be a real nice developer... Thumbs up ;)
Oh my god, rewrite 2000 rows -.- Okay, my holiday are now ending :P
-
View User Profile
-
Send Message
Posted Aug 26, 2012@Dinastya
I use this plugin because my players was having inventories wiped, now its normal
-
View User Profile
-
Send Message
Posted Aug 26, 2012If we add this plugin and the server would crash then inventories wont roll back?
How often are inventories saved? and how stable is it?
And will it affect server performance?
-
View User Profile
-
Send Message
Posted Aug 26, 2012@Blackybecks
i'm sorry you will have to rewrite all.. But now, it's easier, with a mysql like:
-
View User Profile
-
Send Message
Posted Aug 26, 2012Now the inventory saveing is no more in this format: [x[y:z]xcount] ? Only with once row a Item?
Because then i must rewrite my complete Website -.- or is there a other way?
-
View User Profile
-
Send Message
Posted Aug 26, 2012Big Thanks too you :)