Spigot Blocks To Commands v5.0.0-beta.6

Allows player to assign a command to any block in-game | Make any block run a command!

  1. Please add this plugin for 1.8 :D
     
  2. Hey im getting this error in console. 1.13.2 spigot server


    [ERROR] Could not pass event PlayerInteractEvent to BlocksToCommands v3.12

    org.bukkit.event.EventException: null

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:316) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:304) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:271) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.BlockRedstoneOre.stepOn(BlockRedstoneOre.java:33) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.Entity.move(Entity.java:840) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityLiving.a(EntityLiving.java:1951) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityHuman.a(EntityHuman.java:1509) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityLiving.movementTick(EntityLiving.java:2283) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityHuman.movementTick(EntityHuman.java:403) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityLiving.tick(EntityLiving.java:2098) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityHuman.tick(EntityHuman.java:147) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.EntityPlayer.playerTick(EntityPlayer.java:379) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.PlayerConnection.tick(PlayerConnection.java:140) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:230) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:119) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:994) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-1a3504a-dfa7583]

    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]

    Caused by: java.lang.NullPointerException
     
  3. Any ideas
    Code (Text):

    > [15:58:00 ERROR]: Could not pass event PlayerInteractEvent to BlocksToCommands v3.12
    java.lang.NullPointerException: null
    at za.co.wihan.Listeners.PlayerInteract.onInteract(PlayerInteract.java:53) ~[?:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor462.execute(Unknown Source) ~[?:?]
    at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.13.2.jar:git-Paper-645]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.13.2.jar:git-Paper-645]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66) ~[patched_1.13.2.jar:git-Paper-645]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:520) ~[patched_1.13.2.jar:git-Paper-645]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:320) ~[patched_1.13.2.jar:git-Paper-645]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:287) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.BlockRedstoneOre.stepOn(BlockRedstoneOre.java:33) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.Entity.move(Entity.java:883) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityLiving.a(EntityLiving.java:2028) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityHuman.a(EntityHuman.java:1552) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityLiving.movementTick(EntityLiving.java:2365) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityHuman.movementTick(EntityHuman.java:422) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityLiving.tick(EntityLiving.java:2135) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityHuman.tick(EntityHuman.java:159) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.EntityPlayer.playerTick(EntityPlayer.java:401) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.PlayerConnection.tick(PlayerConnection.java:147) ~[patched_1.13.2.jar:git-Paper-645]
    at com.denizenscript.denizen.nms.impl.packets.handlers.AbstractListenerPlayIn_v1_13_R2.tick(AbstractListenerPlayIn_v1_13_R2.java:60) ~[?:?]
    at net.minecraft.server.v1_13_R2.NetworkManager.a(NetworkManager.java:271) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.ServerConnection.c(ServerConnection.java:129) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1132) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:940) ~[patched_1.13.2.jar:git-Paper-645]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:837) ~[patched_1.13.2.jar:git-Paper-645]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_212]
     
     
  4. Have you tried using https://www.spigotmc.org/resources/commandblocks.62720/
     
  5. Isz

    Isz

    If run from console is false, how do you give players permission? They have btc.use which works fine for commands running through console but not for commands through the player.
     
  6. Hello!I have 2 features suggestions :
    1)Separate permissions for different blocks (like imagine having 2 buttons,and player would be able to use first but not second,because he has btc.use.firstbutton and not btc.use.secondbutton.
    2)Adding "Entity to commands",if possible even.Would work same way BTC does,but with entities instead.
    Sorry if plugin is no longer supported.
     
  7. can you add option "Cooldown" for Blocks?
     
  8. It is currently in the works. It is proving to be an interesting thing to implement, but I will push an update with it soon
     
    • Agree Agree x 1
  9. Would be great if you were able to put commands to skulls.
    I want to put skulls in my lobby that look like an i for information. When the player clicks it, the player gets some information, like a tutorial.

    So far a really awesome plugin!
     
  10. Please install skull support! This is a very useful feature.