blob: 2890ee8a54ff2ea600cb49eab9677af9eb5514f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
App:
WorkingDirectory: var/
MaxUsers: 512
AllowRegistration: true
MaxNickLen: 15
MenuMaxIdleTime: 600
PostLoginCommands:
- mkdir %w/userdata/%u
- mkdir %w/userdata/%u/dumplog
- mkdir %w/userdata/%u/ttyrec
Menus:
anonymous:
Banner: 'Shell Game Launcher - Anonymous access%n======================================'
XOffset: 5
YOffset: 2
MenuEntries:
- Key: t
Label: test
Action: menu test
- Key: l
Label: login
Action: login
- Key: r
Label: register
Action: register
- Key: w
Label: watch
Action: watch_menu
- Key: q
Label: quit
Action: quit
logged_in:
Banner: 'Shell Game Launcher%n==================='
XOffset: 5
YOffset: 2
MenuEntries:
- Key: p
Label: play Nethack 3.7
Action: play nethack3.7
- Key: o
Label: edit game options
Action: menu invalid
- Key: w
Label: watch
Action: watch
- Key: r
Label: replay
Action: replay
- Key: c
Label: change password
Action: passwd
- Key: m
Label: change email
Action: chmail
- Key: q
Label: quit
Action: quit
Games:
nethack3.7:
ChrootPath: /opt/nethack
FileMode: "0666"
ScoreCommands:
- exec /games/nethack -s all
- wait
Commands:
- cp /games/var/save/%u%n.gz /games/var/save/%u%n.gz.bak
- exec /games/nethack -u %n
Env:
NETHACKOPTIONS: "@%ruserdata/%n/%n.nhrc"
|