Search results

  1. Z

    MqttClient

    zatalian updated MqttClient with a new update entry: lever command added Read the rest of this update entry...
  2. Z

    Experimental MqttClient - lever command added

    Mqtt client plugin config.yml: broker: tcp://test.mosquitto.org:1883 events: /nukkit/servername/event/ commands: /nukkit/servername/command/# Events generated by nukkit are translated in mqtt publications and published to "events" mqtt commands published in "commands" can change the state of...
  3. Z

    change lever

    Thanks!
  4. Z

    change lever

    Hi, I'm trying to change the position of a lever from within my plugin. What object/function do i need for that? This is what i have: Block block = Main.getInstance().getServer().getLevelByName(level).getBlock(((Long) position.get(0)).intValue(), ((Long) position.get(1)).intValue(), ((Long)...
  5. Z

    Experimental MqttClient - MqttClient

    Mqtt client plugin config.yml: broker: tcp://test.mosquitto.org:1883 events: /nukkit/servername/event/ commands: /nukkit/servername/command/# Events generated by nukkit are translated in mqtt publications and published to "events" mqtt commands published in "commands" can change the state of...
  6. Z

    MqttClient

    zatalian submitted a new resource: MqttClient - MQTT client plugin Read more about this resource...
  7. Z

    Compile Nukkit plugin

    and here: https://nukkitdocs.readthedocs.io/en/latest/plugins/creating/
  8. Z

    Compile Nukkit plugin

    Have a look here:
  9. Z

    What event is triggered...

    BlockRedstoneEvent solved my problem
  10. Z

    What event is triggered...

    when a lever is switched in the game. More generally, is there a list of events for which i can write an eventhandler and when/why they are triggered? (busy writing an mqtt client plugin)
  11. Z

    SimpleGenerator

    Can you make it so that an item is only generated if the top of the block is empty? Also, where can i find the source code of this plugin?
Top