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 29, 2012@ThisIsAreku
http://pastebin.com/BLx3p1kU - Another bug with EntityDeathEvent, i will sleep now, thanks for everything!
-
View User Profile
-
Send Message
Posted Aug 29, 2012@ThisIsAreku
Oh! That explains everything, thanks :D
-
View User Profile
-
Send Message
Posted Aug 29, 2012@rfsantos1996
it's because the required version of Authenticator for InventorySQL 2.1.9 is v 1.3. You need to update :)
EDIT: use this link, Authenticator 1.3 is still under validation by bukkitdev http://j.mp/authAPI
-
View User Profile
-
Send Message
Posted Aug 29, 2012@ThisIsAreku
http://pastebin.com/9HBfBetP I got an error here - read the notes on the file, thanks for the support (; @EDIT: Ignore the notes, i saw that you already used "softdepend:", must be another error :/
-
View User Profile
-
Send Message
Posted Aug 29, 2012@bladerik2
I'm adding a PlayerDeath event. releasing 2.1.9 soon
-
View User Profile
-
Send Message
Posted Aug 29, 2012@ThisIsAreku
yes, and can be stored backup of inventory when player die? or this be done with respawn in config?
-
View User Profile
-
Send Message
Posted Aug 29, 2012@bladerik2
By 'event' you mean PlayerBedEnter, PlayerLogin, etc .. ?
-
View User Profile
-
Send Message
Posted Aug 29, 2012@HunterWolf105
No, this plugin can't mirror two servers, but since I haven't found any plugin that do this, I'll try to implement this.
-
View User Profile
-
Send Message
Posted Aug 29, 2012@siOnzee
please use pastebin.com for looong logs ;) And your error is caused by a corrupted config.yml file. Try to delete it, and restart the server
-
View User Profile
-
Send Message
Posted Aug 28, 2012-
View User Profile
-
Send Message
Posted Aug 28, 2012Hello :)
I'm unsure if this plugin can do it, but if I install this plugin on 2 servers, and set them to read/write from the same database/table, can it sync the inventories between 2 servers? Basically, I'm hosting a zombie apocalypse server, and I have a PvP-enabled and a PvP-disabled server. I'm trying to get it to sync the inventories between each server. Can this plugin do it?
-
View User Profile
-
Send Message
Posted Aug 28, 2012i have new feature idea: it will be usefull for me to log with backup of inventory the event :) sometimes happends, that some player die because of bug and backup of inventory will be with this feature finded simplest as possible :)
-
View User Profile
-
Send Message
Posted Aug 28, 2012@ThisIsAreku
thx, this is the best choice to manage / backup inventories! :) i will use the sql query, but be aware of multiple enchantment - the item with multiple enchant will be showed multiple times on your site, who don't need to show enchants, use group by statement or remove the parts of query with enchantmens :) otherwise php will help with output easily :)
-
View User Profile
-
Send Message
Posted Aug 28, 2012@bladerik2
v 2.1.7 is ready, with a backups table ;) (use the link, the approval process of bukkitdev is slow..)
-
View User Profile
-
Send Message
Posted Aug 28, 2012How about a little preview on the web interface?
Looks like a really great plugin, keep it up
-
View User Profile
-
Send Message
Posted Aug 28, 2012@bladerik2
Yeah, I added a table *_backup. in version 2.1.7 (wip) you can retrieve the inventory with this : http://pastebin.com/1yJFrL1i
-
View User Profile
-
Send Message
Posted Aug 28, 2012@AuraRob
Cool (bootstrap is great, isn't it ? :D)
-
View User Profile
-
Send Message
Posted Aug 28, 2012@ThisIsAreku
hello, thanks for great work :) i suggest to write backups to another table (if allowed) or create new column (for example is_backup or something like that with value 0 or 1) because of this example: i take 2 x 64 of signs, then i type /ichk... after that i take 64 of wool and i type /ichk again... now i'm used this mysql command and i get just the wool... in suggested case will this issue dissapear (backup table or new collumn), i think it will simplify the query to get inventory too - query when backups are in another table and query with column is_backup. or i'm wrong? thanks for all :)
-
View User Profile
-
Send Message
Posted Aug 28, 2012Working on a web interface for this now, including all the code (well, using bootstrap so lets say all back end code)
-
View User Profile
-
Send Message
Posted Aug 28, 2012@konradmm
v 2.1.5 support xAuth, AuthMe, CrazyLogin and AuthDB