- Баллы
- 66
Создаю меню для плагина Jobs, встретился с такой проблемой:
Меню создано, но при выборе "Устроиться на работу" список работ появляется и сразу проподает.
Меню создано, но при выборе "Устроиться на работу" список работ появляется и сразу проподает.
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: 'Работа'
# rows - the number of rows of the chest - REQUIRED
rows: 3
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'jobs'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note bass'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 341
left-click: true
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
jobsbrowse:
COMMAND: 'jobs browse'
NAME: 'Устроиться на работу'
LORE:
ID: 282
POSITION-X: 3
POSITION-Y: 1
jobsstats:
COMMAND: 'jobs stats'
NAME: 'Статистика профессий'
LORE:
ID: 340
POSITION-X: 5
POSITION-Y: 1
jobsleave:
COMMAND: 'jobsl'
NAME: 'Уволиться с работы'
LORE:
ID: 281
POSITION-X: 7
POSITION-Y: 1
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: 'Работа'
# rows - the number of rows of the chest - REQUIRED
rows: 3
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'jobs'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note bass'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 341
left-click: true
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
jobsbrowse:
COMMAND: 'jobs browse'
NAME: 'Устроиться на работу'
LORE:
ID: 282
POSITION-X: 3
POSITION-Y: 1
jobsstats:
COMMAND: 'jobs stats'
NAME: 'Статистика профессий'
LORE:
ID: 340
POSITION-X: 5
POSITION-Y: 1
jobsleave:
COMMAND: 'jobsl'
NAME: 'Уволиться с работы'
LORE:
ID: 281
POSITION-X: 7
POSITION-Y: 1
JobsBrowse:
# Do you want to show total amount of workers for job in jobs browse window
ShowTotalWorkers: true
# Do you want to show GUI when performing /jobs join command
ShowPenaltyBonus: true
JobsGUI:
# Do you want to show GUI when performing /jobs browse command
OpenOnBrowse: true
# Do you want to show chat information when performing /jobs browse command
ShowChatBrowse: true
# With true left mouse button will join job and right will show more info
# With false left mouse button will show more info, rigth will join job
# Dont forget to adjust locale file
SwitcheButtons: true
OpenOnJoin: true
# Do you want to show total amount of workers for job in jobs browse window
ShowTotalWorkers: true
# Do you want to show GUI when performing /jobs join command
ShowPenaltyBonus: true
JobsGUI:
# Do you want to show GUI when performing /jobs browse command
OpenOnBrowse: true
# Do you want to show chat information when performing /jobs browse command
ShowChatBrowse: true
# With true left mouse button will join job and right will show more info
# With false left mouse button will show more info, rigth will join job
# Dont forget to adjust locale file
SwitcheButtons: true
OpenOnJoin: true
Последнее редактирование: