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 :)
Could you post the php example?
Thanks
Did this plugin check inventory automatically?
Thanks for this plugin!
@ThisIsAreku
yes
@Teh_Kitteh
what do you mean by "past inventory restoring" ?
Feature Request
Maybe past inventory restoring? I bet this has been requested before though, but that would really make this plugin useful.
@Leenert
are you using the latest version of craftbukkit ?
@ThisIsAreku
No, this message appears:
826 2012-02-05 11:23:27 [INFO] [InventorySQL] ThisIsAreku present INVENTORYSQL, v0.4.2 827 2012-02-05 11:23:27 [INFO] [InventorySQL] Enabling... 828 2012-02-05 11:23:27 [INFO] [InventorySQL] MySQL connection successful 829 2012-02-05 11:23:27 [SEVERE] Error occurred while enabling InventorySQL v0.4.2 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V 830 java.lang.NoSuchMethodError: org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;)V 831 at alexoft.InventorySQL.InventorySQLPlayerListener.(InventorySQLPlayerListener.java:16) 832 at alexoft.InventorySQL.Main.onEnable(Main.java:106) 833 at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230) 834 at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:989) 835 at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) 836 at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:190) 837 at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:173) 838 at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356) 839 at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343) 840 at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) 841 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) 842 at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@Leenert
On the bottom of the project description ;)
@ThisIsAreku
Download link?
@Leenert
Try the version 0.4.2, maybe It will resolve the problem. If not, post a complete description of the bug on the ticket system
@ThisIsAreku
Yes:
[SEVERE] Error occurred while enabling InventorySQL v0.4.1 (Is it up to date?): org.bukkit.plugin.PluginManager.registerEvents(Lorg/bukkit/event/Listener;Lorg/bukkit/plugin/Plugin;
and so on
now the table has been created, but it does not work
@Leenert
does this produced an error in the log file ? Or have you the latest version (0.4.1), since v. 0.4 is broken
I can't enable the plugin - after connecting to mysql it askes, whether it is up to date and the table in the database does not created.
@Forecaster71
You can use either java 6 or java 7
@ThisIsAreku
So in this new version you do not need Java 7?
@colony88
Oh sorry. I've made a mistake with the compilation process.. I re-upload a new version
Where is the example php file?
@colony88
I'd say that's a useful detail yes.
I think you should warn people that you have to use JRE7 instead of 6 as it won't work without it?