Выдача экспы игроку

Discussion in 'Разработка плагинов' started by Xiadner, 7/8/16.

  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
We welcome you on our site. This site is devoted to the Nukkit project and all that is connected with him. Here you can communicate, download plugins, also many other things get acquainted! Register the account right now :3
  1. Xiadner

    Xiadner Пользователь

    Messages:
    1
    Likes Received:
    0
    Minecraft:
    Xiadner
    Какой функцией можно выдать опыт игроку? Нашел только класс XpCommand, а дальше что с ним делать так и не могу понять.
     
  2. Pub4Game

    Pub4Game Модератор всея Nukkit.ru Moderator

    Messages:
    62
    Likes Received:
    32
    Minecraft:
    Pub4Game
    PHP:
    ((Playersender).setExperience(010);

    0 - кол-во опыта.
    10 - кол-во уровней, которое будет установлено игроку.
     
    MrPVB likes this.

Share This Page