Recent content by Nacio

  1. Nacio

    Question Some inventory events just don't work. At all.

    InventoryOpenEvent doesn't work on opening the player's own inventory, as far as the server is concerned the player always has their own inventory open; make sure you haven't tested if it works using that. InventoryEvent just as many other events that have subclasses can't be listened to...
  2. Nacio

    Question How can you update the server to new versions?

    Stop your server first, take a backup by copying the entire folder (or just the world and plugins if that's all you really care about), replace the .jar you're currently using with the one you want and start your server. Feel free to ask on our Discord for quick support.
  3. Nacio

    Question How fixing Invalid player data?

    Wyślij logi i zobaczymy co da się zrobić.
  4. Nacio

    Solved Unable to send an action bar to a player with the player.sendActionBar() method

    The method takes a Component, if you want to learn how to create those see the Adventure documentation and/or Paper documentation.
  5. Nacio

    Question How to concatenate Component in a single message

    Component result = Component.text() .append(firstComponent) .append(displayName) .build(); You can find the Adventure's docs here: https://docs.advntr.dev/text.html
  6. Nacio

    Solved Clearing crafting slots/item on cursor to prevent inventory exploit

    As far as the server is concerned the player always has their inventory open. I guess try clearing those slots after the PlayerMoveEvent (not sure if that wouldn't also clear them when the player is moved by e.g. water).