confirmation of payment #18


  • New
  • Defect
Open
Assigned to kostronor
  • _ForgeUser5600323 created this issue Aug 1, 2013

    What steps will reproduce the problem?
    1.run command that charges
    2.
    3.

    What is the expected output? What do you see instead?
    remove funds
    and tell player he was charged

    What version of the product are you using?
    11.0.0

    Do you have an error log of what happened?
    no errors just nothing sayed

    Please provide any additional information below.
    this is what my configs for that part look like

    #charged message
    AccountDeductedMessage: Charged {cost}

    i am running on 1.6.2 craftbukit

  • _ForgeUser5600323 added the tags New Defect Aug 1, 2013
  • Kostronor posted a comment Aug 5, 2013

    Are you sure that your command is charging? at first look if vault is detected, please look at your startup log and print it out for me! then please give me your whole prices yml and then i can lok at the problem!

  • _ForgeUser5600323 posted a comment Aug 6, 2013

    2013-08-05 18:00:38 [INFO] [Command iConomy] Enabling Command iConomy v11.0.0 2013-08-05 18:00:38 [INFO] [debug] reading: 2013-08-05 18:00:38 [INFO] [debug] reading: ^/spawner (pig|sheep|chicken|cow|mushroomcow|pigzombie|blaze|sliverfish|spider|cavespider|zombie): 250 2013-08-05 18:00:38 [INFO] [debug] valid length 2013-08-05 18:00:38 [INFO] [debug]cost = 250.0 2013-08-05 18:00:38 [INFO] [debug] reading: ^/spawnmob (Cow|Chicken|Sheep|Pig|slime|bat|giant)$: 50 2013-08-05 18:00:38 [INFO] [debug] valid length 2013-08-05 18:00:38 [INFO] [debug]cost = 50.0 2013-08-05 18:00:38 [INFO] [Command iConomy] [Command iConomy] Loaded.

    thats the server log stuff and below it the prices.yml

    1. To charge for a command, list a matching regular expression below on its own
    2. line with the price, separated by a colon. For more info on regular expressions
    3. see http://www.regular-expressions.info/reference.html
    1. ^/tp: 10$ ^/spawner (pig|sheep|chicken|cow|mushroomcow|pigzombie|blaze|sliverfish|spider|cavespider|zombie): 250 ^/spawnmob (Cow|Chicken|Sheep|Pig|slime|bat|giant)$: 50
  • Kostronor posted a comment Aug 6, 2013

    can you put each command in a seperate line, like:

    ^/tp: 10$ ^/spawner (pig|sheep|chicken|cow|mushroomcow|pigzombie|blaze|sliverfish|spider|cavespider|zombie): 250 ^/spawnmob (Cow|Chicken|Sheep|Pig|slime|bat|giant)$: 50

  • _ForgeUser5600323 posted a comment Aug 6, 2013

    the commands are on diff lines thay for some reason dont show in here like that. there is only to thing atm im charging for and thats the spawner and spawnmob.

    http://gyazo.com/dd5627958bbb46afeaa098b0f80bf682


    Edited Aug 6, 2013
  • Kostronor posted a comment Aug 7, 2013

    okay, seems okay for now... can you again please post your complete configuration on pastebin, because "#charged message AccountDeductedMessage: Charged {cost}" is definitely not enought, there is something missing. If this is your whole configuration, please delete it and let it be recreated by the plugin! else, please try a simple command like

    ^/tp.*$: 10
    

    and i found something missing in your prices while typing mine: you need this setup: ^yourregex$: charge you had the dollar sign after the charge, but you need it before the : beacause it ends the regex and the : is for stating that the price comes after!

    ^/tp$: 10

    ^/spawner (pig|sheep|chicken|cow|mushroomcow|pigzombie|blaze|sliverfish|spider|cavespider|zombie)$: 250

    ^/spawnmob (Cow|Chicken|Sheep|Pig|slime|bat|giant)$: 50


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