BlockTrackR - Monitoring and Data Aggregation Plugin [2.6.1 - Sponge 1276]

Hello, I have an issue : i use Pex and i cant use command cause the plugin : The command requires operator privilages and im op >w<

I should probably get around to integrating actual permissions… noted. For now have you used the /btr auth command?

Nope i cant do this i have the error i said before ^^

Just taken a look at the code for the auth command and have identified a potential issue that would cause this, standby.

Alight, I don’t have the necessary environment to test the change on this computer - however I feel I have identified the bug.

You can see the change here:
[Snip]

And you can download a build of this commit from the CI:
[Snip]

Note: As stated, I haven’t tested the change, but seeing as only one line was changed I doubt any further complications arising. If you would like to help me out, run this build and get back to me if it works or not :smile:

      sorry i have bug with my internet x)

so it didnt work, still error if i do /btr auth (even if im op)
So i think to test /btr auth in console server but ( expect i make mistake) its not works :

[19:52:33] [BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]:
java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
com.Volition21.BlockTrackR.Utility.BTRConfiguration.authorizeUser(BTRConfiguration.java:68)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
com.Volition21.BlockTrackR.Command.BTRAuthCommand.authorizeUser(BTRAuthCommand.java:93)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
com.Volition21.BlockTrackR.Command.BTRAuthCommand$1.run(BTRAuthCommand.java:66)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.lang.Thread.run(Unknown Source)
[19:52:33] [BTRAC/INFO]
[STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: Caused
by: java.lang.ClassNotFoundException: org.apache.commons.lang.ArrayUtils
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.net.URLClassLoader.findClass(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.lang.ClassLoader.loadClass(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.lang.ClassLoader.loadClass(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:106)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.lang.ClassLoader.loadClass(Unknown Source)
[19:52:33]
[BTRAC/INFO] [STDERR/]:
[java.lang.Throwable$WrappedPrintStream:println:-1]: at
java.lang.ClassLoader.loadClass(Unknown Source)
[19:52:33] [BTRAC/INFO] [STDERR/]: [java.lang.Throwable$WrappedPrintStream:println:-1]: … 6 more

java.lang.NoClassDefFoundError: org/apache/commons/lang/ArrayUtils

Should be fixed now.

BlockTrackR Version 2.4 - Fixing bugs ‘n’ removing dependencies

  • Re factored everything. No other operational changes.
  • No more CommonLang.
  • Everything actually has been tested in this release.

A thank you to @nalimleinad for input in this release;

  • Built and Compiled with:

    • spongeapi-2.1-20150924.184839-19.
    • javac 1.8.0_66-internal.
  • Tested on:

    • forge-1.8-11.14.3.1515-universal with sponge-1.8-1515-2.1DEV-655.
    • openjdk version “1.8.0_66-internal”
    • OpenJDK Runtime Environment (build 1.8.0_66-internal-b01)
    • OpenJDK 64-Bit Server VM (build 25.66-b01, mixed mode)

Release & Download:
[Snip]
Source:
[Snip]

This is the best one till now if cp doesnt get ported. The problem is that you need to do a comand everytime you want to check a block and with cp you simply do the command and you can check everything and then do the command again to disable it (correct me if im wrong). Keep the good work :wink:

/BTR tool
Toggles the OTF record lookup tool. - Requires authorization.

Should do something similar. It’s a bodge job for now but it works.

1 Like

Oh thank you :slight_smile:

I’ve actually updated this thing to work w/ the latest snapshot but I havn’t bothered to make a release so. It’s in the CI server if you need it.

BlockTrackR Version 2.4.2 - Refactor for Sponge 726

Refactored for Sponge 726.

  • Built and Compiled with:

    • spongeapi-2.1-20151107.195219-114
    • javac 1.8.0_60
  • Tested on:

  • forge-1.8-11.14.3.1521-universal with sponge-1.8-1521-2.1DEV-726

  • java version “1.8.0_60”

  • Java™ SE Runtime Environment (build 1.8.0_60-b27)

  • Java HotSpot™ 64-Bit Server VM (build 25.60-b23, mixed mode)

Release & Download:
[Snip]
Source:
[Snip]

1 Like

@Volition21 build 726 is very old. The latest build is 798 which can be found here

blinks
Woah. Man am I out of the loop. I’̶l̶l̶ ̶r̶e̶f̶a̶c̶t̶o̶r̶ ̶a̶g̶a̶i̶n̶ ̶l̶a̶t̶e̶r̶.̶ ̶D̶i̶d̶ ̶t̶h̶e̶ ̶g̶r̶a̶d̶l̶e̶ ̶c̶o̶m̶p̶i̶l̶e̶ ̶d̶e̶p̶e̶n̶d̶e̶n̶c̶y̶ ̶n̶a̶m̶e̶ ̶c̶h̶a̶n̶g̶e̶?̶

Err I compiled the plugin against the latest API so this should work for 798 really… surprised it worked on 726… Oh well. Busy early tomorrow morning so not going to test it tonight, will do tomorrow.

1 Like

BlockTrackR Version 2.5.0 - Refactor for Sponge 848

Refactored for Sponge 848.
Added command logging.

  • Built and Compiled with:

    • spongeapi-2.1-20151126.072211-162
    • javac 1.8.0_60
  • Tested on:

  • forge-1.8-11.14.4.1577-universal with spongeforge-1.8-1577-2.1-DEV-848

  • java version “1.8.0_60”

  • Java™ SE Runtime Environment (build 1.8.0_60-b27)

  • Java HotSpot™ 64-Bit Server VM (build 25.60-b23, mixed mode)

Release & Download:
[Snip]
Source:
[Snip]

2 Likes

Hi! I’m impressed by your work. I’m trying to use this plugin, but it seems stay a mistake. Indeed, the plugin is loaded by sponge, but any command runs. My server is running with sponge 1577-2.1-DEV-951. Should it work even with this version ?

@Modulocraft

Hey there, Thanks for the compliments re BlockTrackR - I’m afraid I have negative news in regards to your inquiry. In its current state (v2.5.0), this project is not compatible with any of the most recent sponge builds. This issue has been brought to my attention by another member of the community, I’ll take a moment now to work towards resolution.

Sit tight while I refactor for the latest API.

1 Like

I was curios about whether this logs what was once called meta data. I haven’t tested this plugin but just based on the screenshots it seems like it just displays the block type. I am concerned about what happens if a player breaks lets say for example a log. In vanilla minecraft there are various types of logs all with the same type but different data. Besides vanilla there are various mods that use the same block type but different data and it would be great to know what exactly was placed or broken or whatever.

Will this be updated to API 4.0?