Command Block Doesn't Work

Discussion in 'Bukkit Help' started by FavsCo, Nov 6, 2012.

  1. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I am going to make a new creative server and I want to be able to make redstone contraptions with the new command block. I researched a bit and found out that there are certain things I must do in order to us the command block. I must be an OP in creative mode and I must have
    Code:
    enable-command-block=true
    in the server.properties.

    But for some reason the command block doesn't seem to work and I don't know why. I know how to use the block with the commands because I have tried it out in SP so I am not typing in a wrong command. I have bukkit version 1.4.2-R0.3 if it helps. Also, here is my server.properties file:
    Code:
    #Minecraft server properties
     
    #Tue Nov 06 14:14:55 EST 2012
     
    generator-settings=2;7,52x24;2
     
    allow-nether=false
     
    level-name=creative
     
    enable-query=false
     
    allow-flight=false
     
    server-port=25565
     
    level-type=FLAT
     
    enable-rcon=false
     
    level-seed=
     
    server-ip=
     
    max-build-height=256
     
    spawn-npcs=true
     
    white-list=true
     
    spawn-animals=true
     
    snooper-enabled=true
     
    hardcore=false
     
    texture-pack=
     
    online-mode=true
     
    pvp=true
     
    difficulty=1
     
    enable-command-block=true
     
    gamemode=1
     
    max-players=20
     
    spawn-monsters=true
     
    generate-structures=true
     
    view-distance=10
     
    spawn-protection=16
     
    motd=A Minecraft Server
     
    
    Please tell me if I did something wrong and/or if you need more information. :D

    This post has been edited 1 time. It was last edited by TnT Nov 6, 2012.
  2. Offline

    TnT Retired Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What command did you try in your command block? Was it a plugin command, or a vanilla command?
  3. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I used "give @p 1" as a test command but it didn't work i even tried adding "/give favsco 1"

    This post has been edited 1 time. It was last edited by TnT Nov 6, 2012.
  4. Offline

    TnT Retired Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What plugins are you using?
  5. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    These are all the plugins jar files:
    Authme-2.6.6
    DisguiseCraft
    Essentials chat/antibuild/spawn/protect
    Factions
    Modifyworld
    Multiverse-Core2.4
    Multiverse-Inventories2.5
    NoCheatPlus
    PermissionsEx
    Plugin Metrics
    TimTheEnchanter
    Worldedit
    Worldguard
    Each one is the latest build. I downloaded them all today.

    This post has been edited 1 time. It was last edited by TnT Nov 6, 2012.
  6. Offline

    TnT Retired Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @FavsCo
    I believe Essentials overrides the /give command. Try removing all plugins and see if it works then.
  7. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Okay, it works now but I still have two questions.

    One, when I enter the give command, it shows in the chat that the command has been executed by the command block but when I push "E" to see my inventory, I don't see the item that was given to me. I found out that if I look at my inventory through a chest I will be able to see the items. So this means it's a client sided glitch. Any way to fix it? It's not that big of a deal though :p

    Two, so I cannot have the essentials plugin if I want to use the command block? Is there any way I can disable the give command from essentials so it wont be overridden like you said?

    This post has been edited 1 time. It was last edited by mbaxter Nov 6, 2012.
  8. Offline

    TnT Retired Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can you test that on a basic Minecraft server? Would be good to know if this is an issue with CraftBukkit or the vanilla Minecraft Server.

    Essentials needs to fix their plugin to allow this to function. I use command blocks with WeatherRestrictions to clear the rain, and I had to use the command /wr clear <worldname> instead of the alias /clearrain, since the plugin has to register its commands with the server, and aliases do not work at this time. Perhaps you can find a similar workaround with Essentials. I do not use that plugin, so I do not know of a workaround myself.
  9. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh ok so i will find a different plugin other than essentials until they fix this problem. Btw when my friend came on the server, the client sided glitch stopped for some reason. :D now the item appears instantly in the player's inventory. Thank You for your help :3

    This post has been edited 1 time. It was last edited by TnT Nov 6, 2012.
  10. Offline

    McMonkeycraft

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Command blocks dosn't work on my bukkit server either! and i have no plugins what can i do?
    i've set command-block:true
    but when i try to use command blocks on my server it says:command blocks is not activated

    This post has been edited 1 time. It was last edited by TnT Nov 11, 2012.
  11. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    EDIT: i just tried /give @p cake myself with essentials, worked perfectly. i dont think the issue is essentials. the /g alias worked aswell.

    This post has been edited 3 times. It was last edited by necrodoom Nov 11, 2012.
  12. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    confirmed: essentials devbuild for 1.4.2, along with bukkit 2455 work fine with no errors. @FavsCo please list your plugin versions.
  13. Offline

    Tox1cGamer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i have the same problem
  14. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sorry, I didn't check back on this post until now. The essentials I used was version 2.9.5. Well at least that's what it says when I do /essentials :p . I looked for information on the bukkit dev page and it says that 2.9.5 is not updated for minecraft 1.4.2. I am going to download the dev. build and see if it works.

    Update:
    The new dev. build (2.9.638) for essentials seems to work with some of the commands the CommandBlock can execute. I tried the give, say, tell and tp commands. All of the commands I tried work except for the tp command. I suppose this is expected since the build is still being developed .

    Update:
    An idea occured and I typed in the command block, tppos @p 0 53 0, and it worked! The tppos command is the command that essentials uses to teleport a player to a specific coordinate. My guess is that essentials overrides the normal vanilla tp command.
    Also, I noticed that in this dev. bulid (2.9.638) of essentials, the 2 splash potions for NightVision and the 2 splash potions for Invisibility do not work. The bottle potions for both of them do work.

    This post has been edited 2 times. It was last edited by FavsCo Nov 14, 2012.
  15. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    dont work how?
  16. Offline

    FavsCo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    They don't work as in when you throw the splash potions, the effects they are supposed to give doesn't occur. So if I throw a splash potion of invisibility at myself, I will NOT become invisible.
  17. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    cant replicate using that essentials devbuild.
  18. Offline

    PapiDimmi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a problem so if people should tp to a place when pressing a button, hitting a lever, etc., I must do in the command block:
    /warp @p/a/r [warpname]
    instead of just tp! I tried:
    /tppos @p/a/r [position]
    but didn't work :(
    I also tried:
    /tp @p/a/r [position]
    but didn't work :(
  19. Offline

    Necrodoom

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    all 3 work fine for me. please specify what exactly you type.

Share This Page