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 (Text):
    1. 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 (Text):
    1. #Minecraft server properties
    2.  
    3. #Tue Nov 06 14:14:55 EST 2012
    4.  
    5. generator-settings=2;7,52x24;2
    6.  
    7. allow-nether=false
    8.  
    9. level-name=creative
    10.  
    11. enable-query=false
    12.  
    13. allow-flight=false
    14.  
    15. server-port=25565
    16.  
    17. level-type=FLAT
    18.  
    19. enable-rcon=false
    20.  
    21. level-seed=
    22.  
    23. server-ip=
    24.  
    25. max-build-height=256
    26.  
    27. spawn-npcs=true
    28.  
    29. white-list=true
    30.  
    31. spawn-animals=true
    32.  
    33. snooper-enabled=true
    34.  
    35. hardcore=false
    36.  
    37. texture-pack=
    38.  
    39. online-mode=true
    40.  
    41. pvp=true
    42.  
    43. difficulty=1
    44.  
    45. enable-command-block=true
    46.  
    47. gamemode=1
    48.  
    49. max-players=20
    50.  
    51. spawn-monsters=true
    52.  
    53. generate-structures=true
    54.  
    55. view-distance=10
    56.  
    57. spawn-protection=16
    58.  
    59. motd=A Minecraft Server
    60.  
    61.  
    Please tell me if I did something wrong and/or if you need more information. :D
     
  2. Offline

    TnT Retired Staff

    My BukkitDev Profile
    My Plugins (2)
    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"
     
  4. Offline

    TnT Retired Staff

    My BukkitDev Profile
    My Plugins (2)
    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.
     
  6. Offline

    TnT Retired Staff

    My BukkitDev Profile
    My Plugins (2)
    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?
     
  8. Offline

    TnT Retired Staff

    My BukkitDev Profile
    My Plugins (2)
    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
     
  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
     
  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.
     
  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.
     
  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

    My BukkitDev Profile
    My Plugins (0)
    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