Profanity Front End (ProfanityFE): Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
SAMPLE BASH SCRIPT (for logging in via terminal on Linux):
SAMPLE BASH SCRIPT (for logging in via terminal on Linux):
<br>
<br>
ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002& <br>
#!/bin/bash
sleep 5s <br>

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

Revision as of 22:09, 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):
ruby lich.rbw --login yourCharacterNameHere --without-frontend --detachable-client=8002&
sleep 5s
ruby profanity.rb --port=8002 --log-name=yourCharacterNameHere --settings-file=test.xml