ChestMaster
ChestMaster 2.0
Version 2.0 is out!
The new version 2.0 is now live, we have implemented many things you asked for, such as:
- Added UUID Support (must be enabled in the config file!)
- Added SQLite and MySQL for data storage, no more messy config files!
- Fixed Books bug, now books should be saved without problems or losing text!
- Fixed Item names, now items wont lose custom names!
- Fixed Skull's bug, Skulls will save from who they are now!
- Full translation is now possible via config.yml
- Added data migrator that will migrate your data from config.yml to SQLite Database when the plugin updates, for security reasons it will keep your old file as config_old.yml
ChestMaster was rewritten from scrath for this update, please report any bugs you find
What does this plugin do?
This plugin allows your players to have (multiple) virtual chests!
Commands:
/chest <number> - Opens the chest with the number <number> (If no number is used it will default to chest number 1)
/admchest <player> <chest_number> - Opens the chest from a player - Since v1.5
/chestreload - Reload the config file - Since v2.7
/chesterror - Shows your server error log, if you have AdvancedMetrics enabled - Since v3.4
Permissions:
To open at least one chest: chestmaster.open
To use /admchest: chestmaster.admchest
To reload the config: chestmaster.reload
Permission to open multiple chests: chestmaster.multiple.amount
amount should be replaced with the amount of chest the player should be allowed to open (Ex: If you give them the permission chestmaster.multiple.5 they will be able to use from /chest 1 to /chest 5)
This plugin sends statistics about the usage to the server http://mcstats.org/. You can disable it in the config file You can also disable the updater on the config
This plugin sends advanced metrics about the usage to the server at nunofacha.com. You can disable it in the config file (Data sent with advanced metrics: IP, Port, Free Memory, Max Memory, Players, Max Players, Server Version String, Server OS and error reports)
Videos:
https://www.youtube.com/watch?v=Alu_Ic5661Y
Outdated:https://www.youtube.com/watch?v=lGY76m5L074
Source under GNU AGPLv3 license: https://bitbucket.org/facha/chestmaster-v2.0
how to solve?
What is the proper usage for the admin command to open the menu? For example Ive tried /admchest <user> 1|chest1|chest_1 and it always returns that the chest number is invalid. Cheers
When I change config, it won't be work
An update to the last minecraft version will be pushed in the next days, stay tunned.
Please update to 1.11.2. Players are randomly getting kicked just by typing the /chest command. Kicked for trying to dupe items even though their aren't.
I've noticed the same thing. Also errors popping on the server's console. Cant log an issue as the issue page here is broken.
Hello, great plugin. Easy to set up and use. Just a problem, if I want to have multiple chests, 5 for example I use chestmaster.multiple.5 in the permissions file but it doesn't really work, it would only give you access to /chest 1 and /chest 5, you can't access chests between those numbers.
@godgodgodgo
Its from your mysql server, not the plugin contact your host
Hi, I recently added this plugin to my server and decided to use MySQL. I think there may be an issue with this implementation because I came back to find that my database was reaching it's maximum connections limit.
Could you please look into this?
@Nuno_Facha
PaperSpigot is based on Spigot. I use the plugin in Paper and I dont have any problem.
@KaneLan
This is a Bukkit / Spigot plugin, and is only tested / developed for this two. I do not test/develop to paperspigot. But from the error paperspigot removed some libs the plugin use that are present in both bukkit and spigot.
erro! o plugin nem liga. Eu uso paperspigot 1.7.10 e java 8 http://prntscr.com/cd1okz
@owenftw
:D
Thanks for the update :D
Just pushed an update, waiting for bukkit approval
@nathampa0909 Im currently looking into this for next update
@zsuzsu
Se possivel me envia por MP a tua tabela de chests
I get this error 7:33:22 PM [INFO] [ChestMaster] Enabling ChestMaster v3.4 7:33:22 PM [INFO] ChestMaster - Config file detected, reading config now! 7:33:22 PM [INFO] ChestMaster - Config loaded! 7:33:22 PM [INFO] ChestMaster - Starting ChestMaster 7:33:22 PM [INFO] ChestMaster - Using MySQL! 7:33:23 PM [SEVERE] null 7:33:23 PM com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Column length too big for column 'inventory' (max = 21845); use BLOB or TEXT instead 7:33:23 PM at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_91] 7:33:23 PM at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_91] 7:33:23 PM at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [?:1.8.0_91] 7:33:23 PM at java.lang.reflect.Constructor.newInstance(Unknown Source) [?:1.8.0_91] 7:33:23 PM at com.mysql.jdbc.Util.handleNewInstance(Util.java:404) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.Util.getInstance(Util.java:387) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:941) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3870) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3806) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2470) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2617) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2550) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2073) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2009) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5094) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1994) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at com.nunofacha.chestmaster.Utils.createTables(Utils.java:50) [ChestMaster.jar:?] 7:33:23 PM at com.nunofacha.chestmaster.Main.onEnable(Main.java:97) [ChestMaster.jar:?] 7:33:23 PM at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:347) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:319) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:404) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:369) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:324) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:243) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:514) [craftbukkit-latest.jar:git-Bukkit-5e5cf84] 7:33:23 PM at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] 7:33:23 PM [INFO] ChestMaster - No SQL dataformat issues found! :D 7:33:24 PM [INFO] ChestMaster - You are running the latest version :) 7:33:24 PM [INFO] ChestMaster - Metrics Started 7:33:24 PM [INFO] ChestMaster - Sending start ping command to AdvancedMetrics! 7:33:24 PM [INFO] ChestMaster - Registered pinger to AdvancedMetrics! 7:33:24 PM [INFO] ChestMaster - This server AdvancedMetrics ID is: 0
@Nuno_Facha
Não toquei em nada desde a primeira configuração. O erro que dá de madrugada é quando não há ninguém online. Sobre os chests limparem eu não sei o que acontece.
@nathampa0909
Vc modificou a tabela? Isso so poderia ocorrer ao fechar um chest, e para isso e preciso ter alguem online '-'
@Nuno_Facha
Chest error: http://i.imgur.com/AMNx2i6.jpg
De madrugada fica dando esse erro quando não há nenhum player online: http://pastebin.com/wE4CBLqC