Compare commits

...

5 Commits

Author SHA1 Message Date
Griatch
60bd57f2fc Update CHANGELOG 2025-08-14 16:44:09 +02:00
Griatch
1b793975d1
Merge pull request #3800 from holl0wstar/patch-1
Update HAProxy Config Docs
2025-08-14 16:42:04 +02:00
Griatch
d965fde3a4
Merge pull request #3799 from Tharic99/patch-1
Update tb_basic.py to resolve type in scripts caller
2025-08-14 16:38:22 +02:00
holl0wstar
63305dbf69
Update HAProxy Config Docs
Add explanation / config example for HAProxy on how to proxy Telnet through it, so Secure Telnet can be used instead of just regular telnet.
2025-07-24 15:42:45 -03:00
Tharic99
53ad88e095
Update tb_basic.py to resolve type in scripts caller
Original scripts.add was (self.command_handler_class), which does not exist. It should be (self.combat_handler_class)

This fix updates that only.
2025-07-10 19:16:23 -04:00
3 changed files with 20 additions and 1 deletions

View File

@ -1,5 +1,14 @@
# Changelog
## Main branch
- [Fix][pull3799]: Fix typo in `basic_tc.py` contrib for beginner tutorial (Tharic99)
- [Doc][pull3800]: Describe support for Telnet SSH in HAProxy documentation (holl0wstar)
[pull3799]: https://github.com/evennia/evennia/issues/3799
[pull3800]: https://github.com/evennia/evennia/issues/3800
## Evennia 5.0.1
Jul 2, 2025

View File

@ -157,6 +157,8 @@ We use the `my.awesomegame.com` example here and here are the ports
- `4001` is the standard Evennia webserver port (firewall closed!)
- `4002` is the default Evennia websocket port (we use the same number for
the outgoing wss port, so this should be open in firewall).
- `4000` is the default Telnet port for Evennia, and we proxy through HAProxy
so `7000` can used for Secure Telnet connections instead.
```shell
# base stuff to set up haproxy
@ -187,6 +189,14 @@ listen evennia-secure-websocket
timeout server 10m
timeout connect 5m
listen evennia-secure-telnet
bind my.awesomegame.com:7000 ssl no-sslv3 no-tlsv10 crt /etc/letsencrypt/live/my.awesomegame.com/my.awesomegame.com.pem
server localhost 127.0.0.1:4000
mode tcp
timeout client 10m
timeout server 10m
timeout connect 5m
```
## Putting it all together

View File

@ -595,7 +595,7 @@ class CmdFight(Command):
return
here.msg_contents("%s starts a fight!" % self.caller)
# Add a turn handler script to the room, which starts combat.
here.scripts.add(self.command_handler_class)
here.scripts.add(self.combat_handler_class)
class CmdAttack(Command):