A new problem.

Discussion in 'Spigot Plugin Help' started by NoBudy, Jun 7, 2018.

  1. I have this command in mycmd:

    buyplot:
    command: /buyplot
    type: RUN_AS_OPERATOR
    runcmd:
    - $Script$%PlayerData%x=randomnumber%300%
    - $Script$%PlayerData%z=randomnumber%300%
    - /tp $player $PlayerData%x% 4 $PlayerData%z%
    - //pos1 $PlayerData%x%,3,$PlayerData%z%
    - //pos2 $Script$%PlayerData%x+$arg2,3,$Script$%PlayerData%x+$arg3
    - '//walls slab:8'
    - //pos1 $PlayerData%x%,3,$PlayerData%z%
    - //pos2 $Script$%PlayerData%x+$arg2,54,$Script$%PlayerData%x+$arg3
    - /addplot $arg1 buy $arg2*75
    - $text$$aAi cumparat cu succes acest teren&e!
    error-message: '&fFoloseste&e: &c/buyplot <Nume> <Marime(In block-uri)>&e&l!'
    cost: $arg2*75
    register: true
    permission-required: false
    require_all_arguments: true
    delaytimer: 1

    And not work the $PlayerData%x% and $PlayerData%z% placeholders
    And this not teleport me.

    Please help me!
    Thanks!
    (P.S: These texts is in romanian language)