Can I issue console player commands? #137


  • New
  • Other
Open
  • _ForgeUser6874413 created this issue Apr 2, 2014

    Short description about the bug/problem:
    In the BossShop configure .jar, the reward type can be set to 'command', or 'playercommand'.
    I want to allow players to buy 'flying'. They can either buy access to the command 'fly', or they can buy the action of the console doing /fly for them so it is enabled forever for them; however, this requires a player name in the command, and I don't see how I can do that with this configuration program.
    If I set the reward as a playercommand, it will not work because the player doesn't have permission for the command to execute.

    What steps will reproduce the problem?
    1.
    2.
    3.

    What is the expected output? What do you see instead?
    I want it to allow me to put something like {player} and the plugin will send the command to the console and put in the player name where it says {player}.
    For example, the reward would be "fly {player}", and BossShop will fill that {player} with the username of the user who is browsing the shop atm.

    What I see instead now is that the console demands a player name to be input.

    What version of BossShop are you using?
    v2.0.5

    Do you have an error log of what happened? Please paste it at pastie.org!

    Please provide any additional information below.

  • _ForgeUser6874413 added the tags New Other Apr 2, 2014
  • _ForgeUser8684532 posted a comment Apr 29, 2014

    This is already posible, do a RewardType: command and have Reward: (enter)- fly %player%


To post a comment, please login or register a new account.