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?
@Quurks
Redownloaded the latest, the version before the latest, deleted config and database, and still, it just doesn't work. What is the plugin.yml bukkit complains about? Never heard of that file.
Edit: Wow, my stupidity just reached a new level xD I put the .jar into the plugin/rateofxray folder instead of into the plugin folder. How dumb is that.
Fixed. Thanks
@H8llfire Have you tried to redownload the latest version? Its working fine for me.
Thats weird, since the last Update the plugin tried to auto update on reload. Something went wrong and now I cannot get the plugin working again. No matter if I delete config, database or set the older version of the program, the console always comes up with this:
04:00:03 [SEVERE] Could not load 'plugins\RateOfXray.jar' in folder 'plugins' org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:205) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:132) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:227) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:203) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.zip.ZipFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at java.util.jar.JarFile.<init>(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:193) ... 8 more
It doesn't load rx anymore.
@Quurks
Wonderful! Thanks =)
Another suggestion would be to color all usernames that are offline gray and online users green, and maybe color the rate instead. With rate i mean the numbers inside the ()
@Stuntweed 2 new config options added. Waiting for approval...
@Stuntweed /rx avg just calculates average X-Ray Level of all players. If there are a lot of players with low Levels, the average level may get below 0.5 which will be rounded to zero.
I will look into it (and the other issues too)
@Quurks
So the /rx avg does not work properly, we have 5184934 blocks tracked and it still shows 0. Also could you add a option to not search for players that have <500 blocks destroyed, it kind of makes all the real cheaters disappear in the crowd.
And one more thing, players that have been inactive for a long period of time should be automatically cleared from the list (IMO), maybe something to add?
@fauxiss stone (reference),iron,gold,redstone,lapis,dia, emerald
What ores does this plugin show? Diamond, gold, iron, coal, lapis, redstone, emeralds?
@Quurks
Awesome mate! :) didn't think a program like that existed! :)
@Stuntweed You are using java 7, right?
Its fixed now.
Hmm v1.0.9 giving error when using /rx top
http://pastebin.com/w2ei0R48
@CeramicTitan Just drop it on http://java.decompiler.free.fr/?q=jdgui
@Quurks
I just wanna see how this is done :)
@Alvarez96 Only at the first start, right?
It should be ok after a reload.
I will fix it anyway.
Current version = null pointer exception.
@lucky___13 Done
@CeramicTitan Currently not. Why?
is there a source available? :)
Might be cool to include a command that lists the top 10 'most likely to have xray' players, for easier moderation.
@AndyMcB1 Yes