AntiXray | Full customizable | Luck system | 1.8-1.16 icon

AntiXray | Full customizable | Luck system | 1.8-1.16 -----

Complete antixray plugin, all was customizable (messages, pack, permissions, gui...)



Introduction:
AntiXray is a complete plugin for catch cheater using x-ray.
He works with a luck system, so more the luck of player is high, more he is susceptible of cheating.


You can also use antixray pack if you wan't:
in config.yml:
- switch enable-pack to true
- paste the url pack link in pack-url (pack by default tested only in 1.16)

Commands:
- /luck <player> » see the luck of a player
- /topluck » see the topluck
- /antixray reload » reload the config.yml
- /antixray version » see the version of the plugin
- /antixray alerts » see your alerts state
- /antixray alerts <on/off> » Enable/disable your alerts
- /antixray help » see the help

Permissions:
All of permissions are customizable in config.yml


Default permissions:
/luck » antixray.luck
/topluck » antixray.topluck
/antixray help » antixray.help
/antixray alerts <on/off> » antixray.alerts.toggle
/antixray reload » antixray.reload

Configuration (all is customizable):

Code (Text):

#########################################
#                                       #
#       AntiXray - v1.0.3              #
# Author: SelioZ - Discord: SelioZ#2379 #
#                                       #
# github: https://github.com/SelioZ     #
#                                       #
#########################################
global:
  prefix: '&cAntiXray &7»'
 
permissions:
  luck-command-perm: 'antixray.luck'
  topluck-command-perm: 'antixray.topluck'
  antixray-help-perm: 'antixray.help'
  antixray-alert-toggle-perm: 'antixray.alerts.toggle'
  antixray-reload-config: 'antixray.reload'
ore:
  COAL_ORE:
    luck: 0
    announced: false
    name: 'coal'
  IRON_ORE:
    luck: 0.05
    announced: false
    name: 'iron'
  GOLD_ORE:
    luck: 0.25
    announced: true
    name: 'gold'
  LAPIS_ORE:
    luck: 0
    announced: false
    name: 'lapis'
  REDSTONE_ORE:
    luck: 0.075
    announced: false
    name: 'redstone'
  DIAMOND_ORE:
    luck: 0.85
    announced: true
    name: 'diamond'
  EMERALD_ORE:
    luck: 1
    announced: true
    name: 'emerald'
  #1.16+:
  NETHER_GOLD_ORE:
    luck: 0.20
    announced: false
    name: 'nether gold'
  ANCIENT_DEBRIS:
    luck: 0.90
    announced: true
    name: 'netherite'
 
topluck:
  gui-name: '&eTop luck:'
  head-name: '&6%player%'
  head-description:
  - '&7Luck: &e%luck%'
  - '&7broken blocks: &e%broken-blocks%'
# AntiXray pack block only ressource-pack xray, players with xRay mod or
# modified client bypass antixray pack.
antixray-pack:
  enable-pack: false
  force-pack: false # If player can't install pack, he will be kicked
  pack-url: 'https://bit.ly/3gR3vow' # <- Url of a antixray pack (pack by default created by Phoenix616 (https://www.curseforge.com/minecraft/texture-packs/anti-xray/))
  deny-kick-message: '%prefix% &cYou need to allow ressourcepacks to play on the server.'
  failed-download: '%prefix% &cPack failed to download, please contact a server administrator'
# If player don't place torches, he can't mine
#
# Warning: - A player can change his gamma (see in the dark)
#          - And this option can be boring for the players
#          - /!\ This option can cause lags on your server (if there is a lot of players mining)
#          - It's for his reasons that option is false by default
disable-mining-ondark: false
send-alerts-console: true
disabled-worlds:
- 'nameOfWorldDisabled'
messages:
  permission-wrong: '&cYou do not have permission to use this command'
 
  offline-player-message: '%prefix% &cThe player &e%player% &cis offline'
  luck-usage-message: '&cUsage: /luck <player>'
  luck-message: '%prefix% &cLuck of &e%player%&c: &e%luck%%'
 
  announce-message: '%prefix% &e%player% &7have found 1 &4%block-name% &7(luck: %rounded-luck%%)'
  hover-announce-message: '&7Click to teleport to &e%player%'
  action-on-click: '/tp %staff% %player%'
  console-message: '%player% have found 1 %block-name% (luck: %rounded-luck%)'
 
  inreload-message: '%prefix% &creloading config...'
  reloaded-message: '%prefix% &aConfig reloaded !'
 
  toggled-message: '%prefix% &aYour alerts are enabled'
  untoggled-message: '%prefix% &cYour alerts are disabled'
  enable-alerts-message: '%prefix% &aAlerts switched on !'
  disable-alerts-message: '%prefix% &cAlerts switched off !'
  already-enabled: '%prefix% &cAlerts are already enabled'
  already-disabled: '%prefix% &cAlerts are already disabled'
 
  disable-mining-message: '%prefix% &cYou can not mine in the darkness, place torches !'
 
  help:
  - '%prefix% &aHelp:'
  - '&7- &e/luck <player> &8» &aSee the luck of player'
  - '&7- &e/topluck &8» &aSee the topluck'
  - '&7- &e/antixray reload &8» &aReload config'
  - '&7- &e/antixray alerts &8» &aYour alerts state'
  - '&7- &e/antixray alerts <on/off> &8» &aEnable or disable your alerts'
  - '&7- &e/antixray version &8» &aSee the version of the plugin'
 

Report bugs:
To report bug or if you have ideas to improve the plugin, send me a message on discord.
Discord link: https://discord.gg/GBrBShv
My discord: SelioZ#2379


Don't make a review if you have a bug, go to discord and let me help you !
[​IMG]
Don't forget to make a review if you like the plugin ;)
Resource Information
Author:
----------
Total Downloads: 2,310
First Release: Aug 7, 2020
Last Update: Dec 5, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings