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 :)
@ChengZi368
I'm not familiar with Bungeesuite, but if Bungeecord handles the Command (if it is a Bungeecord Plugin) then InventorySQL cannot intercept between the command.
Other Bukkit Plugins allow Command Programming already, so there is no need to do that for Bukkit.
Also, maybe you can let we config that save players' inv before run that command.
For example, I configed "/home" in config file. And when a player use /home, it save his inv before do /home.
Im running a bungeecord server with bungeesuite. players can /home between servers... and I can only let players use /switch when ther using portals.
@manfie
Okay it works now. Thanks! :D
@ChengZi368
The reasons for the fail has been ellaborated pretty often. Look at the FAQ for more infos. Did you already look at the Issue #68? There is currently an related issue to the mysql file.
I had manually added missing columns to mysql. Still getting errors, and works wrongly.
Here is it: http://pastebin.com/VrHzZE2x
Also, why not add players' xp, level, gamemode...etc
Somtimes players teleport by bungeesuite portals and them lose items.
Any fixes?
EDIT:Also got some errors after updated
http://pastebin.com/0AyAS9zh
@TheChiz @ZeroErrors
My mistake forget a little thing in my local Version. The new file is uploading.
The current version does not even start.
Current version:
Previous version:
Line 62 in InventorySQLPlugin.java
@manfie
Alright I have resolved that issue. But now I have this going on.....
[17:45:38] [Server thread/INFO]: [InvSQL][DEBUG] [Developer Message from manf] You did not specify proper a proper Handler. Please specify a correct Classname for the missing $ [17:45:38] [Server thread/INFO]: [InvSQL] Disabling InventorySQL v3.4.0 [17:45:38] [Server thread/ERROR]: Error occurred while disabling InventorySQL v3.4.0 (Is it up to date?) java.lang.NullPointerException
And.... I didn't touch the handler, like it says not to in the config. So I don't know what the deal is, help is much appreciated good sir :)
@TheChiz
Look at Issue #68
Hey there, Trying to use your plugin and when loading it on my server and starting it. I get a syntax error, when trying to build the db. This is the exception that gets thrown.
"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 `i' at line 1"
I was hoping you could help or perhaps look into the issue, we're using the latest build that you just threw up a couple of days ago.
Thank you, much appreciated.
@marubal21
InventorySQL has a ItemPipe WIP, so its not able to do that. It's core function is to sync InventorySQL.
is there a way to control/manage which server players items will follow/transfer from? ex. we have 3 servers, towny, factions, and minigames, i would like to let players take their rewards from the minigames server to either towny or factions server, but not be able to bring items from the towny server into factions or minigames server.
@BIO620
The Server specifies the Size of the EnderChest, InventorySQL is just saving the Inventory.
Is there any way to disble enderchest?, because i have another plugin to do that, or with this plugin you can change the enderchest size?
@ChengZi368
I added player health and feed value to the latest snapshot, including an Addon for Portals using TeleportSigns.
Why not also save players' health and feed values?
EDIT: Got some errors, but seems work fine.
EDIT2: After I removed death event it works fine.
@killerchris25
That is pretty harsh. I simply stated, that you need to state additional informations. Going to a doctor and saying i feel ill won't resolve the Problem. I can only speculate based on the evidence you provided. There is no offense at all, just clarifiing the requirements.
Anyway your chat is not 'spammed' you are informed, but the message does not change? This is odd, because the message should change. If you really want help, provide me with a more detailed ticket. The comments section is not for Issues, it's for general questions. ;)
i tried that man this is not a description my ass my servers not getting errors its just my chat is getting spammed with saving inventory inventory saved really would u die if you are a little nicer i simply asked how to disable a dam file/messages and u get on my case about not a dam description try being nicer and actually help for once!!!
@killerchris25
this is a yml file. so just testnode: '' This should work or make a more detailed error report. This is NOT a description.