Commit Graph

189 Commits (master)

Author SHA1 Message Date
BuckarooBanzay 576716bbd6 refactor receive-loop 2022-09-02 07:31:54 +02:00
BuckarooBanzay 10cf9a887b fix cleaner text field name 2022-08-29 08:06:38 +02:00
BuckarooBanzay 095431b134 fix changed username field 2022-08-29 08:00:57 +02:00
SX 98aa631170
Allow chat admin to delete channels (#69) 2022-08-27 23:58:15 -04:00
BuckarooBanzay 19aafbe238 add allow mention example to dev settings 2022-08-23 17:47:08 +02:00
BuckarooBanzay 98e523b831 prettier join/leave messages 2022-08-23 16:33:11 +02:00
Buckaroo Banzai 7844629183
Matterbridge (#68)
* doc cleanup

* working local matterbridge

* add token

* system messages

* support override config with secrets

* add some icons

* use discord username in example

* remote command api

* add some docs

* update message format

* send command back to proper channel

Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2022-08-23 09:09:59 +02:00
BuckarooBanzay f193fc5b0a remove integration test stuff (didn't really do anything) 2022-08-19 18:10:20 +02:00
SX f289e50af2 Autojoin on channel switch 2022-08-19 18:08:34 +02:00
SX bd137904dd Fix duplicate on_receive and before_send events
Remove extra before_send trigger from hash plugin

on_receive handle chat commands
2022-08-14 01:49:05 +03:00
SX 7192d91cb2 Test on_receive and before_send events
Separate test cases for more detailed results
2022-08-14 01:49:05 +03:00
SX 082ab9f507
Cleanup hash.lua (#66)
* Update hash.lua

* Cleanup hash.lua

* Lua syntax

* Update responses + combine checks

* Space to dash in new channel name
2022-07-24 16:12:55 +03:00
SX eaae52681f
Add /remote_mute and /remote_unmute commands (#65)
* Create remote_mute.lua

* Maybe fix luacheck and indentation?

* Load remote_mute.lua

* Fix name for remote_mute checks
2022-06-08 15:54:47 +02:00
Luke aka SwissalpS 69400d640c help turn off password check
On singleplayer and test servers it has been hard to turn off password reminder.
Something is setting default_password to '' even if minetest.conf does not contain that setting.
2022-02-17 01:12:31 +02:00
Luke aka SwissalpS 7e1476ebb4
allow force2channel with multiple names (#62)
Better argument parsing, now allows coma separation or space
separation for names. (Also both.)

Comma after channel name is obligatory as channel names
could contain spaces.

Also uses beerchat.jail.priv if available
2022-02-05 13:16:56 +01:00
Luke aka SwissalpS fd060504c9
add current channel info to /mc output (#61)
* add current channel info to /mc output

Currently there is no silent way to check on which channel one is.
This patches current channel info to end of /my_channels output.

Fixes https://github.com/pandorabox-io/in-game/issues/239

(I do not like the idea of making prompt longer, some channel names are quite lengthy)

* nil check

* syntax fix
2022-01-20 20:52:24 +01:00
SX 705f2bc4d2 Whispers sent as many times as there's players in range 2021-10-18 13:42:33 +02:00
SX 24203f3673 Remove whisper channel 2021-10-18 13:42:33 +02:00
BuckarooBanzay 514b2fabb8 fix permission check to not use "live" player 2021-10-18 13:37:17 +02:00
SX e056c1a657
Whispering mode toggle (#53)
* Whispering mode toggle

Implementation for #52

* Fix few mistakes

* Cleanup whisperers when player leaves

* Whisper mode tests, check conflicts with hash and pm

* Fix whisper mode conflicts amd whisper msg check
2021-09-02 19:03:22 +03:00
BuckarooBanzay 0f6f247865 add /beerchat_proxy_shutdown command (only if the web-part is enabled) 2021-07-02 08:08:03 +02:00
OgelGames 9b5bf2a6a1
add `/pm` and `/dm` as aliases to `/msg` (#47) 2021-05-27 13:48:36 +03:00
SX e21e16bab9 Add some delay before password checks 2021-05-12 15:58:32 +02:00
SX fb3a98e258
Password validation plugin (#45)
* Password validation plugin

* Actually forward last_login value from session handler

* Custom auth handler compat, show form for returning player
2021-05-11 19:14:11 +03:00
SX ae102b03a4
Skip channel named 1 for chat_unjail (#44) 2021-05-08 22:06:13 +03:00
SX ffbc154df2
Cleanup, use functions provided in common.lua (#43) 2021-05-08 20:39:50 +03:00
SX 2769a70393
Remove unjailed players from jail channel (#42)
* Remove unjailed players from jail channel
General improvements for chat jail functionality and reporting.
* Fix everything
2021-05-08 18:14:09 +03:00
SX 5007bf9398 Disable notification sounds for channel messages 2021-05-06 08:53:43 +02:00
SX ffea493ed6 Cleanup / refactoring, small fixes, join hook 2021-05-03 15:55:37 +02:00
SX 9b58f90ba0
Merge pull request #37 from minetest-beerchat/issue-20
Ignore first # in channel name
2021-04-09 15:49:26 +03:00
SX e846ecd868
Merge pull request #36 from minetest-beerchat/server-announce
Add server announce extension
2021-04-09 15:49:13 +03:00
SX 325ec86c58
Merge pull request #34 from minetest-beerchat/me-msg-update
Send /me messages to current channel
2021-04-09 15:39:54 +03:00
SX 51217d9a2b
Merge pull request #35 from minetest-beerchat/improve-cleaner
Improve http bridge message cleanup
2021-04-09 15:38:47 +03:00
SX acd0da15a4 Remove redundant channel check 2021-04-09 15:28:03 +03:00
SX 5ed85daf9c Ignore first # in channel name 2021-04-09 14:15:25 +03:00
SX e51de89f8b Server announce extension 2021-04-09 13:36:49 +03:00
SX bd49648185 Improve http bridge message cleanup 2021-04-07 18:43:43 +03:00
SX 2c0d9e0729 Send /me messages to current channel 2021-04-07 18:37:44 +03:00
SX 49c18988d5
Merge pull request #33 from minetest-beerchat/plugin-system
Basic plugin system
2021-04-07 16:23:35 +03:00
SX c8a901826a Luacheck 2021-04-07 12:56:33 +03:00
SX 9f48beb9b0 Default message handler 2021-04-07 12:53:45 +03:00
SX 039a469915 Merge branch 'master' of ssh://github.com/pandorabox-io/beerchat into plugin-system 2021-04-07 00:21:47 +03:00
SX 560311a487
Allow colorizing chat messages on selected channels (#32) 2021-04-07 00:17:59 +03:00
SX bb0d82a76b Fix whisper sending command to chat 2021-04-06 23:42:22 +03:00
SX 0db5b4e911 Basic plugin system 2021-04-06 20:30:25 +03:00
SX 616ce49a70 Add optional QoS support 2021-03-15 07:27:45 +01:00
SX 6b2534dd1f Add QoS to luacheck read only globals 2021-03-15 07:27:45 +01:00
SX 31982afd91 Optionally wrap HTTP API with QoS 2021-03-15 07:27:45 +01:00
SX a05c16b930
Fix little mistake to not torture jailed players (#27)
Co-authored-by: SX <sx@minetest>
2021-01-21 00:05:15 +02:00
SX 0b8554b394
Merge pull request #26 from minetest-beerchat/message-cleanup-callbacks
Message cleanup callbacks
2021-01-20 23:38:40 +02:00