Anti-Xray
Anti-Xray
Description
Anti-Xray is an Xray detector which shows you how many ores a player has found in a specific time span. If you have CoreProtect installed on your server you can also use CoreProtect-Anti-Xray which is using the logs made by CoreProtect.
The data is either stored in a sqlite or in a mysql database (read more in the configuration part). The logs are automatically deleted after a configureable time span (by default 365 days). The percentage refers only to the listed blocks.
This plugin uses mcstats.org to collect anonymous usage data. You can see the collectet data here. If you don't want the plugin to collect data, go to the config file and set 'useMetrics' to false.
Commands
- /xlu <player> <time span in days>
Permissions
- antixray.use - Gives full access to the "/xlu" command.
Configuration
There are two possibilities to store your data. You can either use mysql or sqlite. If you want to use sqlite you don't have to edit the config file. If you want to use MySQL you have to change the value storageType to "mysql" and edit the values in the 'mysql' section.
If you want to change the amount of days to store the data, you have to change the value 'keepData'. If you want to keep the data for ever you just need to set it to "-1". If you want to clear the database, just set the value to "0".
To-Do
- Look up specific worlds
If a player were to mine something with silktouch, place it and then mine it. Would it then be detected as mining any ore? If so that's very bad.
Looks promising!
Some sort of "Xray leaderboard" would be very useful. Could be used to rank players from highest to lowest on certain ore percentages.
@darelajnifahrezi
?
what the ip
I like it, keep it up!