Хостинг серверов Minecraft playvds.com
  1. Вы находитесь в русском сообществе Bukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на русский язык плагины наших собратьев из других стран.
    Скрыть объявление

Помогите Как сделать при телепортации сохранение инвентаря, а после возвращение?

Тема в разделе "Помощь", создана пользователем Halder, 27 июл 2015.

Статус темы:
Закрыта.
  1. Rider3217

    Rider3217 Активный участник Пользователь

    Баллы:
    98
    Имя в Minecraft:
    Planet0111
    Мы тут не в теме друг, они тут ReAction практикуют.
     
  2. Хостинг MineCraft
    <
  3. alexandrage

    alexandrage Администратор

    Баллы:
    173
    Skype:
    alexandr0116
    Ну пусть практикуют на том что не умеет правильно сейвить итемстак.
     
  4. Lyosha12

    Lyosha12 Активный участник Пользователь

    Баллы:
    98
    Skype:
    Lyosha_Hedshot
    Имя в Minecraft:
    Lyosha12
    То же самое: item1:{%varp:RF-Items-Inventory-0%}
    @fromgate, что скажите?
     
  5. Автор темы
    Halder

    Halder Активный участник Пользователь

    Баллы:
    66
    Вот рабочий вариант
    Сохранение
    - var_player_set=id:RF-Items-Inventory-0 value:{%PLAYER_INV:0%}
    - var_player_set=id:RF-Items-Inventory-1 value:{%PLAYER_INV:1%}
    - var_player_set=id:RF-Items-Inventory-2 value:{%PLAYER_INV:2%}
    - var_player_set=id:RF-Items-Inventory-3 value:{%PLAYER_INV:3%}
    - var_player_set=id:RF-Items-Inventory-4 value:{%PLAYER_INV:4%}
    - var_player_set=id:RF-Items-Inventory-5 value:{%PLAYER_INV:5%}
    - var_player_set=id:RF-Items-Inventory-6 value:{%PLAYER_INV:6%}
    - var_player_set=id:RF-Items-Inventory-7 value:{%PLAYER_INV:7%}
    - var_player_set=id:RF-Items-Inventory-8 value:{%PLAYER_INV:8%}
    - var_player_set=id:RF-Items-Inventory-9 value:{%PLAYER_INV:9%}
    - var_player_set=id:RF-Items-Inventory-10 value:{%PLAYER_INV:10%}
    - var_player_set=id:RF-Items-Inventory-11 value:{%PLAYER_INV:11%}
    - var_player_set=id:RF-Items-Inventory-12 value:{%PLAYER_INV:12%}
    - var_player_set=id:RF-Items-Inventory-13 value:{%PLAYER_INV:13%}
    - var_player_set=id:RF-Items-Inventory-14 value:{%PLAYER_INV:14%}
    - var_player_set=id:RF-Items-Inventory-15 value:{%PLAYER_INV:15%}
    - var_player_set=id:RF-Items-Inventory-16 value:{%PLAYER_INV:16%}
    - var_player_set=id:RF-Items-Inventory-17 value:{%PLAYER_INV:17%}
    - var_player_set=id:RF-Items-Inventory-18 value:{%PLAYER_INV:18%}
    - var_player_set=id:RF-Items-Inventory-19 value:{%PLAYER_INV:19%}
    - var_player_set=id:RF-Items-Inventory-20 value:{%PLAYER_INV:20%}
    - var_player_set=id:RF-Items-Inventory-21 value:{%PLAYER_INV:21%}
    - var_player_set=id:RF-Items-Inventory-22 value:{%PLAYER_INV:22%}
    - var_player_set=id:RF-Items-Inventory-23 value:{%PLAYER_INV:23%}
    - var_player_set=id:RF-Items-Inventory-24 value:{%PLAYER_INV:24%}
    - var_player_set=id:RF-Items-Inventory-25 value:{%PLAYER_INV:25%}
    - var_player_set=id:RF-Items-Inventory-26 value:{%PLAYER_INV:26%}
    - var_player_set=id:RF-Items-Inventory-27 value:{%PLAYER_INV:27%}
    - var_player_set=id:RF-Items-Inventory-28 value:{%PLAYER_INV:28%}
    - var_player_set=id:RF-Items-Inventory-29 value:{%PLAYER_INV:29%}
    - var_player_set=id:RF-Items-Inventory-30 value:{%PLAYER_INV:30%}
    - var_player_set=id:RF-Items-Inventory-31 value:{%PLAYER_INV:31%}
    - var_player_set=id:RF-Items-Inventory-32 value:{%PLAYER_INV:32%}
    - var_player_set=id:RF-Items-Inventory-33 value:{%PLAYER_INV:33%}
    - var_player_set=id:RF-Items-Inventory-34 value:{%PLAYER_INV:34%}
    - var_player_set=id:RF-Items-Inventory-35 value:{%PLAYER_INV:35%}
    - var_player_set=id:RF-Items-Inventory-36 value:{%PLAYER_INV:helmet%}
    - var_player_set=id:RF-Items-Inventory-37 value:{%PLAYER_INV:chestplate%}
    - var_player_set=id:RF-Items-Inventory-38 value:{%PLAYER_INV:leggings%}
    - var_player_set=id:RF-Items-Inventory-39 value:{%PLAYER_INV:boots%}
    - CMD_CONSOLE=clear %player%
    Выдача:
    - CMD_CONSOLE=clear %player%
    - item_give=set1:{item1:{%varp:RF-Items-Inventory-0%} item2:{%varp:RF-Items-Inventory-1%} item3:{%varp:RF-Items-Inventory-2%} item4:{%varp:RF-Items-Inventory-3%} item5:{%varp:RF-Items-Inventory-4%} item6:{%varp:RF-Items-Inventory-5%} item7:{%varp:RF-Items-Inventory-6%} item8:{%varp:RF-Items-Inventory-7%} item9:{%varp:RF-Items-Inventory-8%} item10:{%varp:RF-Items-Inventory-9%} item11:{%varp:RF-Items-Inventory-10%} item12:{%varp:RF-Items-Inventory-11%} item13:{%varp:RF-Items-Inventory-12%} item14:{%varp:RF-Items-Inventory-13%} item15:{%varp:RF-Items-Inventory-14%} item16:{%varp:RF-Items-Inventory-15%} item17:{%varp:RF-Items-Inventory-16%} item18:{%varp:RF-Items-Inventory-17%} item19:{%varp:RF-Items-Inventory-18%} item20:{%varp:RF-Items-Inventory-19%} item21:{%varp:RF-Items-Inventory-20%} item22:{%varp:RF-Items-Inventory-21%} item23:{%varp:RF-Items-Inventory-22%} item24:{%varp:RF-Items-Inventory-23%} item25:{%varp:RF-Items-Inventory-24%} item26:{%varp:RF-Items-Inventory-25%} item27:{%varp:RF-Items-Inventory-26%} item28:{%varp:RF-Items-Inventory-27%} item29:{%varp:RF-Items-Inventory-28%} item30:{%varp:RF-Items-Inventory-29%} item31:{%varp:RF-Items-Inventory-30%} item32:{%varp:RF-Items-Inventory-31%} item33:{%varp:RF-Items-Inventory-32%} item34:{%varp:RF-Items-Inventory-33%} item35:{%varp:RF-Items-Inventory-34%} item36:{%varp:RF-Items-Inventory-35%}}
    - ITEM_SLOT=item:{%varp:RF-Items-Inventory-36%} slot:helmet
    - ITEM_SLOT=item:{%varp:RF-Items-Inventory-37%} slot:CHESTPLATE
    - ITEM_SLOT=item:{%varp:RF-Items-Inventory-38%} slot:LEGGINGS
    - ITEM_SLOT=item:{%varp:RF-Items-Inventory-39%} slot:boots
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-0
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-1
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-2
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-3
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-4
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-5
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-6
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-7
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-8
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-9
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-10
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-11
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-12
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-13
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-14
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-15
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-16
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-17
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-18
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-19
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-20
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-21
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-22
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-23
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-24
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-25
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-26
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-27
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-28
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-29
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-30
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-31
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-32
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-33
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-34
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-35
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-36
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-37
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-38
    - VAR_PLAYER_CLEAR=RF-Items-Inventory-39
     
Статус темы:
Закрыта.

Поделиться этой страницей