Разрешается выкладывание кода, файлов конфигураций, логов и т.д. только под BB-код CODE
- Плагин
- Interactions
- Ядро сервера
- Paper
- Версия сервера
- 1.19
- Память сервера ОЗУ
- 2Gb
Дело в том,что в файле изменил настройки плагина.Перезагружаю сервер - настройки возвращаются в прежние.В самом плагине InteInteractions меняется конфиг,но не меняется файл conversations.
Вот эти настройки возвращаются на прежние.
Вставляю текст,после перезагрузки сервера - пропадает.
Вам необходимо зарегистрироваться для просмотра изображений-вложений
Вот эти настройки возвращаются на прежние.
Код:
starts_with:
- NPC named Стражник
- NPC with id 21
name: '&a&lGuard'
start_conversation_radius: 0
end_conversation_radius: 0
block_movement: false
slow_effect: false
save_conversation_progress: false
requires_permission: false
conversation:
conversation1:
dialogue:
dialogue1:
text:
- '&7Hello adventurer, welcome to the city of'
- '&f&lArgond&7. A magnificent place isn''t it?'
time: 4
dialogue2:
text:
- '&7Can I help you with something?'
time: 2
options:
option1:
text: '&eTell me about the city.'
start_conversation: conversation2
option2:
text: '&eWho are you?'
start_conversation: conversation3
option3:
text: '&eI am kind of a hero here.'
start_conversation: conversation4
requires:
- '%player_level% >= 20'
option4:
text: '&eBye.'
start_conversation: conversation7
random_dialogue: false
conversation2:
dialogue:
dialogue1:
text:
- '&7All began 350 years ago when the...'
time: 3
dialogue2:
text:
- '&e&o(You start to realice that asking that question'
- '&e&owas a really bad idea, now you have to hear the'
- '&e&oentire history of the city...)'
time: 6
actions:
- 'give_potion_effect: BLINDNESS;180;1'
- 'give_potion_effect: CONFUSION;180;1'
show_name: false
dialogue3:
text:
- '&7And that''s how I ended up here, guarding the'
- '&7city walls.'
time: 4
actions:
- 'remove_potion_effect: BLINDNESS'
- 'remove_potion_effect: CONFUSION'
start_options: conversation1
random_dialogue: false
conversation3:
dialogue:
dialogue1:
text:
- '&7I am a simple man, making his way through'
- '&7the world.'
time: 4
start_options: conversation1
random_dialogue: false
conversation4:
dialogue:
dialogue1:
text:
- '&7Wait a minute... Are you &b&l%player%&7?'
time: 2
conditional_dialogue:
conditional_dialogue1:
requires:
- '%interactions_has_dialogue_guard1.conversation5.dialogue1% == true'
start_conversation: conversation9
options:
option1:
text: '&eYes I am.'
start_conversation: conversation5
option2:
text: '&eNo, I am just kidding.'
start_conversation: conversation6
random_dialogue: false
conversation5:
dialogue:
dialogue1:
text:
- '&7My respects to you! If you need something'
- '&7you just need to ask!'
time: 4
start_options: conversation1
save_dialogue_to_player: true
random_dialogue: false
conversation6:
dialogue:
dialogue1:
text:
- '&7Haha, very funny, get out of here.'
time: 2
random_dialogue: false
conversation7:
dialogue:
dialogue1:
text:
- '&7Good luck!'
time: 1
conditional_dialogue:
conditional_dialogue1:
requires:
- '%interactions_has_dialogue_guard1.conversation5.dialogue1% == true'
start_conversation: conversation8
random_dialogue: false
conversation8:
dialogue:
dialogue1:
text:
- '&7May the stars guide you, hero of Argond!'
time: 2
random_dialogue: false
conversation9:
dialogue:
dialogue1:
text:
- '&7Yes, you already told me that!'
time: 2
start_options: conversation1
random_dialogue: false
Последнее редактирование модератором: