InventorySQL

Logo
https://dl.dropbox.com/u/5496351/resources/logo-inventorysql.pnghttps://dl.dropboxusercontent.com/u/43938052/images/invsql-version.png

http://upload.wikimedia.org/wikipedia/commons/thumb/b/ba/Flag_of_Germany.svg/32px-Flag_of_Germany.svg.png German developer

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

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


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 :)

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of piter909 piter909 Sep 19, 2014 at 12:57 UTC - 0 likes

    Thanks for update! Can you make it compatible with BossShop plugin and other Bar-based plugins? :c This plugin is amazing. Thank you.

  • Avatar of 1337Zero 1337Zero Sep 04, 2014 at 14:04 UTC - 1 like

    @saxons12: Go

    I got the same problem i think the update events doesnt work, i've told manfie already about that but there was no answer atm.

  • Avatar of saxons12 saxons12 Sep 04, 2014 at 05:57 UTC - 0 likes

    On a bungeecord setup when a players inventory gets saved, they can throw the items and log out then log back in. This causes dube. I am doing something wrong with the config?

  • Avatar of manfie manfie Aug 25, 2014 at 12:03 UTC - 0 likes

    @yanniclord: Go

    Surely, but i don't think that'd be really necessary. But you can create a ticket and i'll have a look later on.

  • Avatar of yanniclord yanniclord Aug 24, 2014 at 20:58 UTC - 0 likes

    Is it possible to do something like this with Permissions to?

    Mod-Pack: DNSTechpack from the ATLauncher
    ----------------------------------------------------------------------------------------
    Server: DNSTechpack's Official Server included in the pack:
    dnscraft.dnstechpack.com
    ----------------------------------------------------------------------------------------
    Rank: Co-Owner
    ----------------------------------------------------------------------------------------

  • Avatar of manfie manfie Aug 21, 2014 at 10:42 UTC - 0 likes

    @piter909: Go

    Uploaded 3.5 for approval.

  • Avatar of piter909 piter909 Aug 18, 2014 at 08:05 UTC - 0 likes

    We need update ;/

  • Avatar of CHRONICALSde CHRONICALSde Aug 08, 2014 at 21:30 UTC - 1 like

    @LenartSys: Go

    Same problem here. It's a big problem for our server, since we use bungeecord! Please update.

    d3min3r ProfileCHRONICALSde Minecraft Server Status BFAK:80859,2ff44874433b1cd597af22a34b2b16be8e097fba503d40ccd07b56db19838b6c

  • Avatar of LenartSys LenartSys Aug 06, 2014 at 09:12 UTC - 1 like

    [11:05:19] [Server thread/INFO]: [InvSQL][DEBUG] Your Problem was caused by: MySQLDatabaseHandler(connection=com.mysql.jdbc.JDBC4Connection@3d64e73d, q=tk.manf.InventorySQL.database.handler.MySQLDatabaseHandler$Queries@2b897548) [11:05:19] [Server thread/INFO]: null tk.manf.InventorySQL.datahandling.exceptions.SerializationException: Error while serializing: [Parsing Error] at tk.manf.InventorySQL.datahandling.serializer.SimpleSerializer.deserializeItemStacks(SimpleSerializer.java:47) [InventorySQL.3.4.7.jar:?] at tk.manf.InventorySQL.manager.DataHandlingManager.deserial(DataHandlingManager.java:58) [InventorySQL.3.4.7.jar:?] at tk.manf.InventorySQL.database.handler.MySQLDatabaseHandler.loadPlayerInventory(MySQLDatabaseHandler.java:107) [InventorySQL.3.4.7.jar:?] at tk.manf.InventorySQL.manager.DatabaseManager.loadPlayer(DatabaseManager.java:90) [InventorySQL.3.4.7.jar:?] at tk.manf.InventorySQL.manager.DatabaseManager.onPlayerLogin(DatabaseManager.java:99) [InventorySQL.3.4.7.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.7.0_40] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_40] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [?:1.7.0_40] at java.lang.reflect.Method.invoke(Unknown Source) [?:1.7.0_40] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) [minecraft_server2.jar:git-Spigot-1387] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [minecraft_server2.jar:git-Spigot-1387] at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) [minecraft_server2.jar:git-Spigot-1387] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [minecraft_server2.jar:git-Spigot-1387] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.PlayerList.c(PlayerList.java:249) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.PlayerList.a(PlayerList.java:135) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.LoginListener.c(LoginListener.java:97) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.LoginListener.a(LoginListener.java:42) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.NetworkManager.a(NetworkManager.java:151) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.ServerConnection.c(ServerConnection.java:77) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.MinecraftServer.v(MinecraftServer.java:705) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.DedicatedServer.v(DedicatedServer.java:273) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.MinecraftServer.u(MinecraftServer.java:568) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:474) [minecraft_server2.jar:git-Spigot-1387] at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [minecraft_server2.jar:git-Spigot-1387] Caused by: org.json.simple.parser.ParseException at org.json.simple.parser.Yylex.yylex(Yylex.java:610) [minecraft_server2.jar:git-Spigot-1387] at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269) [minecraft_server2.jar:git-Spigot-1387] at org.json.simple.parser.JSONParser.parse(JSONParser.java:118) [minecraft_server2.jar:git-Spigot-1387] at org.json.simple.parser.JSONParser.parse(JSONParser.java:81) [minecraft_server2.jar:git-Spigot-1387] at org.json.simple.parser.JSONParser.parse(JSONParser.java:75) [minecraft_server2.jar:git-Spigot-1387] at org.json.simple.JSONValue.parseWithException(JSONValue.java:78) [minecraft_server2.jar:git-Spigot-1387] at tk.manf.InventorySQL.datahandling.serializer.SimpleSerializer.deserializeItemStacks(SimpleSerializer.java:45) [InventorySQL.3.4.7.jar:?] ... 24 more

    When player join server.

  • Avatar of stun10sec stun10sec Jul 31, 2014 at 05:46 UTC - 0 likes

    @manfie: Go

    Thank you so much it working.

Facts

Date created
Jan 25, 2012
Categories
Last update
Aug 21, 2014
Development stage
Release
License
zlib/libpng License
Curse link
InventorySQL
Downloads
32,942
Recent files

Authors