[Mod] Chat plus [2.3] [chatplus] – Now two mods, bug fixes

User avatar
BrunoMine
Member
 
Posts: 1063
Joined: Thu Apr 25, 2013 17:29
Location: SP-Brasil
GitHub: BrunoMine

by BrunoMine » Sat Aug 31, 2013 16:50

Living and discovering! Thanks for the solution. But I think it would be cool to idea of the computer! I think we should explore the possibilities of using a work area in pcs.
We could use pcs for:
Access banking balance and make payments
Use our inbox
Read news event server
Read a wiki server
Enter and exit rooms private chat.

All this without becoming annoying Recurring commands!
But anyway, I believe it will happen when the minetest become a very famous game.
My small square universe under construction ... Minemacro
Comunidade Minetest Brasil
www.minetestbrasil.com
 

User avatar
fairiestoy
Member
 
Posts: 191
Joined: Sun Jun 09, 2013 19:25
Location: Germany

by fairiestoy » Sat Sep 21, 2013 16:44

Hello ruben,

i came up with a suggestion when looking through my fork of this and watching the user traffic on the landruch server. I think its necessary to include some kind of time check when a user last log in. Otherwise, your file will be fed up by dozens of users that show up only once and never come back. But they do take place in your files, therefore it might be a good idea to attach a date to each user when he last logged in and delete him after a specific timespan. About compatibility with your old files: Since you are only storing a serialized table, you could make check on init (when loading the data from file) if each user has already such a date. It will increase the server load time, but will keep the resulting file smaller as well as the used memory.

Greetings
Interesting about new things is, to figure out how it works ...
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Tue Jan 07, 2014 18:20

[h]0.5 Released![/h]

Reworked code to be more stable and logical.

When the game is loaded, it cleans stored data to get rid of any unneeded ones, fixing @fairiestoy's problem.

To enable distance limitation, set chatplus_distance in minetest.conf to something bigger than zero.

To disable logging, set chatplus_log to false in minetest.conf.

Coming soon:

  • Freeminer specific features (coloring)
  • Mention Highlighting
Last edited by rubenwardy on Tue Jan 07, 2014 18:26, edited 1 time in total.
 

User avatar
Krock
Developer
 
Posts: 4412
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

by Krock » Tue Jan 07, 2014 19:51

Can't say much about this, I like this mod!

A GUI would be a cool addition but right now it's working well :)

EDIT: sorry, it's not working well:
Code: Select all
/mail singleplayer haiiii

20:55:21: ERROR[main]: ServerError: LuaError: E:\Programme\minetest\bin\..\mods\
chatplus\init.lua:288: bad argument #1 to 'insert' (table expected, got nil)
20:55:21: ERROR[main]: stack traceback:
20:55:21: ERROR[main]:  [C]: in function 'insert'
20:55:21: ERROR[main]:  E:\Programme\minetest\bin\..\mods\chatplus\init.lua:288:
 in function 'func'
20:55:21: ERROR[main]:  E:\Programme\minetest\bin\..\builtin/chatcommands.lua:25
: in function <E:\Programme\minetest\bin\..\builtin/chatcommands.lua:16>
Last edited by Krock on Tue Jan 07, 2014 19:55, edited 1 time in total.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

Sokomine
Member
 
Posts: 3918
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

by Sokomine » Fri Jan 31, 2014 22:44

It would be very good if individual messages in the inbox could be deleted while others could be kept. A command like /inbox del <nr> to delete message <nr> would be very welcomed.
A list of my mods can be found here.
 

User avatar
Jonathan
Member
 
Posts: 119
Joined: Tue Apr 02, 2013 14:07
Location: USA

by Jonathan » Fri Jan 31, 2014 23:17

rubenwardy wrote:[h]Coming soon[/h]
  • Swearing filter


Nice! Keep up the good work!
By perseverance the snail reached the ark.
- Charles Spurgeon
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Apr 09, 2014 19:01

[h]Graphical inboxes[/h]

0.6 adds formspec inboxes like the following. They are scrollable.

You can still access the text/chat version by typing /inbox text or /inbox t

Image
Last edited by rubenwardy on Wed Apr 09, 2014 19:01, edited 1 time in total.
 

User avatar
hoodedice
Member
 
Posts: 1372
Joined: Sat Jul 06, 2013 06:33
Location: world
GitHub: hoodedice
IRC: hoodedice
In-game: hoodedice

by hoodedice » Wed Apr 09, 2014 19:28

Why is this not default already?
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Wed Apr 09, 2014 19:33

It would be pointless in single player, so it probably won't be added to minetest_game.
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Apr 10, 2014 08:37

Neat! :)

Also, what about swearing filter?
Do you plan to add a dictionary of the most frequently used swears?
It would be funny to replace all those with "Capybara" :)
 

User avatar
BrunoMine
Member
 
Posts: 1063
Joined: Thu Apr 25, 2013 17:29
Location: SP-Brasil
GitHub: BrunoMine

Re: [Mod] Chat plus [0.6] [chatplus] -- Inbox GUI

by BrunoMine » Fri Jun 13, 2014 13:55

Eui just want to mail. The old version has only mail?

This is a bug:
size[10,5]textlist[0,0;9.75,5;inbox;13/06 <Admin>: Ola]
11:04:50: ERROR[main]: Invalid textlist element(4): '0,0;9.75,5;inbox;13/06 <Admin>: Ola'
11:04:55: ERROR[main]: Invalid textlist element(4): '0,0;9.75,5;inbox;13/06 <Admin>: Ola'
size[10,5]textlist[0,0;9.75,5;inbox;13/06 <Admin>: HOOOOOOOOOOOOOOaaaa]
11:05:37: ERROR[main]: Invalid textlist element(4): '0,0;9.75,5;inbox;13/06 <Admin>: HOOOOOOOOOOOOOOaaaa'
GUIPauseMenu: Not allowing focus change.
 

User avatar
stormchaser3000
Member
 
Posts: 417
Joined: Sun Oct 06, 2013 21:02
GitHub: stormchaser3000

Re: [Mod] Chat plus [0.6] [chatplus] – Inbox GUI

by stormchaser3000 » Mon Aug 10, 2015 21:32

please add the swearing filter. for english, russian, spanish, portuguese, and german swear words. and please make it compatible with the irc mod
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Chat plus [0.6] [chatplus] – Inbox GUI

by rubenwardy » Tue Aug 11, 2015 08:16

Already exists, set the chatplus_badwords = one, two, three as a setting in minetest.conf

or add it in lua here yourself: https://github.com/rubenwardy/chatplus/ ... t.lua#L401
 

CWz
Member
 
Posts: 197
Joined: Tue Dec 24, 2013 17:01
Location: Banana Land
GitHub: chaoswormz
IRC: CWz
In-game: CWz

Re: [Mod] Chat plus [0.6] [chatplus] – Inbox GUI

by CWz » Fri Aug 14, 2015 09:27

chat plus seems to allow players to talk without shout.

stormchaser3000, this also interferers with keyword_interact
 

Gundul
Member
 
Posts: 615
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [Mod] Chat plus [0.6] [chatplus] – Inbox GUI

by Gundul » Sat Sep 12, 2015 10:30

Nice work. I added to my server "Jungle".
As admin it would be cool if there was an option to send email to all users. For example to inform about news on the server.
My servers: Jungle, Lilly in the valley, ZombieTest
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
Location: On earth
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] Chat plus [0.6] [chatplus] – Inbox GUI

by Minetestforfun » Mon Sep 14, 2015 11:39

Gundul wrote:Nice work. I added to my server "Jungle".
As admin it would be cool if there was an option to send email to all users. For example to inform about news on the server.


+1
 

User avatar
JoshMars
Member
 
Posts: 106
Joined: Sat May 17, 2014 23:24
In-game: rubber UbuntuJosh

Re: [Mod] Chat plus [1.0-RC] [chatplus] – Inbox GUI

by JoshMars » Fri Jan 15, 2016 22:50

Basically this whole mod should be client side and should be included by default
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Chat plus [1.0-RC] [chatplus] – Inbox GUI

by rubenwardy » Sat Jan 16, 2016 00:51

Yes. Now that email, has been separated, it's pretty much just an ignore filter by default. It has an API too, though, but not used much.
 

vitaminx
Member
 
Posts: 49
Joined: Tue Dec 30, 2014 15:08

.

by vitaminx » Tue Jan 19, 2016 10:51

.
Last edited by vitaminx on Sun Sep 23, 2018 15:48, edited 1 time in total.
 

Gundul
Member
 
Posts: 615
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

Re: [Mod] Chat plus [1.0-RC] [chatplus] – Inbox GUI

by Gundul » Tue Mar 01, 2016 01:59

I had some trouble when updating from chatplus 0.6 to the new version.

Together with your email 0.1 I could send mails and use /msg also. Everything
seemed to work fine. But what did not work was the chat. Not even one single
word wanted to appear on screen. Only who logged in and out was shown.

I commented this in your api.lua out and now it works:

Code: Select all
-- Minetest callbacks
--minetest.register_on_chat_message(function(...)
--   local ret = chatplus.send(...)
--   if ret and minetest.global_exists("irc") and irc.on_chatmessage then
--      irc.on_chatmessage(...)
--   end
--   return ret
--end)


Did you send all chat to Irc by default ?


Gundul
My servers: Jungle, Lilly in the valley, ZombieTest
 

User avatar
afflatus
Member
 
Posts: 319
Joined: Tue Apr 01, 2014 19:47
Location: Avalonia
GitHub: 0-afflatus
IRC: afflatus
In-game: afflatus

Re: [Mod] Chat plus [1.0-RC] [chatplus] – Inbox GUI

by afflatus » Thu Mar 17, 2016 12:01

This is a very useful mod. I have found a couple of problems ...

* I have written a script to rotate chatplus-log.txt as it can easily grow to several MB if the server is busy. This was causing freeze-ups on my server (not enough memory probably)
* I want to move the mail icon from in-your-face. I dare say that is trivial (haven't looked yet).

I'm using an older version, so I'll upgrade to 1.0-rc before I comment any further.
Nice work Rubenwardy!
Grailtest is dreaming ...
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Chat plus [1.0-RC] [chatplus] – Inbox GUI

by rubenwardy » Thu Mar 17, 2016 15:20

I wish it was easier to place hud items compatibly. :(

Chatplus is a little bit outdated and needs some work from me to fix some things. I recommend you look into the ignore and email mods. Ignore works a lot better than chatplus, just looking at the code.

At some point I'll update it. I'm just quite busy with other things. Log rotation would be a nice feature.
 

User avatar
rubenwardy
Moderator
 
Posts: 5887
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

User avatar
afflatus
Member
 
Posts: 319
Joined: Tue Apr 01, 2014 19:47
Location: Avalonia
GitHub: 0-afflatus
IRC: afflatus
In-game: afflatus

Re: [Mod] Chat plus [2.3] [chatplus] – Now two mods, bug fix

by afflatus » Thu Mar 17, 2016 17:02

OK, I was just about to report that.
I'll pull and test.
Thanks
Grailtest is dreaming ...
 

PreviousNext

Return to Old Mods



Who is online

Users browsing this forum: No registered users and 1 guest