entering text in chat

  • bit of an update. the /ap command when run from player command causes the ap listener to stop responding as well as my on listeners.

    this was my fix in the case that this is ever useful to anyone else.


    Code
    else if (event.getKeyCode() == KeyInput.KEY_Y && player.hasAttribute("noap") == (true)){
    PlayerCommandEvent showareas = new PlayerCommandEvent(player, "/showareas");
    player.setAttribute("ap", "ap");
    player.deleteAttribute("noap");
    triggerEvent(showareas);
    }else if (event.getKeyCode() == KeyInput.KEY_Y && player.hasAttribute("ap") == (true)){
    PlayerCommandEvent hideareas = new PlayerCommandEvent(player, "/hideareas");
    player.deleteAttribute("ap");
    player.setAttribute("noap", "noap");
    triggerEvent(hideareas);
  • Any idea when this will be?

    Well, that's a good question :saint: It's unfortuantely a bit difficult to give an ETA for the new API... once the world generation update is ready, we will probably have a bit more time to work on the API. What's still missing is the UI part, database handling and custom asset handling (models, textures etc, and everything related to that, e.g. WorldElements), as well as a bunch of events and functions :silenced:

  • Well, that's a good question :saint: It's unfortuantely a bit difficult to give an ETA for the new API... once the world generation update is ready, we will probably have a bit more time to work on the API. What's still missing is the UI part, database handling and custom asset handling (models, textures etc, and everything related to that, e.g. WorldElements), as well as a bunch of events and functions :silenced:

    Ah so just a couple of weeks then? :crazy:

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!