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?
Is there a permission node that only enables the /rx top and /rx avg commands without giving permission for all commands? Or is rateofxray.admin the only node enabling those commands?
@BroTakaHiro
Reason?
@Quurks
nvm fixed it, thanks anyways :P
@Quurks
they were not in creative, non were op non of them had the rateofxray.nolog :/
@BroTakaHiro
Are they in creative mode?
Are they op?
Did you gave them the permission rateofxray.nolog ?
I added it to my server then reloaded everything, i had some people on and mine did another reload and when i do /rx check (name of someone) or /rx (name of someone) it says no data was found for the player and i am actually using names not (name of someone)
@MadeBySaints
I havent tested it, but i assume, there were no changes which would breakk this plugin.
Try it, the worst you could get is an exception.
@Quurks
You are right. sometimes i feel like a derp :3 so this just means that for the first time ever no plugins have any legit errors on my server!!! Does it also work with the latest Dev Builds?
@MadeBySaints
Your server was unable to reach bukkit to check for updates. But this should not throw exceptions.
However, this plugin should work while it has access to the internet.
Try it again?
right now im getting this and i dont know why :( my current bukkit build is 2488. this is such a good plugin! can provide full log
23:24:43 [SEVERE] Error occurred while enabling RateOfXray v1.0.12 (Is it up to date?) java.lang.RuntimeException: java.net.UnknownHostException: dev.bukkit.org at net.h31ix.updater.Updater.read(Updater.java:608) at net.h31ix.updater.Updater.readFeed(Updater.java:557) at net.h31ix.updater.Updater.<init>(Updater.java:215) at de.quurks.rateofxray.RateOfXray.handleAutoUpdate(RateOfXray.java:44) at de.quurks.rateofxray.RateOfXray.onEnable(RateOfXray.java:39) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252) at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:147) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.net.UnknownHostException: dev.bukkit.org at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.URL.openStream(Unknown Source) at net.h31ix.updater.Updater.read(Updater.java:604) ... 15 more
@krisdestruction
Cave ores can be discovered via Xray-Texturepacks. So they should get tracked also.
Theres no way to determine at the time of mining an or wether it is a "cave" ore or a "solid" ore, the only way would be to check every time someone mines a block if he reveals an ore, and to check if the ore was revealed bevore. Then this information would have to get saved somewhere. Could cause some server load.
@Quurks
I meant naturally exposed ones. Naturally exposed ores in caves shouldn't be added as opposed to ones with blocks on all 6 sides are considered concealed ores and thus are added to the count. How does that sound?
Uhh... TNT?
@krisdestruction
Well, if you are mining ore, its always exposed, otherwise you are unable to mine it.
Maybe check if it's exposed in a cave? Or check it's surroundings if it's exposed to count it.
I have some people who mine almost exclusively in caves. While their diamond count is almost zero, they get high ranking due to their efficiency in mining iron and some other smaller ores.
Is there a possibility to adjust to that? I know that logOres can detecs when items are mined in caves?
Also, a sure sign often for XRay with the nodus client etc is that people do not use light. So a ore mined at 0 light could get a very high multiplier maybe?
just brainstorming...
@PAL18
It's working fine on 1.4.2 for me :)
Will this be updated for 1.4.2?
@Bronypowerr RB is still 1.3.2
Are there any problems with beta build?
Great plug-in! needs updated 1.4.2 version