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 Mar 12, 2014how do i disable the messages/language file i tried ''; and i tired ''. neither of them worked is there any thing else i can do?
-
View User Profile
-
Send Message
Posted Mar 10, 2014@Mike2033
Oh, i've missread that. Nevermind, Language will be disabled by setting the corresponding node to '';
-
View User Profile
-
Send Message
Posted Mar 9, 2014@TDB_South_Paw
Only one way right now - set an empty message
inventory: saving: ''
@manfie
He wants to hide the messages
-
View User Profile
-
Send Message
Posted Mar 8, 2014@TDB_South_Paw
What is the sense of that?
-
View User Profile
-
Send Message
Posted Mar 7, 2014Heyo,
Any way to disable the inventory saved messages but keep it saving every 60 seconds?
-
View User Profile
-
Send Message
Posted Mar 4, 2014enchanted books and enchanted tools losses there enchantments when saving and loading again please fix
-
View User Profile
-
Send Message
Posted Mar 2, 2014Can anyone give me php example? I just dont get it cuz in database are strange things and i dont know how to read them
-
View User Profile
-
Send Message
Posted Mar 2, 2014@Mike2033
I'm not sure yet. Probably this will have a own serialisation System, which can be customizable.
-
View User Profile
-
Send Message
Posted Mar 1, 2014@KrustyLv
It's easy, just read out the array. Perfectly readable
@manfie
How are you going to do it with the pending's then, with material name too or ID?
-
View User Profile
-
Send Message
Posted Mar 1, 2014PHP example?
-
View User Profile
-
Send Message
Posted Feb 25, 2014@obscurehero
I'm trying to create a Wrapper API, but that'll need time.
@Mike2033
As i already told you Bukkit recommends to save Material. I do not know how MCPC+ handles any of this.
-
View User Profile
-
Send Message
Posted Feb 21, 2014manfie, what about an option which allows you to save the Item ID instead of the name. Would make it easier for me to set a custom name especially while using mods + making it choose able to use the ID or Name should be perfect, right? :P
{
[0]=>
array(1) {
["type"]=>
int(1) "1" - 1 Stone @ Slot 0
}
-
View User Profile
-
Send Message
Posted Feb 18, 2014@manfie
As an additional realm of complexity, this might be faster to do using sockets. You could build a super simple protocol to transfer data or alternatively maybe use the custompayload packet? It's not terrible to use NMS code especially if you build your own basic API that you can update and require as a dependency.
-
View User Profile
-
Send Message
Posted Feb 17, 2014@obscurehero
Fair enough. Still the Core Plugin will never link to CraftBukkit. This is not my responsibility, although i'm going to investigate for NBT API's. Maybe PowerNBT will help be okay.
-
View User Profile
-
Send Message
Posted Feb 17, 2014@manfie
This is just an NBT serializer. You'll need to use an NMS method to get player inventory NBTtags as the bukkit api doesn't have any methods for this.
If you added this functionality to this plugin, I'd be profoundly grateful. It'd just need to be for version 1.6.4.
-
View User Profile
-
Send Message
Posted Feb 17, 2014@Phyzardkiller
How about Installation? Do you really think it is respectful to put alot of questionmarks after such a rude question?
By the way this Plugin was created free of charge!
-
View User Profile
-
Send Message
Posted Feb 16, 2014Why wont you make a tutorial on how to install and configure the plugin????
-
View User Profile
-
Send Message
Posted Feb 14, 2014@Mortalsinn
Set the message to ''.
-
View User Profile
-
Send Message
Posted Feb 13, 2014I'd like to sync my server more often than 60 seconds but it can get spammy. Can you add an option to turn off the inventory save messages?
-
View User Profile
-
Send Message
Posted Feb 13, 2014@ChengZi368
It should work yes. Just test it.