Mycommand - Сделал команду на RTP но...

Nekit_qq

Пользователь
Сообщения
2
Плагин
Mycommand
Ядро сервера
  1. Spigot
Версия сервера
  1. 1.18+
Ссылка
https://www.spigotmc.org/resources/mycommand.22272/
Я сделал команду на RTP но я хочу что бы после того как игрок двинеться командо отменялась

MOVE_LISTENER: true и Warmup не поможет по скольку у меня в командах написана своя задержка с помощью отображения title

Кто скажет что бы я просто скачал плагин на РТП я вам скажу что нет плагина который мне бы подошел мне нужен такой РТП что бы он тепал игроков в определенные точки на карте надеюсь кто нибудь поможет решить мою проблему.

rtp:
command: /rtp
type: RUN_COMMAND_RANDOM
runcmd:
- '/delaytest1'
- '/delaytest2'
- '/delaytest3'
- '/delaytest4'
- '/delaytest5'
- '/delaytest6'
- '/delaytest7'
- '/delaytest8'
- '/delaytest9'
- '/delaytest10'
- '/delaytest11'
- '/delaytest12'
- '/delaytest13'
- '/delaytest14'
- '/delaytest15'
- '/delaytest16'
- '/delaytest17'
- '/delaytest18'
- '/delaytest19'
- '/delaytest20'
- '/delaytest21'
cooldown: 30
permission-required: false
register: true
error-message: ' &7➥ &fИспользование: &7/rtp'


delaytest1:
command: /delaytest1
type: RUN_CONSOLE
execute_mode: FROM_ANOTHER_COMMAND
runcmd:
- '$text$&7[&6GTM&7] &aВы телепортируетесь через 5 секунд. Не двигайтесь, иначе телепортация будет отменена.'
- '/title $player title ["",{"text":"Телепортация через","color":"yellow"}," ",{"text":"5","color":"green"}," ",{"text":"сек.","color":"yellow"}]'
- '/title $player subtitle ["",{"text":"Не двигайтесь!","color":"red"}]'
- '$delay$'
- '/title $player title ["",{"text":"Телепортация через","color":"yellow"}," ",{"text":"4","color":"green"}," ",{"text":"сек.","color":"yellow"}]'
- '/title $player subtitle ["",{"text":"Не двигайтесь!","color":"red"}]'
- '$delay$'
- '/title $player title ["",{"text":"Телепортация через","color":"yellow"}," ",{"text":"3","color":"green"}," ",{"text":"сек.","color":"yellow"}]'
- '/title $player subtitle ["",{"text":"Не двигайтесь!","color":"red"}]'
- '$delay$'
- '/title $player title ["",{"text":"Телепортация через","color":"yellow"}," ",{"text":"2","color":"green"}," ",{"text":"сек.","color":"yellow"}]'
- '/title $player subtitle ["",{"text":"Не двигайтесь!","color":"red"}]'
- '$delay$'
- '/title $player title ["",{"text":"Телепортация через","color":"yellow"}," ",{"text":"1","color":"green"}," ",{"text":"сек.","color":"yellow"}]'
- '/title $player subtitle ["",{"text":"Не двигайтесь!","color":"red"}]'
- '$delay$'
- '/execute in minecraft:eek:verworld run tp $player -133 53 -100'
- '/title $player title ["",{"text":"Успешная телепортация","color":"green"}]'
- '/title $player subtitle ["",{"text":" ","color":"red"}]'
- '/effect give $player minecraft:invisibility 4'
- '/effect give $player minecraft:slowness 4'
- '/effect give $player minecraft:blindness 4'
delaytimer: 1
 
Назад
Сверху Снизу