Profanity Front End (ProfanityFE): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:


Arguments Profanity Front End accepts (based on lines of code 445-453 in profanity.rb (2JUL2017)):
Arguments Profanity Front End accepts (based on lines of code 445-453 in profanity.rb (2JUL2017)):

----


--port=<port> <br><br>
--port=<port> <br><br>
Line 6: Line 8:
--default-background-color-id=<id> <br><br>
--default-background-color-id=<id> <br><br>
--custom-colors=<on|off> <br><br>
--custom-colors=<on|off> <br><br>
--settings-file=<filename> : calling this and setting a filename to an .xml file of your choosing (example: Aranthalous.xml) creates a new file that initially mirrors the default settings that you can then modify! <br><br>
--settings-file=<filename> : calling this and setting a filename to an .xml file of your choosing (example: test.xml) creates a new file that initially mirrors the default settings that you can then modify! <br><br>
--log-name=<name> <br><br>
--log-name=<name> <br><br>
--log-dir=<directory> <br><br>
--log-dir=<directory> <br><br>


----
SAMPLE BASH SCRIPT (for logging in via terminal on Linux):
<br>
#!/bin/bash

ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002&
sleep 5s
ruby profanity.rb --port=8002 --log-name=yourCharacterNameHere --settings-file=test.xml
<br>

Revision as of 22:07, 21 July 2017

Arguments Profanity Front End accepts (based on lines of code 445-453 in profanity.rb (2JUL2017)):


--port=<port>

--default-color-id=<id>

--default-background-color-id=<id>

--custom-colors=<on|off>

--settings-file=<filename> : calling this and setting a filename to an .xml file of your choosing (example: test.xml) creates a new file that initially mirrors the default settings that you can then modify!

--log-name=<name>

--log-dir=<directory>



SAMPLE BASH SCRIPT (for logging in via terminal on Linux):

  1. !/bin/bash

ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002& sleep 5s ruby profanity.rb --port=8002 --log-name=yourCharacterNameHere --settings-file=test.xml