XRayLogger
This plugin allows admin's to check if a player is over a certain amount of items(amount specified in the config). If they are they will be put onto a list. To allow admins or the select few admins want to allow to be hidden from such logs they simply on have to type a command. The best part of this plugin is that you can never have too few arguments*. If you don't have enough arguments for a checking command you will only check yourself.
Git Repo Will clean-up and update soon.
Planned Additions
i'm going to work on messages for warning when they get close to the amounts. Also will add transaction messages.
Commands and Permissions
/logs.check: Checks to see if you or the player your checking has had suspicious amounts of gold or diamond.
/logs.clear: Clears the logs.
/me.hide or player.hide: Hides you or the player from logging
/me.remove or player.hide: Removes you or the player from the logs
/logs.look: Gives you an entire list of the logs
/logs.hidden: Gives you a list of all hidden players
/config.reload: Reloads config from disk
/config.purge: Resets the config to defaults values, with a restart this will also clear the logs.
xl.check: Allows you to check other players -default: op
xl.admin: Gives you a lot of head way. Essentially gives you permissions to everything * -default: op
xl.hide: Hides this player from the logs -default: op
xl.check-self: Allows you to check yourself. -default: true
Versions
v1.6: Added an autoupdater. All you have to do is enable it in two configs
v1.5.2: Updated to 1.6.4 (still works with 1.6.2). Improved handling with vault.
v1.4.2: Added config.purge. Improved config maintenance.
v1.4.1: Fixed config issues. Improved performance.
v1.4: Updated to 1.6, uploaded to github, added fining.
v1.3.2: Added support for Lapis and updated to 1.5.1
v1.2.1: Added banning. This is configurable by yes or no in the config.yml.
v1.1.2: Fixes with the config pointed out by andypandy89. Other fixes with offline players and such. If you find anymore bugs or you think it is borked please email me.
v1.0.1: First version out by me. The other author had a much simpler version of this. (old author: FlatCrafter)
-Versioning convention: (major change).(minor revision).(build #)
- Note that when in console you must have the right count of arguments
Support me by hitting this donate button and giving me everything your willing. I am trying to get better software, better books and even a tutor.
Xraylogger seems to be lagging on the latest spigot from buildtools.jar
0.35% 100.92% 1.31 s 50.46 ms 0.0 0.0k BlockBreakLoggerListener::onPlayerJoin(PlayerLoginEvent)
It is lagging on this event, is it only because of the player joins? Because it was not that many players who joined at the same time
@Nomirek
No problem. Please suggest new features you may want.
Big thanks for 1.6.4 update!
@iGamingStudioX
Hey man, sorry I'm getting back to you so late. Sorry, will update with version 1.5 to with your fix and 1.6.4 support.
Please update to 1.6.4 as soon as possible! I really need this plugin and my server will be in chaos if this is not updated!
If it is compatible with 1.6.2, then I am getting this error...
2013-09-29 18:19:01 [INFO] [XRayLogger] Enabling XRayLogger v1.0.2 2013-09-29 18:19:01 [SEVERE] Error occurred while enabling XRayLogger v1.0.2 (Is it up to date?) java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy at de.FlatCrafter.XRayLogger.XRayLoggerMain.setupEconomy(XRayLoggerMain.java:153) at de.FlatCrafter.XRayLogger.XRayLoggerMain.onEnable(XRayLoggerMain.java:27) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:315) at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:292) at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:252) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:152) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:393) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.economy.Economy at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 13 more
@beastman3226
Hi! this is a real question!
can u make a plugin when no1 can make armor just buy it from villagers! and i can change the Craft from it please! sorry bad english
@ddonofrio
I do not check if they are xraying. I log suspicious amounts of items.
I'm really interested to know how does it work. I mean, how from the server side to know if a player is using a XRay plugin.
Thanks for answer.
Alright, so for anyone who got that error, just put quotes around the numbers and words in the config.yml.
@spoljo666spoljo I'll do take a look on the morning. Thank you!
Got this error, im not sure what happened, but i got it: http://pastie.org/pastes/7614984/text
Mind giving me a list of your plugins. PM with more specific details of your problems. I assure you I will try and fix them. If anyone else is having the same problems do the same.
Hey, I installed the plugin but am not sure how exactly to use it. /check doesn't really work - it tries to activate creative mode even if I use it like /check username.
I've got the xl.admin and xl.check permissions set up too. Using /log-check doesn't produce any results at all, not even a message.
@andypandy89 I'm pretty sure it's my format. I'm going to do some test and get back to you for sure.
EDIT: I made several mistakes I that on my machine I would have never noticed. Everything is fixed now. Working version is 1.1.2.
Hey Beastman,
Tested out your plugin, but couldn't quite get it working.
Using config like written below:
# Must be a number! ex. 16 64 32
# Cannot be spelled! ex. sixteen sixty-four thirty-two
16
Getting the following error at start-up:
21:48:32 [SEVERE] Cannot load plugins/XRayLogger/config.yml
org.bukkit.configuration.InvalidConfigurationException Top level is not a Map.
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:57)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:105)
at org.bukkit.configuration.file.YamlConfiguration.loadConfiguration(YamlConfiguration.java:175)
at org.bukkit.plugin.java.JavaPlugin.reloadConfig(JavaPlugin.java:117)
at de.FlatCrafter.XRayLogger.XRayLoggerMain.onEnable(XRayLoggerMain.java:20)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:315)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:297)
at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:326)
at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:305)
at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:264)
at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:404)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
After I shutdown the server the config.yml returns to default.
Andy