Minecraft Mods

BlockTracker - An API-less plugin For Minecraft 1.8 Servers

  • 2,503 views, 0 today
  • 149 downloads, 0 today
  • 5
  • 1
  • 5
Geistes's Avatar Geistes
Level 10 : Journeyman Network
3
BlockTracker

An API-less plugin For Minecraft 1.8 Servers



___________________________________________________________________________________

Introduction:

Hello all, my name is Geistes.

Today I present to you "BlockTracker". This is a modification for Minecraft 1.8 servers which will log all block breaking*.

If you don't know what's going on this is an equivalent in purpose to LogBlock or Hawkeye but for Minecraft 1.8.

BlockTracker - An API-less plugin For Minecraft 1.8 Servers Minecraft Mod

*Log all block breaking by each player to a mySQL server

BlockTracker - An API-less plugin For Minecraft 1.8 Servers Minecraft Mod

BlockTracker - An API-less plugin For Minecraft 1.8 Servers Minecraft Mod

Download

You can download a copy of BlockTracker from this URL:

https://github.com/Geistes/BlockTracker/blob/master/BlockTracker/build/BlockTracker-1.0.jar?raw=true



Installation:

1.Open "BlockTracker.jar" with an archiving program such as winrar.

2.Open "Minecraft_Server.1.8.jar with an archiving program such as winrar.

3.Drag all of the files and folders from BlockTracker.jar into Minecraft_Server.1.8.jar

4.Reboot your server, configure "BlockTrackerDB.config", Reboot again.

Done.

undefined



Plans for the future:

I entirely intend to develop this further and add more features such as;

*Command interface (for searching the database)

*Regional Control (Separate Mod?)

*Player UUID

*Chest control (Separate Mod?)

ETA on these: Eventually.



Source:

This project's source is available on Github:

https://github.com/Geistes
BlockTracker is under the:
MIT LICENSE



You may have some questions:

Q: How did I make this without bukkit?

A: This has been written with my own custom hooks directly into the obfuscated minecraft source.

Q: How did you make this without MCP?

A: I mapped the obfuscation myself.

Q: Can I have your map?

A: I didn't really write one, it's all in memory.

Q: May I see the source?

A: Please read the post properly.
Progress100% complete
Game VersionMinecraft 1.8
Tags

Create an account or sign in to comment.

kar731
09/26/2014 7:58 pm
Level 5 : Apprentice Engineer
kar731's Avatar
Yeah, this isn't writing to the database. :/ 
Please fix as this is necassary for me.
1
Texzarrax
09/26/2014 6:33 am
Level 1 : New Miner
Texzarrax's Avatar
Not saying its bad but i dont think it works unless i installed it incorrectly but it did not work, i got the error:

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_45]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.7.0_45]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.7.0_45]
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.7.0_45]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:408) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1137) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:355) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2490) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2527) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2309) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46) ~[minecraft_server.1.8.jar:?]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_45]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.7.0_45]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) ~[?:1.7.0_45]
at java.lang.reflect.Constructor.newInstance(Unknown Source) ~[?:1.7.0_45]
at com.mysql.jdbc.Util.handleNewInstance(Util.java:408) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:419) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344) ~[minecraft_server.1.8.jar:?]
at java.sql.DriverManager.getConnection(Unknown Source) ~[?:1.7.0_45]
at java.sql.DriverManager.getConnection(Unknown Source) ~[?:1.7.0_45]
at BlockTrackerSQL.getConnection(BlockTrackerSQL.java:22) [minecraft_server.1.8.jar:?]
at BlockTrackerSQL.checkDB(BlockTrackerSQL.java:39) [minecraft_server.1.8.jar:?]
at BlockTracker.run(BlockTracker.java:33) [minecraft_server.1.8.jar:?]
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method) ~[?:1.7.0_45]
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) ~[?:1.7.0_45]
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) ~[?:1.7.0_45]
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) ~[?:1.7.0_45]
at java.net.AbstractPlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]
at java.net.PlainSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]
at java.net.SocksSocketImpl.connect(Unknown Source) ~[?:1.7.0_45]
at java.net.Socket.connect(Unknown Source) ~[?:1.7.0_45]
at java.net.Socket.connect(Unknown Source) ~[?:1.7.0_45]
at java.net.Socket.<init>(Unknown Source) ~[?:1.7.0_45]
at java.net.Socket.<init>(Unknown Source) ~[?:1.7.0_45]
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:258) ~[minecraft_server.1.8.jar:?]
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:305) ~[minecraft_server.1.8.jar:?]
... 17 more
1
iEthan
09/25/2014 12:08 am
Level 7 : Apprentice Miner
iEthan's Avatar
I really think this is a good idea, the thing is what use does it have with players? Thats what most server owners like myself want. Good idea though, like the effort :) Diamond4U
1
kar731
09/25/2014 12:12 am
Level 5 : Apprentice Engineer
kar731's Avatar
This is for grief protection pretty much. If you get griefed this logs it so you know who did it, I believe.
1
kar731
09/24/2014 11:52 pm
Level 5 : Apprentice Engineer
kar731's Avatar
This is really cool and I'll definately be using this! Thank you for creating this! Please create more plugin-like mods like this please! :D
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome