Start ManaPlus without writing credentials
Alex Kost f83f6e14f2 gitignore: Add "tmp" and "autoloads.el" | 8 years ago | |
---|---|---|
.gitignore | 8 years ago | |
README.org | 10 years ago | |
mana.el | 9 years ago |
Do you use ~/.authinfo.gpg
(or a simple ~/.authinfo
) to keep your
IRC, mail and other passwords for Emacs? Do you play The Mana World?
If you do, then why not store your credentials for TMW in authinfo as
well, so that you will never be prompted about a user name and a
password when you start manaplus. This package was written just for
that.
This package may be installed using Quelpa:
(quelpa '(mana :fetcher github :repo "alezost/mana.el"))
To install this package manually, add the following to your emacs init file:
(add-to-list 'load-path "/path/to/dir-with-mana-package")
(autoload 'mana-start "mana" nil t)
You can use M-x mana-start
to start manaplus but before that, add a
line with your credentials to authinfo file. It should look like this:
machine server.themanaworld.org login password
If you want a particular game character to be automatically selected
after manaplus start, set mana-character
variable.
If you need to see the output of the manaplus process, look at the =*mana-output*= buffer (the name may be changed with =mana-buffer-name= variable).
For now I am the only user of this package and as I play TMW only, I didn't bother about generalizing this package for other servers (for example for Evol Online). But it will be very easy to do and if YOU wish to see a support for other servers, please contact me and this support will be added.