## 要求
[PlaceholderAPI](https://www.spigotmc.org/resources/placeholderapi.6245/) ||
[NBT-API](https://modrinth.com/plugin/nbtapi)
## 英文
This plugin allows you to create captivating cutscenes with customizable camera movements, viewpoint settings, executing commands when transitioning between points, and many other features for complete immersion.
You can set a location that triggers a cutscene when entered. Additionally, you can assign a cutscene to play when a player joins the server or a specific world.
The plugin folder contains a titles directory, where each animation is stored in a separate file. For each frame, you can configure the following parameters:
- text for title, subtitle, and actionbar;
- sound;
- display time;
- screen delay;
- fade-out time.
To make it easier to understand, an example file is created automatically.
## 俄文
Этот плагин позволяет создавать увлекательные кат-сцены с настройкой движения камеры, точек обзора, выполнением команд при переходе между ними и многими другими возможностями для полного погружения.
Вы можете задать локацию, при входе в которую будет запускаться катсцена. Также можно установить катсцену, которая будет воспроизводиться при входе игрока на сервер или в определённый мир.
В папке плагина находится папка titles, где каждая анимация хранится в отдельном файле. Для каждого кадра можно задать следующие параметры:
- текст для title, subtitle, и actionbar;
- звук;
- время появления;
- задержку на экране;
- время исчезновения.
Для удобства понимания автоматически создаётся файл example.
### 命令
```
/mf create
- creates a new film and the first point
/mf add_point - adds a new point to the film
/mf edit - opens the GUI to edit the film and configure points
/mf show - displays the camera points of the film
/mf start - starts the cutscene for the player
/mf stop - stops the cutscene for the player
/mf title - starts the title animation for the player
```
### 权限
```
meowfilm.admin - access to all commands
```
另一个标题示例
```
a:
title: '&fH'
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 0.5
out: 0
2:
title: '&fHe'
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 0.5
out: 0
3:
title: '&fHel'
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 0.5
out: 0
4:
title: '&fHell'
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 0.5
out: 0
5:
title: '&fHello'
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 1
out: 0
out: 0
6:
title: ''
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 0.5
out: 0
out: 0
7:
title: '&fHello'
subtitle: ''
actionbar: ''
sound: minecraft:ui.button.click
times:
in: 0
stay: 1
out: 0
```
Config EN
```
points-show-time: 30
messages:
film:
started: Film {film} started for player {player}
created: Film {film} created
removed: Film {film} removed
point:
added: Position added {x} {y} {z} {yaw} {pitch}
use-edit: Use {command} to edit points
errors:
player-not-found: Player not found!
film:
exist: A film with this name already exists
not-exist: A film with this name does not exist
not-entered: Film not entered
player-not-entered: Player not entered
menus:
film:
title: Film Editing
point:
lore:
x: '&7X:&f {value}'
y: '&7Y:&f {value}'
z: '&7Z:&f {value}'
world: '&7World:&f {value}'
yaw: '&7Yaw:&f {value}'
pitch: '&7Pitch:&f {value}'
type: '&7Type:&f {value}'
delay: '&7Delay:&f {value}'
speed: '&7Speed:&f {value}'
commands-count: '&7Commands:&f {value}'
lmb: '&7LMB to change point order'
rmb: '&7RMB to edit'
sort:
cancel: '&7Click to cancel'
lmb: '&7LMB - set before this point'
rmb: '&7RMB - swap with this point'
point-edit:
title: Editing Point {point}
type:
name: Point Type
lore: '&7Set to:&f {value}'
close:
name: Back
position:
name: Position
lmb: LMB - teleport to point
rmb: RMB - move point to player
delay:
name: Delay/Speed
lore: '&7Set to:&f {value}'
lmb: LMB - increase
rmb: RMB - decrease
shift: SHIFT - change by 5
remove:
name: Remove point
point-commands:
title: Set Commands
no-commands: '&7No commands set'
papi: '&7[Supports PlaceholderAPI]'
template: '&7- &f{command}'
lmb: LMB - edit commands
add-button: '&7[a4ec7aAdd&7]'
add-text: '&7Enter a new command in chat without / or type CANCEL to cancel'
canceled: '&7Command addition canceled'
added: '&7Command {command} added'
removed: '&7Command {command} removed'
remove-button: '&7[&cRemove&7]'
world-enter-cutscenes:
ExampleWorld:
cut-scene: none
one-time: true
first-join-cutscene: none
join-cutscene-cooldown: 0
has-resource-pack: false
```
Config RU
```
points-show-time: 30
messages:
film:
started: Фильм {film} начат для игрока {player}
created: Фильм {film} создан
removed: Фильм {film} удалён
point:
added: Позиция добавлена {x} {y} {z} {yaw} {pitch}
use-edit: Используйте {command} для редактирования точек
errors:
player-not-found: Игрок не найден!
film:
exist: Фильм с таким названием уже существует
not-exist: Фильм с таким названием не существует
not-entered: Фильм не введён
player-not-entered: Игрок не введён
menus:
film:
title: Редактирование фильма
point:
lore:
x: '&7X:&f {value}'
y: '&7Y:&f {value}'
z: '&7Z:&f {value}'
world: '&7Мир:&f {value}'
yaw: '&7Yaw:&f {value}'
pitch: '&7Pitch:&f {value}'
type: '&7Тип:&f {value}'
delay: '&7Задержка:&f {value}'
speed: '&7Скорость:&f {value}'
commands-count: '&7Команд:&f {value}'
lmb: '&7ЛКМ для изменения порядка точек'
rmb: '&7ПКМ для редактирования'
sort:
cancel: '&7Нажмите, чтобы отменить'
lmb: '&7ЛКМ - установить перед этой точкой'
rmb: '&7ПКМ - поменять местами с этой точкой'
point-edit:
title: Редактирование точки {point}
type:
name: Тип точки
lore: '&7Установить на:&f {value}'
close:
name: Назад
position:
name: Позиция
lmb: ЛКМ - телепортироваться к точке
rmb: ПКМ - переместить точку к игроку
delay:
name: Задержка/Скорость
lore: '&7Установить на:&f {value}'
lmb: ЛКМ - увеличить
rmb: ПКМ - уменьшить
shift: SHIFT - изменить на 5
remove:
name: Удалить точку
point-commands:
title: Установить команды
no-commands: '&7Команды не установлены'
papi: '&7[Поддержка PlaceholderAPI]'
template: '&7- &f{command}'
lmb: ЛКМ - редактировать команды
add-button: '&7[a4ec7aДобавить&7]'
add-text: '&7Введите новую команду в чат без / или напишите CANCEL для отмены'
canceled: '&7Добавление команды отменено'
added: '&7Команда {command} добавлена'
removed: '&7Команда {command} удалена'
remove-button: '&7[&cУдалить&7]'
world-enter-cutscenes:
ExampleWorld:
cut-scene: none
one-time: true
first-join-cutscene: none
join-cutscene-cooldown: 0
has-resource-pack: false
```