Содержание:
Описание плагина XRayDetection:
XRay Detection — это плагин, способный защитить Ваш сервер от читеров, которые используют XRay для быстрого нахождения ценной руды. Метод работы данного плагина заключается в отправке уведомлений о том, когда игрок ломает какую-либо руду. Из плюсов данного плагина можно выделить поддержку базы данных MySQL, хорошую работоспособность, а также и полностью настраиваемый интерфейс, с помощью которого Вы сможете включить или отключить отображение уведомлений для той или иной руды. Данный плагин станет хорошей защитой от читеров на Вашем сервере выживания.
Основные команды плагина XRayDetection:
/xraydetection toggle — переключает видимость уведомлений во время добычи руды.
/xraydetection — открывает меню всех команд плагина.
/xraydetection help — открывает меню помощи по плагину.
/xraydetection stats [никнейм игрока] — показывает статистику добытой руды определённого игрока.
/xraydetection settings — открывает главное меню уведомлений и настройки руд.
Основные права плагина XRayDetection:
— xray.admin — выдаёт доступ ко всем командам плагина.
— xray.notify — выдаёт доступ к команде /xraydetection toggle.
— xray.stats — выдаёт доступ к команде /xray stats [никнейм игрока].
Конфиг плагина XRayDetection:
toggled-true: «&aEnabled the anti-xray notifications»
toggled-false: «&cDisabled the anti-xray notifications»
no-permission: «&cNo permission»
# Settings menu titles
oretoggle-menu-title: «&bOre Toggle Settings»
settingmenu-title: «&bXray Detection Settings Menu»
value-editor-menu-title: «&bValue Editor Settings»
required-ores: 10 #In this example a player must have atleast mined 10 ores in the time set below order to notify staff
mine-duration: 30 #The time range a player has to mine the «required-ores» to send out a notification (10+ ores in 30seconds to notify in this example)
total-ore-notification: «&c[ALERT] &b{player} &7has mined a total of &b{totalores} ores &7in the last &b{time} &7seconds!»
#Toggle ore notifications
coal: true
mined-coal: «&c[X-Ray] &c{player} &7Mined &8Coal, &7the total vein was &8{amount}»
iron: true
mined-iron: «&c[X-Ray] &c{player} &7Mined &fIron, &7the total vein was &f{amount} «
gold: true
mined-gold: «&c[X-Ray] &c{player} &7Mined &6Gold, &7the total vein was &6{amount}»
redstone: true
mined-redstone: «&c[X-Ray] &c{player} &7Mined &4Redstone, &7the total vein was &4{amount}»
lapis: true
mined-lapis: «&c[X-Ray] &c{player} &7Mined &1Lapis, &7the total vein was &1{amount}»
diamond: true
mined-diamond: «&c[X-Ray] &c{player} &7Mined &bDiamonds, &7the total vein was &b{amount}»
emerald: true
mined-emerald: «&c[X-Ray] &c{player} &7Mined &aEmerald, &7the total vein was &a{amount}»
# /xray stats <ign> message
stats-message:
— «&7&m————————————-«
— «&c{player}’s stats»
— «&8Coal: {coal}»
— «&fIron: {iron}»
— «&6Gold: {gold}»
— «&4Redstone: {redstone}»
— «&1Lapis: {lapis}»
— «&bDiamonds: {diamonds}»
— «&aEmeralds: {emeralds}»
— «&7&m————————————-«
use-threat-levels: true
threat-timer: 120
# Amount of ores per amount of time to reach the medium threat level
medium-threat-ores: 50
medium-threat-message: «&b[&f!&b] &cThreat Warning: &c{player} &7is now on a &6&6medium threat level! &b[&f!&b]&b({totalores} in {time} seconds!)»
high-threat-ores: 75
high-threat-message: «&b[&f!&b] &4Threat Warning: &c{player} &7is now on a &4high threat level! &b[&f!&b]&b({totalores} in {time} seconds!)»
threat-check-message: «&c{player}&7 is currently on a &c{threat} &7threat level!»
########################################
########### Permission nodes ###########
########################################
# xray.admin —> allows a player to use the main command
# xray.notify —> allows a player to toggle xray notifications
# xray.stats —> allows a player to view another player’s stats
Как установить плагин?
1. Скачайте плагин.
2. Из архива возьмите скачанный файл и перенесите в папку plugins вашего сервера.
3. Перезапустите сервер.
4. Готово.




