1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Minecraft Commandblock

Discussion in 'Minecraft' started by TheAlphaGuarD, Jan 22, 2016.

Thread Status:
Not open for further replies.
  1. TheAlphaGuarD

    TheAlphaGuarD Well-Known Adventurer VIP

    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    46
    Minecraft:
    Hey guys. I want to make an Teleporter for my vanilla minecraft Server but i want that the Teleportation have a price. I dont know how i can do that so pls help :).
     
  2. DanMetroArnold

    DanMetroArnold DMA HERO

    Messages:
    81
    Likes Received:
    20
    Trophy Points:
    49
    Guild:
    Minecraft:
    Uhh... Todos los personas el la foro No Comprenden Aleman aqui. Solo español y ingles (Porque yo traduzco)

    Uhh... Everyone here on the forums don't understand German. Only Spanish and English (Because I translate)
     
  3. TheAlphaGuarD

    TheAlphaGuarD Well-Known Adventurer VIP

    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    46
    Minecraft:
    I translated it :D was a fail :p
     
  4. Arreme

    Arreme Veteran, Learning Game Design VIP+

    Messages:
    378
    Likes Received:
    328
    Trophy Points:
    83
    Minecraft:
    Ex: Price is Diamond. You can use the command /clear and something more (just google it) for removing x ammount of items of a player. If so, put a comparator behind the command block and then another one, with the /tp @x × × ×

    Hope i helped you ;).
     
  5. TheAlphaGuarD

    TheAlphaGuarD Well-Known Adventurer VIP

    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    46
    Minecraft:
    hmmm i think you dont helped me xD i know the TP command i have a quiet bit of knowlege but i dont know how to check if the have diamonds and remove them but only the ammount what the price is

    #bestenglish
     
  6. Zelefant

    Zelefant wizard fortress will return one day

    Messages:
    4,929
    Likes Received:
    7,927
    Trophy Points:
    215
    Guild:
    Minecraft:
    Let's say you need 5 XP levels to teleport.

    /testfor @p[lm=5]
    place comparator and next command block

    /xp @p[lm=5] -5L
    place repeater and another command block

    /tp @p (x) (y) (z)

    hope i helped
     
    TheAlphaGuarD likes this.
  7. TheAlphaGuarD

    TheAlphaGuarD Well-Known Adventurer VIP

    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    46
    Minecraft:
    Yeah thats nice :) its possible to activate the first commandblock with a range? somethink like a test if the player is standing on a block. Dont want to use Buttons, leaver, and so on. The should just go onto a block and i should be done.
     
  8. Zelefant

    Zelefant wizard fortress will return one day

    Messages:
    4,929
    Likes Received:
    7,927
    Trophy Points:
    215
    Guild:
    Minecraft:
    use a fill clock (tutorials are on youtube)
    /testfor @p[r=3,lm=5] (Make sure that command block is right under the block)
    place comparator
    /xp @p[r=3,lm=5] -5L
    place repeater
    /tp @p[r=3] x y z
     
    TheAlphaGuarD likes this.
  9. TheAlphaGuarD

    TheAlphaGuarD Well-Known Adventurer VIP

    Messages:
    19
    Likes Received:
    2
    Trophy Points:
    46
    Minecraft:
    Okay nice :) got it
     
Thread Status:
Not open for further replies.