[Mod] Server Helper: In-game bot [v1.2]

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

[Mod] Server Helper: In-game bot [v1.2]

by Tmanyo » Wed Sep 07, 2016 01:04

Description: This mod is a great public server tool and can be used as a chat moderator. It has many helpful features. There are also 4 settings included that can be changed in the config.lua that allow you to change the bots actions depending on the server rules. So if your server allowed foul language, you would go change the language_control setting to false. People could curse freely without punishment.

Features:
  • Language Control
  • Cap usage control
  • Time change control
  • Punctuation control
  • If a player dies in survival they will be asked if they want to be teleported to their bones.
  • If a player chats that they are stuck they will be asked if they want to be teleported to spawn.
  • Other friendly conversational abilities.

Note: Does not deal at all with IRC.

Credits:
NathanS21 helped figure out issues with the code.

License: LGPL 2.1

Download: V1.2
Github: https://github.com/Tmanyo/server_helper
Last edited by Tmanyo on Sat Oct 15, 2016 23:03, edited 4 times in total.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
MineYoshi
Member
 
Posts: 4267
Joined: Wed Jul 08, 2015 13:20
GitHub: MineYosh
IRC: MineYoshi
In-game: Kirby_Retro

Re: [Mod] Server Helper: In-game bot

by MineYoshi » Wed Sep 07, 2016 01:37

+100!
People talk about freedom of speech, so i'll say that God exists.
Open your eyes!! See The big unicorn conspiracy.!! :D The government has been lying to us about unicorns!!
"I've learned there are three things you don't discuss with people: religion, politics and the Great Pumpkin" - Linus Van Pelt
I'm the Officially 1st ABJist in the world ( ͡° ͜ʖ ͡°)
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] Server Helper: In-game bot

by azekill_DIABLO » Wed Sep 07, 2016 09:56

+1 too!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: [Mod] Server Helper: In-game bot

by cd2 » Thu Sep 08, 2016 17:26

Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Server Helper: In-game bot

by Tmanyo » Thu Sep 08, 2016 22:06

cd2 wrote:Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.


Hmmm, I have tested it out on a public server and specifically told people to use all caps and it was said more than 5 times in a row by multiple people. When one person finally used it enough times they were kicked, I made sure and counted every ones messages. If that is what you are getting at. I don't believe there is a problem there. If you want to do further testing and get back with me on the results that would be great. :) I would also prefer a screenshot of all the text.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
cd2
Member
 
Posts: 552
Joined: Mon Jun 01, 2015 06:30
GitHub: cdqwertz
IRC: freenode - cd2 InchraNet - cd
In-game: cd cd2

Re: [Mod] Server Helper: In-game bot

by cd2 » Fri Sep 09, 2016 12:13

Tmanyo wrote:
cd2 wrote:Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.


Hmmm, I have tested it out on a public server and specifically told people to use all caps and it was said more than 5 times in a row by multiple people. When one person finally used it enough times they were kicked, I made sure and counted every ones messages. If that is what you are getting at. I don't believe there is a problem there. If you want to do further testing and get back with me on the results that would be great. :) I would also prefer a screenshot of all the text.


The problem is that "b" will be kicked but he only used caps once. "a" wont be kicked.
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Server Helper: In-game bot

by Tmanyo » Sat Sep 10, 2016 02:23

cd2 wrote:
Tmanyo wrote:
cd2 wrote:Nice Idea!

I think I found a bug (I did not try this out but I read the code):
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
<b> hi a how are you?
<a> HI I ALWAYS WRITE IN CAPS
<b> I usually dont write in caps
<a> LOL
<a> OMG
<a> I LOVE WRITING IN CAPS
<b> STOP
(kicked b)
<a> BYE B :D

To fix that you will need to use a table instead of a simple variable.


Hmmm, I have tested it out on a public server and specifically told people to use all caps and it was said more than 5 times in a row by multiple people. When one person finally used it enough times they were kicked, I made sure and counted every ones messages. If that is what you are getting at. I don't believe there is a problem there. If you want to do further testing and get back with me on the results that would be great. :) I would also prefer a screenshot of all the text.


The problem is that "b" will be kicked but he only used caps once. "a" wont be kicked.


Ok I have found the issue and will fix it. :) Thank you for bringing it to my attention.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Server Helper: In-game bot

by Tmanyo » Mon Sep 12, 2016 02:30

Version 1.1 Release!
Change-log -------
Fixed the caps control and language control variable issue.
  • A player could use all caps 4 times in a row and another player could use all caps once and the second player would be kicked.
  • So now it keeps track of each player.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Server Helper: In-game bot [v1.1]

by Krock » Mon Oct 10, 2016 19:40

Is there any way to disable these comments when they're too annoying in-game? I've seen this mod on a server and it wasn't helpful to me at all. It rather made it more complicated to read the chat logs. Also while chatting it notified me to explain the matter with the message like "need help?" or to not use caps when I began with the nickname "YuGiOhJCJ, ...". Another time it printed my IP on my screen - just - why?
It is a nice idea to make the life of server admins easier but in its current state I'd rather want to mute these messages.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Server Helper: In-game bot [v1.1]

by Tmanyo » Wed Oct 12, 2016 23:30

An easy way to disable this is to go the configure button on the client that is running the server and to deselect server_helper. There is also a config lua file that has settings that can be set to false, which when set certain things are no longer checked for. I am aware of the IP bug and I am sorry you are unhappy. I will try to fix the issues as soon as possible. :)

Edit:
The reason it told you to not use caps while typing the name was that many people try to "get around" the caps issue with putting a space or some other character in between the caps.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
Nathan.S
Member
 
Posts: 679
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] Server Helper: In-game bot [v1.1]

by Nathan.S » Thu Oct 13, 2016 14:31

It would be easy enough to make the messages about using caps, etc to only be shown to the player that used them, using chat_send_player rather than chat_send_all.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Server Helper: In-game bot [v1.1]

by Krock » Thu Oct 13, 2016 14:40

Tmanyo wrote:An easy way to disable this is to go the configure button on the client that is running the server and to deselect server_helper.

Bad luck, I'm not the server admin. I'm asking this from the perspective of a regular player on a server who would like to disable these messages just for himself.

Nathan.S wrote:[..] using chat_send_player rather than chat_send_all.

In my opinion, this could be also done for the greeting message after "hello" and rule notifications.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Server Helper: In-game bot [v1.1]

by Tmanyo » Fri Oct 14, 2016 00:41

Krock wrote:
Tmanyo wrote:An easy way to disable this is to go the configure button on the client that is running the server and to deselect server_helper.

Bad luck, I'm not the server admin. I'm asking this from the perspective of a regular player on a server who would like to disable these messages just for himself.

Just out of curiosity, what server was this? I would like to talk with the administrator, and see what he/she thinks for further analysis.
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: [Mod] Server Helper: In-game bot [v1.1]

by Krock » Fri Oct 14, 2016 08:13

Tmanyo wrote:Just out of curiosity, what server was this? I would like to talk with the administrator, and see what he/she thinks for further analysis.

Fine, you can start with the self-study. It is your server with Vault as admin.
EDIT: If you wish to move this discussion to IRC - try to catch me in the InchraNet channel :)
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

ManElevation
Member
 
Posts: 213
Joined: Tue Aug 02, 2016 22:04
GitHub: ManElevation
IRC: ManElevation
In-game: ManElevation

Re: [Mod] Server Helper: In-game bot [v1.1]

by ManElevation » Sat Oct 15, 2016 14:36

wow this is awesome but im using this on my server, i dont really like the "want to get teleported to your bones?"
Hey there im going to be off minetest for a while because my company has been deleloping a game called Ground Conflict, if you wish to see some screenshots or have some info, than please join our discord server https://discord.gg/C9ygXJn
 

User avatar
Tmanyo
Member
 
Posts: 151
Joined: Mon Sep 29, 2014 01:20
GitHub: Tmanyo
IRC: Tmanyo
In-game: tmanyo

Re: [Mod] Server Helper: In-game bot [v1.1]

by Tmanyo » Sat Oct 15, 2016 22:58

ManElevation wrote:wow this is awesome but im using this on my server, i dont really like the "want to get teleported to your bones?"

Is there a bug, or you just don't like the feature?
Tmanyo
http://rrhmsservers.weebly.com/
Servers I Host:
Xtremetest
Vault-81
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 13 guests

cron