Rate of XRay
Not Maintained. Broken for MC 1.9+
Not Maintained. Broken for MC 1.9+
This mod shows the ratio of ore and stone per user.
Note: XRay probability is no real probability, its just a number betweeen 0 and 3200. 3200 is only mining diamonds.
Features:
- Multi-World support
- Fast, no per-block logging required
- Search for usernames / high ore ratios
- Automatic messaging about potential xrayers
- No Database required
Config
warnDelaySeconds | time between warnings in seconds | 3600 |
minWarnLevel | minimum probability for warnings | 75 |
noWarnBeforeBlocks | minimum amount of blocks destroyed before warning | 1000 |
logCreative | update statistics while using creative | false |
disableWorlds | disable logging for certain worlds | empty |
trackPlacements [todo] | save ore placements (obtained via silktouch) | true |
autosaveSeconds | save data every n seconds | 600 |
sendMCStats | use MCStats for this plugin | true |
includeBannedForSearch | whether /rx search and /rx top includes banned players | true |
includeLowBlockAmountForSearch | whether /rx search and /rx top include players with a low number of blocks broken (uses noWarnBeforeBlocks) | true |
includeInactiveForSearch | whether /rx search and /rx top include inactive players | true |
includeOfflineForSearch | whether /rx search and /rx top include offline players | true |
inactiveAfterDays | Days required to be considered inactive for includeInactiveForSearch | 30 |
autoUpdate | enables Autoupdate | true |
notifyAboutSavesInConsole | writes "Saving data..." everytime the playerdata is saved to the console | true |
Commands
/rx help | Shows all available commands (Checks permissions) |
/rx check [user] |
Prints information about an user. Shortcut: /rx [user] |
/rx clearplayer [user] | Clears data of a player |
/rx clearall | Clears all data |
/rx save | Save all data to disk |
/rx avg | Shows average xray-probability for all users |
/rx stats |
shows statistics for all tracked blocks, not just for one player. basically /rx check for all players at once |
/rx search [%] | Searches for users which have at least [%] xray-probability |
/rx top [amount=10] | List top amount players with highest XRay-Probabilities |
/rx reloadconfig | Reloads the config file |
Permissions
rateofxray.nolog | nothing is logged for this player |
rateofxray.notifications | if set player will receive messages about high x-ray probabilities |
rateofxray.selfnotifications | if set player will receive messages if he has a high x-ray probability |
rateofxray.admin | Enables all admin permissions (All commands + rateofxray.notifications) |
rateofxray.command.* | Allows use of Command * (i.e. /rx check is allowed by rateofxray.command.check) |
McStats
This plugin is using MCStats.org.Reason: I need more data about broken blocks to be able to code better alogrithms.
Sent to the server:
- Did you reach 2,147,483,647 blocks broken (Just a technical limit)
- Percentage of broken blocks (basically /rx stats)
- Average warning level (basically /rx avg)
- Total amount of tracked players (offline too)
- Time to create these statistics
Todo
- Log placed blocks for exclusion
- Log other blocks?
- Tracking Block broken between surface and first diamond. (Might get confused by caving.)
- Track only found veins instead of single ores?
@jantjeb
You used /search instead of /check, right?
I get an internal error when checking an specific person with the /rx check command the command works with everyone except him, this occured today for the first time
I dont know if i have to post it here: 10:34:06 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'rx' in plugin RateOfXray v1.0.12[100D at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)[66D at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)[74D at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:514)[82D at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979)[88D at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897)[79D at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852)[76D at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)[70D at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)[72D at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)[76D at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)[64D at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)[73D at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)[74D at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)[74D at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)[74D at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)[76D at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NumberFormatException: For input string: "r0b3rt"[62D at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222)[75D at java.lang.Double.valueOf(Double.java:475)[44D at de.quurks.rateofxray.XrayCommandExecutor$5.handle(XrayCommandExecutor.java:64)[81D at de.quurks.base.command.Executor.onCommand(Executor.java:48)[62D at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)[66D ... 15 more
Is there a way to reload the config file without having to reload my whole server?
Thanks!
@nejcneo
No, i cant do that: Im not saving the location of ores, im saving only the amount of mined ores.
I have really got Idea for you. Can you make option to rollback all ores after you type "/rx clearplayer <p>". It would help a lot of admins to restore them after Banning / clearing player
I think the loccation is important, because everytime we get a xray warning we teleport to the user and check his mine with LogBlock. So we can see, if he really used xray. Just your plugin is not enough, another plugin like LogBlock is needed to be 100 percent sure ;)
@obviousAce
The location of a warning is meaningless, because it means only the user is over a certain threshold AND x mins are passed since the last warning.
Warning log: I could do this, but warnings will get repeated every time x seconds (config) are passed and the player breaks a block, so you should get all warnings over time.
I guess I will put something similar in the 1.4.7 version
Hi, thankyou for this great plugin. It helped us finding a lot of Xray-Hackers. I have a feature request: It would be good, if the plugin saves the coordinates and worldname of the user, when it gets a xray warning. Because our serverteammembers are not 24/7 on the server and so we could summon xray warnings, from times, where no serverteam member was online. Maybe there could also be a warninglog, what you could see by typing a command. Thanks and greets :) Fab
@MinecraftAdmin
Currently not. Why?
Just curious if there is a localization file.
Can you make some "/rx search" command that will show Only Online users. Because if user is offline I can't talk with him or TP to him.
ok, the config was broken,
even that from the other plugins
to prevent future issues i made it read only
@CatsyLady
Try deleting the config.
Exact bukkit version?
i dint touched the config
i have this an a few other plugins
@CatsyLady
What happens if you delete the config at let the plugin create a new one?
i get error with new bukkit betabuild
@CatsyLady
disableWorlds:
- world
works for me
how i put disabled worlds?
its
disableWorlds: []
when i put
disableWorlds: creaworld
or
disableWorlds: [creaworld]
i got errors
@Quurks
Thanks!
@vegetable89
rateofxray.command.*
Allows use of Command * (i.e. /rx check is allowed by rateofxray.command.check)
The permissions you are looking for are rateofxray.command.avg and rateofxray.command.top