Skip to content

Instantly share code, notes, and snippets.

@est31
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save est31/954ec68d2bd46f941224 to your computer and use it in GitHub Desktop.
Save est31/954ec68d2bd46f941224 to your computer and use it in GitHub Desktop.
pwm example (old format)
return {["passwords"] = { --the list of the passwords. Every password has an ID. Every entry references that ID instead of the password itself.
[42] = "42world",
[33] = "12345secretpassword",
[34] = "anothersupersecretpassword"
}, ["lu"] = {
["user1"] = { --every username gets one entry
["addr_lu"] = { --you can either specify the domain name in the "addr_lu" section,
--or you can specify the "display name" (or both) in the "select_srv_lu" section.
["digitalaudioconcepts.com"] = {["30001"] = 33},
["0.0.0.0"] = {["30000"] = 42} --a localhost test client. Note the changed number, its a changed ID.
["m.ayntest.net"] = {["30000"] = 34}, --another server entry. You can make as many servers per user as you want.
}, ["select_srv_lu"] = {
["VanessaE's Survival Server"] = 33} --... Note however that this is freely chosen, and does not have to represent the actual server you want to send your password to. Therefore, use it only if you need to.
}, ["usertester"]= { --second user
["addr_lu"] = {
["0.0.0.0"] = {["30000"] = 42}
}, ["select_srv_lu"] = {
["local hello server"] = 42}
}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment