From c9058a1647121f610c1af21dc9d1306797e9c4dc Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 17:59:11 -0500 Subject: [PATCH 1/7] FAQ Add initial FAQ section --- posts/faq/mining-credits.md | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/posts/faq/mining-credits.md b/posts/faq/mining-credits.md index f5493e5f..58dc4c54 100644 --- a/posts/faq/mining-credits.md +++ b/posts/faq/mining-credits.md @@ -19,9 +19,33 @@ LBRY binaries are out for OS X and Ubuntu. Others may try compiling from source. 1. `sudo chown -R "$(whoami)" ~/Library/Application\ Support/lbrycrd` 1. `echo -e "rpcuser=lbryrpc\nrpcpassword=$(env LC_CTYPE=C LC_ALL=C tr -dc A-Za-z0-9 < /dev/urandom | head -c 16 | xargs)" > ~/Library/Application\ Support/lbrycrd/lbrycrd.conf` 1. `./lbrycrdd -server -printtoconsole -gen` -1. If you need to start over, run `rm -rf bins.zip lbry* ~/.lbry ~/Library/Application\ Support/lbrycrd`. **Note:** this will delete your - wallet and any credits you may have. +1. If you need to start over, run `rm -rf bins.zip lbry* ~/.lbry ~/Library/Application\ Support/lbrycrd`. **Note:** this will delete your wallet and any credits you may have. ## Compiling LBRY can be compiled quite similarly to Bitcoin. Pester @jackrobison on Slack to fill this in! + +## FAQ + +###Q. How do I check my balance? +**A.** You can use `lbrycrd-cli getbalance`, `getinfo`, or `lbrycrd-cli getwalletinfo` for more detailed information. It takes 100 confirmed blocks (roughly 4 hours) for mined LBC to show up in your confirmed balance, but you can see these credits in your immature balance in getwalletinfo. + +###Q. How do I check my address? +**A.** You can get a new address with `lbrycrd-cli getnewaddress` to generate a new receiving address. + +###Q. What are some other commands available? +**A.** lbrycrd is forked from bitcoin core, so many (but not all) of the available commands for the original client can be passed via lbrycrd-cli, like those above. Here is a list: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list + +###Q. I can't get lbrycrd-cli to work, is there another way? +**A.** If you cannot get the cli to work, first check that you passed -server when starting lbrycrdd. If it still can't connect, you can try running this command: + +`curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/` + +USER and PASSWORD come from the above instructions and can be found in `~/Library/Application\ Support/lbrycrd/lbrycrd.conf`, COMMAND can be any of the above methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array []. + +###Q. Can I check my hashrate? +**A.** Not at the present time, but that feature is coming soon (gethashespersec is not implemented for lbrycrd yet). + +## Technical Problems + +Have a technical problem? If you're having an issue with install of the UI/miner, or something involving an invite code, please join the slack at https://lbry.slack.com and in channel #bugs post a SINGLE detailed note with what exactly is going on. If you can get to the LBRY UI after installing, but can't watch a video or have another problem, please click the three horizontal lines in the top right hand corner of the LBRY UI, click Help, then click the Send Us a Bug Report link. \ No newline at end of file From 485b5386869d86224b1d1d7a9f2347e8f19628ed Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 19:10:48 -0500 Subject: [PATCH 2/7] FAQ update Add more questions, small fixes. --- posts/faq/mining-credits.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/posts/faq/mining-credits.md b/posts/faq/mining-credits.md index 58dc4c54..25822fee 100644 --- a/posts/faq/mining-credits.md +++ b/posts/faq/mining-credits.md @@ -27,11 +27,23 @@ LBRY can be compiled quite similarly to Bitcoin. Pester @jackrobison on Slack to ## FAQ +###Q. How many coins do I get per block mined? +**A.** For the first 5000 blocks, the reward was 1 LBC. In the current phase, blocks 5100 to 55000, the reward per block goes up by 1 every hundred blocks, so the reward per block = ceiling((blocknumber-5100)/100) + 1, maxing out at 500 after roughly 90 days from block 5100. After block 55000, the reward will decrease towards 0 logarithmically over 20 years. + +###Q. Is there an explorer? +**A.** Yes, visit https://explorer.lbry.io + ###Q. How do I check my balance? -**A.** You can use `lbrycrd-cli getbalance`, `getinfo`, or `lbrycrd-cli getwalletinfo` for more detailed information. It takes 100 confirmed blocks (roughly 4 hours) for mined LBC to show up in your confirmed balance, but you can see these credits in your immature balance in getwalletinfo. +**A.** You can use `lbrycrd-cli getbalance`, `lbrycrd-cli getinfo`, or `lbrycrd-cli getwalletinfo` for more detailed information. It takes 100 confirmed blocks (roughly a bit over 4 hours) for mined LBC to show up in your confirmed balance, but you can see these credits in your immature balance in getwalletinfo. ###Q. How do I check my address? -**A.** You can get a new address with `lbrycrd-cli getnewaddress` to generate a new receiving address. +**A.** You can use `lbrycrd-cli getnewaddress` to generate a new receiving address. + +###Q. How do I backup my wallet? +**A.** You can use `lbrycrd-cli backupwallet ` to back up your wallet, or alternatively you can copy the wallet.dat file manually from `~/Library/Application\ Support\lbrycrd` to anywhere you choose. + +###Q. How do I encrypt my wallet? +**A.** You can use `lbrycrd-cli encryptwallet ` to encrypt your wallet. You can use `lbrycrd-cli walletpassphrase ` to temporarily unlock the wallet (don't set timeout seconds too low or high). ###Q. What are some other commands available? **A.** lbrycrd is forked from bitcoin core, so many (but not all) of the available commands for the original client can be passed via lbrycrd-cli, like those above. Here is a list: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list From cf79e773c345c2ea9cb854de0d82128135e5a4a5 Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 20:40:25 -0500 Subject: [PATCH 3/7] Conform to existing FAQ structure Conform to existing FAQ structure, small updates/fixes --- posts/faq/api-help.md | 8 +++- posts/faq/custom-ui.md | 4 +- posts/faq/how-to-backup-wallet.md | 5 +++ posts/faq/how-to-check-hashrate.md | 5 +++ posts/faq/how-to-check-mining-balance.md | 5 +++ posts/faq/how-to-encrypt-wallet.md | 5 +++ .../faq/how-to-generate-receiving-address.md | 5 +++ posts/faq/how-to-report-bugs.md | 5 +++ posts/faq/lbry-directories.md | 2 +- posts/faq/mining-credits.md | 37 ------------------- 10 files changed, 40 insertions(+), 41 deletions(-) create mode 100644 posts/faq/how-to-backup-wallet.md create mode 100644 posts/faq/how-to-check-hashrate.md create mode 100644 posts/faq/how-to-check-mining-balance.md create mode 100644 posts/faq/how-to-encrypt-wallet.md create mode 100644 posts/faq/how-to-generate-receiving-address.md create mode 100644 posts/faq/how-to-report-bugs.md diff --git a/posts/faq/api-help.md b/posts/faq/api-help.md index ebe0b5de..795c92f8 100644 --- a/posts/faq/api-help.md +++ b/posts/faq/api-help.md @@ -2,7 +2,13 @@ title: How do I see the list of API functions I can call, and how do I call them? --- -Here is an example script to get the documentation for the various API calls. To use any of the functions displayed, just provide any specified arguments in a dictionary. +Here is an example script to get the documentation for the various API calls. To use any of the functions displayed, just provide any specified arguments in a dictionary. Many (though not all) of the calls are the same as those for bitcoin core, which are documented [here](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list). + +If for some reason you can't get lbrycrd-cli working to make these calls, make sure you passed -server when starting lbrycrd. If it still doesn't work, you can use this command if running lbrycrd with -server: + +`curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/` + +USER and PASSWORD come from the above instructions and can be found in your lbrycrd.conf file ([important directories](https://lbry.io/faq/lbry-directories)), COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array []. Note: the lbry api can only be used while either the app or lbrynet-daemon command line are running diff --git a/posts/faq/custom-ui.md b/posts/faq/custom-ui.md index d342bbe7..1fe5d717 100644 --- a/posts/faq/custom-ui.md +++ b/posts/faq/custom-ui.md @@ -4,10 +4,10 @@ title: How do I specify a web-UI to use? If the files for the UI you'd like to use are stored locally on your computer, start lbry with the `--ui` flag: - lbrynet-daemon --ui=/full/path/to/ui/files/root/folder + `lbrynet-daemon --ui=/full/path/to/ui/files/root/folder` Once set with the UI flag, the given UI will be cached by lbry and used as the default going forward. Also, it will only successfully load a UI if it contains a conforming requirements.txt file to specify required lbrynet and lbryum versions. [Here](https://github.com/lbryio/lbry-web-ui/blob/master/dist/requirements.txt) is an example requirements.txt file. To reset your ui to pull from lbryio, or to try a UI still in development, run lbry with the `--branch` flag: - lbrynet=daemon --branch=master + `lbrynet-daemon --branch=master` diff --git a/posts/faq/how-to-backup-wallet.md b/posts/faq/how-to-backup-wallet.md new file mode 100644 index 00000000..7e0b7daa --- /dev/null +++ b/posts/faq/how-to-backup-wallet.md @@ -0,0 +1,5 @@ +--- +title: How do I mine backup my wallet? +--- + +You can use `lbrycrd-cli backupwallet ` to back up your wallet, or alternatively you can copy the wallet.dat file manually to anywhere you choose [important directories](https://lbry.io/faq/lbry-directories). diff --git a/posts/faq/how-to-check-hashrate.md b/posts/faq/how-to-check-hashrate.md new file mode 100644 index 00000000..f6343a28 --- /dev/null +++ b/posts/faq/how-to-check-hashrate.md @@ -0,0 +1,5 @@ +--- +title: How do I check my hashrate? +--- + +You cannot at the present time, but that feature is coming soon (gethashespersec is not implemented for lbrycrd yet). \ No newline at end of file diff --git a/posts/faq/how-to-check-mining-balance.md b/posts/faq/how-to-check-mining-balance.md new file mode 100644 index 00000000..578ce99b --- /dev/null +++ b/posts/faq/how-to-check-mining-balance.md @@ -0,0 +1,5 @@ +--- +title: How do I check my mining balance? +--- + +You can use `lbrycrd-cli getbalance`, `lbrycrd-cli getinfo`, or `lbrycrd-cli getwalletinfo` for more detailed information. It takes 100 confirmed blocks (roughly a bit over 4 hours) for mined LBC to show up in your confirmed balance, but you can see these credits in your immature balance in getwalletinfo. \ No newline at end of file diff --git a/posts/faq/how-to-encrypt-wallet.md b/posts/faq/how-to-encrypt-wallet.md new file mode 100644 index 00000000..da090658 --- /dev/null +++ b/posts/faq/how-to-encrypt-wallet.md @@ -0,0 +1,5 @@ +--- +title: How do I encrypt my wallet? +--- + +You can use `lbrycrd-cli encryptwallet ` to encrypt your wallet. You can use `lbrycrd-cli walletpassphrase ` to temporarily unlock the wallet (don't set timeout seconds too low or high). \ No newline at end of file diff --git a/posts/faq/how-to-generate-receiving-address.md b/posts/faq/how-to-generate-receiving-address.md new file mode 100644 index 00000000..89e21fe2 --- /dev/null +++ b/posts/faq/how-to-generate-receiving-address.md @@ -0,0 +1,5 @@ +--- +title: How do I check my LBC address? +--- + +You can generate a new receiving address by using `lbrycrd-cli getnewaddress`. Sending and receiving functionality will eventually be coming to the LBRY UI. \ No newline at end of file diff --git a/posts/faq/how-to-report-bugs.md b/posts/faq/how-to-report-bugs.md new file mode 100644 index 00000000..cf9af878 --- /dev/null +++ b/posts/faq/how-to-report-bugs.md @@ -0,0 +1,5 @@ +--- +title: How do I report bugs? +--- + +Have a technical problem? If you're having an issue with install of the UI/miner, or something involving an invite code, please join the slack at https://lbry.slack.com and in channel #bugs post a SINGLE detailed note with what exactly is going on. If you can get to the LBRY UI after installing, but can't watch a video or have another problem, please click the three horizontal lines in the top right hand corner of the LBRY UI, click Help, then click the Send Us a Bug Report link. \ No newline at end of file diff --git a/posts/faq/lbry-directories.md b/posts/faq/lbry-directories.md index 3ff90564..d40ae12d 100644 --- a/posts/faq/lbry-directories.md +++ b/posts/faq/lbry-directories.md @@ -2,4 +2,4 @@ title: Where are all the behind the scenes files? --- -On linux, the relevant directories are `~/.lbrynet`, `~/.lbrycrd`, and `~/.lbryum`, depending on which wallets you've used. On OS X, the folders of interest are `~/Library/Application Support/LBRY`, `~/.lbrycrd` and `~/.lbryum`, also depending on which wallets you've used. +On linux, the relevant directories are `~/.lbrynet`, `~/.lbrycrd`, and `~/.lbryum`, depending on which wallets you've used. On OS X, the folders of interest are `~/Library/Application Support/LBRY`, `~/Library/Application Support/lbrycrd` `~/.lbrycrd` and `~/.lbryum`, also depending on which wallets you've used. diff --git a/posts/faq/mining-credits.md b/posts/faq/mining-credits.md index 25822fee..246a8e59 100644 --- a/posts/faq/mining-credits.md +++ b/posts/faq/mining-credits.md @@ -24,40 +24,3 @@ LBRY binaries are out for OS X and Ubuntu. Others may try compiling from source. ## Compiling LBRY can be compiled quite similarly to Bitcoin. Pester @jackrobison on Slack to fill this in! - -## FAQ - -###Q. How many coins do I get per block mined? -**A.** For the first 5000 blocks, the reward was 1 LBC. In the current phase, blocks 5100 to 55000, the reward per block goes up by 1 every hundred blocks, so the reward per block = ceiling((blocknumber-5100)/100) + 1, maxing out at 500 after roughly 90 days from block 5100. After block 55000, the reward will decrease towards 0 logarithmically over 20 years. - -###Q. Is there an explorer? -**A.** Yes, visit https://explorer.lbry.io - -###Q. How do I check my balance? -**A.** You can use `lbrycrd-cli getbalance`, `lbrycrd-cli getinfo`, or `lbrycrd-cli getwalletinfo` for more detailed information. It takes 100 confirmed blocks (roughly a bit over 4 hours) for mined LBC to show up in your confirmed balance, but you can see these credits in your immature balance in getwalletinfo. - -###Q. How do I check my address? -**A.** You can use `lbrycrd-cli getnewaddress` to generate a new receiving address. - -###Q. How do I backup my wallet? -**A.** You can use `lbrycrd-cli backupwallet ` to back up your wallet, or alternatively you can copy the wallet.dat file manually from `~/Library/Application\ Support\lbrycrd` to anywhere you choose. - -###Q. How do I encrypt my wallet? -**A.** You can use `lbrycrd-cli encryptwallet ` to encrypt your wallet. You can use `lbrycrd-cli walletpassphrase ` to temporarily unlock the wallet (don't set timeout seconds too low or high). - -###Q. What are some other commands available? -**A.** lbrycrd is forked from bitcoin core, so many (but not all) of the available commands for the original client can be passed via lbrycrd-cli, like those above. Here is a list: https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list - -###Q. I can't get lbrycrd-cli to work, is there another way? -**A.** If you cannot get the cli to work, first check that you passed -server when starting lbrycrdd. If it still can't connect, you can try running this command: - -`curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/` - -USER and PASSWORD come from the above instructions and can be found in `~/Library/Application\ Support/lbrycrd/lbrycrd.conf`, COMMAND can be any of the above methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array []. - -###Q. Can I check my hashrate? -**A.** Not at the present time, but that feature is coming soon (gethashespersec is not implemented for lbrycrd yet). - -## Technical Problems - -Have a technical problem? If you're having an issue with install of the UI/miner, or something involving an invite code, please join the slack at https://lbry.slack.com and in channel #bugs post a SINGLE detailed note with what exactly is going on. If you can get to the LBRY UI after installing, but can't watch a video or have another problem, please click the three horizontal lines in the top right hand corner of the LBRY UI, click Help, then click the Send Us a Bug Report link. \ No newline at end of file From 203561979d2fe234cbb017112e38a6014a1e42c2 Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 20:50:03 -0500 Subject: [PATCH 4/7] Remove unnecessary ` --- posts/faq/custom-ui.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/faq/custom-ui.md b/posts/faq/custom-ui.md index 1fe5d717..bfcc0dac 100644 --- a/posts/faq/custom-ui.md +++ b/posts/faq/custom-ui.md @@ -4,10 +4,10 @@ title: How do I specify a web-UI to use? If the files for the UI you'd like to use are stored locally on your computer, start lbry with the `--ui` flag: - `lbrynet-daemon --ui=/full/path/to/ui/files/root/folder` + lbrynet-daemon --ui=/full/path/to/ui/files/root/folder Once set with the UI flag, the given UI will be cached by lbry and used as the default going forward. Also, it will only successfully load a UI if it contains a conforming requirements.txt file to specify required lbrynet and lbryum versions. [Here](https://github.com/lbryio/lbry-web-ui/blob/master/dist/requirements.txt) is an example requirements.txt file. To reset your ui to pull from lbryio, or to try a UI still in development, run lbry with the `--branch` flag: - `lbrynet-daemon --branch=master` + lbrynet-daemon --branch=master From 8d8540a641705e32933c50fb537100c8d9a2a415 Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 20:56:54 -0500 Subject: [PATCH 5/7] Break out directory links --- posts/faq/api-help.md | 4 +++- posts/faq/how-to-backup-wallet.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/posts/faq/api-help.md b/posts/faq/api-help.md index 795c92f8..4e962479 100644 --- a/posts/faq/api-help.md +++ b/posts/faq/api-help.md @@ -8,7 +8,9 @@ If for some reason you can't get lbrycrd-cli working to make these calls, make s `curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/` -USER and PASSWORD come from the above instructions and can be found in your lbrycrd.conf file ([important directories](https://lbry.io/faq/lbry-directories)), COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array []. +USER and PASSWORD come from the above instructions and can be found in your lbrycrd.conf file, COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array []. + +See Also: [important directories](https://lbry.io/faq/lbry-directories). Note: the lbry api can only be used while either the app or lbrynet-daemon command line are running diff --git a/posts/faq/how-to-backup-wallet.md b/posts/faq/how-to-backup-wallet.md index 7e0b7daa..48937c83 100644 --- a/posts/faq/how-to-backup-wallet.md +++ b/posts/faq/how-to-backup-wallet.md @@ -2,4 +2,6 @@ title: How do I mine backup my wallet? --- -You can use `lbrycrd-cli backupwallet ` to back up your wallet, or alternatively you can copy the wallet.dat file manually to anywhere you choose [important directories](https://lbry.io/faq/lbry-directories). +You can use `lbrycrd-cli backupwallet ` to back up your wallet, or alternatively you can copy the wallet.dat file manually to anywhere you choose. + +See Also: [important directories](https://lbry.io/faq/lbry-directories) From 9c7a0dce494cae42e02afeed5421d3015312b128 Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 21:01:01 -0500 Subject: [PATCH 6/7] Add instructions to get Slack invite. --- posts/faq/how-to-report-bugs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/faq/how-to-report-bugs.md b/posts/faq/how-to-report-bugs.md index cf9af878..f3eb72d8 100644 --- a/posts/faq/how-to-report-bugs.md +++ b/posts/faq/how-to-report-bugs.md @@ -2,4 +2,4 @@ title: How do I report bugs? --- -Have a technical problem? If you're having an issue with install of the UI/miner, or something involving an invite code, please join the slack at https://lbry.slack.com and in channel #bugs post a SINGLE detailed note with what exactly is going on. If you can get to the LBRY UI after installing, but can't watch a video or have another problem, please click the three horizontal lines in the top right hand corner of the LBRY UI, click Help, then click the Send Us a Bug Report link. \ No newline at end of file +Have a technical problem? If you're having an issue with install of the UI/miner, or something involving an invite code, please join the slack at https://lbry.slack.com and in channel #bugs post a SINGLE detailed note with what exactly is going on. If you need an invite to the LBRY slack, you can get one at https://slack.lbry.io. If you can get to the LBRY UI after installing, but can't watch a video or have another problem, please click the three horizontal lines in the top right hand corner of the LBRY UI, click Help, then click the Send Us a Bug Report link. \ No newline at end of file From cd789c899e2e453dbcff6d233d4d097342ea9a18 Mon Sep 17 00:00:00 2001 From: jonaswhidden Date: Wed, 6 Jul 2016 21:06:58 -0500 Subject: [PATCH 7/7] Use indentation for command --- posts/faq/api-help.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/faq/api-help.md b/posts/faq/api-help.md index 4e962479..637cb4e0 100644 --- a/posts/faq/api-help.md +++ b/posts/faq/api-help.md @@ -6,7 +6,7 @@ Here is an example script to get the documentation for the various API calls. To If for some reason you can't get lbrycrd-cli working to make these calls, make sure you passed -server when starting lbrycrd. If it still doesn't work, you can use this command if running lbrycrd with -server: -`curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/` + curl --user USER:PASSWORD --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "COMMAND", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:9245/ USER and PASSWORD come from the above instructions and can be found in your lbrycrd.conf file, COMMAND can be any of the supported methods like getbalance or getnewaddress. 9245 is the default port used, but if you chose a custom port for the server, you'll need to use that instead. If the command accepts parameters, they can be passed inside the params array [].