Сборки серверов

СливПлатные

Новые сообщения

Сейчас онлайн

  • sw3ens
  • Felleus Development
  • DoBidoV
  • bishepp
  • Iriskas
  • kolyamips
  • SunsetRQ7_
  • NevileeV
  • Kamilo_Meow
  • eblan228$$$
  • OderPrince
  • SeaCore
  • MrPorshe
  • itsDesterYT
  • kirilltwice
  • DAFSSS11
  • aristokrafter
  • ANDEREEEEEEEEEEEEEY
  • undefined322
  • mmatvie
  • hatless
  • Gazmanov
  • Yung
  • artemla49
  • trevorxxx
  • Steve150634
  • Karakatoka
  • br1ckv73
  • damaizer
  • Zebka_
  • Rompix
  • LiSnow
  • WoWKiller22
  • savagetheunicorn
  • fgfhgvjgggjgjg
  • Bobraaaa
  • PIRATESKILL
  • Blackcat
  • stussywaves
  • ExstazzyOnlyNe
  • KonyTT
  • hai1004
  • Axile7
  • SLIMIK
  • neklol
  • Nabes
  • Absolutely
  • ngohoanglong2704
  • GaurangPro20
  • mohammed_iron
  • crash253egf
  • Arisu
  • fedorov
  • Kont
  • Flysok
  • Pomachka58BW
  • OverwriteMC
  • 121111123
  • Pazetch
  • Padomipa
  • MrSoup

Инструкция Грамотная настройка Plhide PRO

Приветствую. В этой теме я объясню как правильно настраивать данный плагин.
Plhidepro
Эта инструкция для ПЛАТНОЙ версии плагина.
Советую читать внимательно и выполнять действия по порядку как в этой теме. Мы настроим его так чтобы каждая группа имела только свои команды и была наследственность - к примеру чтоб группа vip наследовала команды default.
Порядок действий:
После установки плагина и перезагрузки сервера в директории plugins появляется папка Pl-Hide-Pro
Заходим туда и открываем файл config.yml.
Вот его дефолтный конфиг который мы переделаем под себя:
config.yml:
#
#More information about how to set up the plugin can be found in the wiki
# https://github.com/Nononitas/Plugin-Hide-Pro/wiki
#

#Config version. Don't change!
version: 14

debug: false

#Stay on the newest version to get better features!
#Enable or disable automatic ingame update notification on join
update-notify: true

#Set this to TRUE if you are using the BUNGEECORD/VELOCITY version
#!!!!!If true, every feature except the op protection will be DISABLED in this configuration. Use the configuration of the proxy plugin to configure the plugin!!!!!!
proxy-mode: false

#OP-protection: Player can only be op'ed if they are in the "allowed-operators" list
#The list also supports UUIDs
op-protection: false
allowed-operators:
  - Player1
  - Player2
#If you try to OP someone who isn't in the list
op-message: "&cThe Player isn't a listed operator!"
#Players who are operators and are not in the list can't connect and will be deop'ed.
unauthorized-operator-kick-message: '&cYou are not allowed to be an operator'

#Message shown if you type /pl | Enter none to disable | Players with the permission plhide.bypass.pl-message will see the real plugins when executing /plugins
/pl-message: 'Plugins (0):'

#Changes the server brand in the upper left of the f3 debug screen
f3-server-brand: '&3Plugin&7-&3Hide&7-&6Pro'
replace-f3-server-brand: true

#Automatically makes the base commands in lower case for version 1.18+
#For example: "/WarP Resources" will be changed to "/warp Resources"
auto_lowercase_base_commands: true

#Fixes an exploit that crashes a Minecraft server through tab-completion, by producing a stackoverflow in Mojang's Brigadier API
#This is not a 100% fix, as it doesn't change the NBT-reading, but merely tries to predict the exploit by interpreting the tab-completion.
#Only relevant for versions from 1.13-1.20.4. In newer 1.20.4 builds the exploit is already fixed (Paper 1.20.4 Build 427 and higher)
completion_exploit_fixer:
  enabled: true
  should_kick:
    enabled: true
    message: "Invalid Completion"


groups:
  #If no group is set via the permission plhide.group.<group> this will be used
  #Do not rename the default group!
  default:
    #The list of commands whose execution will be allowed only
    commands:
      - spawn
      - tpa
      - tpaccept
      - tpdeny
      - pay
      - money
      - balance
      - warp
      - msg
      - r
    #The list of commands that will be made visible only in tabcomplete
    tabcomplete:
      - spawn
      - tpa
      - tpaccept
      - tpdeny
      - pay
      - money
      - balance
      - warp
      - msg
      - r
    #If a player is in two groups, the group with the higher priority number is used
    #The minimum value is 0
    priority: 0
    #The message if you type a blocked command | Enter none to disable | %player% will be replaced with the player-name
    blocked-command-message: "Unknown command. Type \"/help\" for help."
    #Here you can add other groups: The commands and tab completion from the "inherited groups" will be added to this group
    #Read more here https://github.com/Nononitas/Plugin-Hide-Pro/wiki/Group#inheritance
    #The group modes are taken from the parent group, in this case the parent group is "default"
    inherited-groups:
      - exampleGroup

  #This group will remove all commands from the tab complete and block them from being executed
  #Give the player the plhide.group.test permission to use the group
  Test:
    commands: []
    tabcomplete: []
    priority: 1
    blocked-command-message: "Unknown command. Type \"/help\" for help."
    inherited-groups: []
  #This group will be added AUTOMATICALLY if you are an operator
  #Leave it commented out to keep it disabled
#  op:
#    commands: []
#    tabcomplete: []
#    priority: 10
#    blocked-command-message: "Unknown command. Type \"/help\" for help."
#    inherited-groups: []
  #This group will be added AUTOMATICALLY if you have * permissions
  #Leave it commented out to keep it disabled
#  "*":
#    commands: []
#    tabcomplete: []
#    priority: 11
#    blocked-command-message: "Unknown command. Type \"/help\" for help."
#    inherited-groups: []
По желанию можем включить защиту опки чтобы только у нас она могла быть. Для этого ставим op-protection: true и ниже в allowed-operators: свой ник
Далее рассмотрим параметр /pl-message: 'Plugins. Он выводит фейковый список плагинов. Туда можете писать любое сообщение и оно выведется игроку который выполнит данную команду.
Далее мы можем сменить название сервера которое отображается в F3, для этого на 30 строке вводим любое название, а на 31 ставим true
f3-server-brand: '&c&lTest &a&lCraft'
replace-f3-server-brand: true

Теперь перейдём к самому главному.
Начнём с группы игрок. У меня она в конфигах называется Default.
Я сократил команды чтобы просто показать пример.
commands: тут мы указываем все команды которые доступны этой группе
tabcomplete: а тут указываем те, которые могут быть заполнены через таб.
Чтобы разблокировать все команды плагина надо просто написать plugin:название, в моём случае это плагин mcmmo. Если у вас стоит CMI лучше будет его тоже указать чтобы по отдельности не добавлять каждую команду.
Так-же если у вас установлен плагин который позволяет кликать в чате и выполнять команду, советую в конфиг добавить plugin:cmil, так как через него множество плагинов и работает подобным образом.
ВАЖНО - теперь нам нужно выдать группе default разрешение plhide.group.default
Для дефолтной группы ставим приоритет - 0, для всех остальных 1

default group:
groups:
  # If no group is set via the permission plhide.group.<group> this will be used
  # Do not rename the default group!
  default:
    # The list of commands whose execution will be allowed only
    commands:
    - spawn
    - tpa
    - tpaccept
    - tpdeny
    - plugin:mcmmo
    # Список команд, которые будут видны только в подсказках аргументов
    tabcomplete:
    - spawn
    - tpa
    - tpaccept
    - tpdeny
    - plugin:mcmmo
    # If a player is in two groups, the group with the higher priority number is used
    # The minimum value is 0
    priority: 0
    # The message if you type a blocked command | Enter none to disable | %player% will be replaced with the player-name
    blocked-command-message: Unknown command. Type "/help" for help.
    # Here you can add other groups: The commands and tab completion from the "inherited groups" will be added to this group
    # Read more here https://github.com/Nononitas/Plugin-Hide-Pro/wiki/Group#inheritance
    # The group modes are taken from the parent group, in this case the parent group is "default"
    inherited-groups:
    - exampleGroup

А теперь добавим группу выше, допустим это будет VIP.
vip:
  vip:
    commands:
    - hat
    - jump
    - ec
    - enderchest
    tabcomplete:
    - hat
    - jump
    - ec
    - enderchest
    priority: 1
    blocked-command-message: Unknown command. Type "/help" for help.
    inherited-groups:
    - default
Обратите внимание - теперь мы добавили наследование, нужно указать в inherited-groups: группу default, чтобы випы могли использовать команды обычного игрока. Не забываем группе vip дать разрешение plhide.group.vip
Подобным образом настройте все имеющиеся группы и переходите к следующему этапу который я расписал ниже.
Самый важный и обязательный этап - настроить для себя байпассы чтобы иметь доступ ко всем имеющимся командам на сервере. Без этого плагин вёл себя очень странно и мне были доступны все команды кроме тех которые были в этом конфиге.
1. Выдаём СЕБЕ на ник такие разрешения:
permissions:
plhide.blacklist.*
plhide.unblock-plugin-named-commands.*
plhide.group.bypass

2. В конце конфига вставляем такое содержимое:

bypass в config.yml:
  Bypass:
    commands: []
    tabcomplete: []
    priority: 20
    blocked-command-message: Unknown command. Type "/help" for help.
    inherited-groups: []
Готово. Сохраняем конфиг, перезагружаем и готово.
 
Lonnory
а как скрыть админский варп для игроков допустим /warp adm как её убрать не просто команду а именно после команды "adm"
 
AllFiRE
@Lonnory, в про версии не отображаются команды на которые у игрока нет прав...
Я думаю что это так и работает, тебе просто нужно установить ограничение на варп правами...
 
hyXip12
Обратите внимание, данный пользователь получил бан от администрации проекта.
Не нарушайте правила проекта, чтобы избежать подобной блокировки.
Гайд полезный но мне лень делать это все
 
K
есть варик как в бесплатной версии разблокировать все команды плагина одной строкой?
 
R
@KILLER42, Чел спасибо, незнаю че кактус там пукнул, но конкретно мне ты очень сильно помог. Хз, я и байпасы выдавал, и вписывал все группы, и хр###н пойми что хочет плагин. То дублирующиеся команды не работают, то у меня все работает у других все блочится... Крч спасибо большое, очень помог. На деле даже купил бы этот гайд😅 Кроме шуток, очень помог, и я правда символический касарик готов кинуть🫠
 
VuQuang
có ai biết tôi đã mắc lỗi gì không tôi đã đặt các lệnh cho thành viên như bình thường và tôi tải lại plugin thì nó lại bị out khỏi máy chủ và dòng hiện tại như KHÔNG! Hãy giúp tôi với T_T1737131595168
 
ВерхНиз