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 :)
@Kopertje
For carrying inventories between servers?
If you can't see a use for it, then you obviously don't need it lol.
Is 'pendings' already included / can you change the inventory from a website?
Kann mir irgendjemand helfen die 3 sachen in meiner datenbank einzufügen?
ALTER TABLE `[INVENTORY_DB]` ADD `min_health` DOUBLE NOT NULL DEFAULT 20; ALTER TABLE `[INVENTORY_DB]` ADD `max_health` DOUBLE NOT NULL DEFAULT 20; ALTER TABLE `[INVENTORY_DB]` ADD `food` INT NOT NULL DEFAULT 20;
weiß nicht wie verzweifel gerade..
<<code [20:22:51] [Server thread/INFO]: [InvSQL] Enabling InventorySQL v3.4.0 [20:22:51] [Server thread/INFO]: null com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'food
-----------ALTER TABLE `inve' at line 1>>
<</code>>
Hallo, ich benutze dein Plugin seit heute und mir sind gleich 2 Sachen aufgefallen
1. In der Craftbukkit 1.7.9-R0.3-Snapshop schmeist dein Plugin ein paar Errors
2. Kannst du zu deinem Plugin das übertragen von Health, Hunger, Effects,Exp, Enchants .... hinzufügen
ansonsten finde ich dein Plugin echt gut
Is there a proper web/php page for this? Why else use it?
Hallo, hab ein kleines Problem: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'food
Verwende MySQL Server version 5.6 Build for Debian.
Greetz
Have this set up and running, Im using the switch command but no inventory moves with me to next server, items are being saved in MySQL database but nothing is appearing in my inventory at destination, despite reports that the inventory has saved/loaded
Also is there anyway to hide the inventory saving messages that appear every time your inventory is saved?
Any help would be appreciated.
Thank you.
@manfie
Yes but it does not work
@Ferocious_Ben
It's part of the Configuration.
@manfie
Okay. well if you manage to fix the enchant bug and not saving on quit that would be great. and it would be a amazing if you could log the players position on quit and tp on join.
btw. I don't know how to code Java so don't bother suggesting stuff like BukkitSerializer XD
@Ferocious_Ben
That's already an issue and i'm aware of it. Use BukkitSerializer to fix.
@Ferocious_Ben
Server Sync is the Problem. If used on multiple Server there are so many circumstances, which need to be handled. It's not a matter of a lack of possibility.
@manfie
Just get the player world and location then log it to the database and when they log in teleport the player?
Also, enchantments do not sync which is annoying.
@Ferocious_Ben
XP is something that can be added easily. Location is something that could be a problem, because the position can vary on different servers. Updating Inventory needs to be specified via update events.
can you also make it so it saves XP and the players location? perhaps enable an option which teleports a player to the last known location on login? Also. The inventory is not updated upon quiting :L
Thanks :D
@sync667
I'll definitely have a look.
manfie I done small Lib that give API with data etc transferring between bungge server. Maybe it will help for INVS? I will also put it on dev soon.
@MOR_IV
It's an open Issue. Currently there is no avaiable Solution to fix that without linking to NMS.
hello. I use applied energistics and bungeecord server. The problem is that your plugin does not save inventory on the disc: ME storage. Just want you to fix the problem.
Когда переходишь между серверами диск есть, но становится пустым. Вот в этом и печаль.
@Mysticforce12345
This is not designed for multiworld support right now.