[Mod] Interact [interact]

Amaz
Member
 
Posts: 343
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

[Mod] Interact [interact]

by Amaz » Tue Feb 10, 2015 22:02

This mod provides another way of granting players interact, somewhat automatically. Players have to confirm that they will not grief, then they will have the option to just visit the world or gain interact. The player will have to agree to the rules, before taking a quiz, asking what the rules say.
You probably will want to change the rules, found in the rules.lua file, and the quiz questions, which are related to the rules, and also found in rules.lua. All other configuration options can be found in config.lua. The options provided are pretty basic defaults, so you may want to check them!
Other bits and pieces can be found in the Readme.
All of the screens do not have to be shown, and the content on the first two can be changed in the config.lua, but the basic structure does have to be kept...
+ Screenshots!

License: MIT
Credits: Based of the (old) rules "mod" on Craigy Davi's server, which was based on this mod: https://github.com/ChaosWormz/mt_terms_of_use
Dependencies: None!
Download: https://github.com/Amaz1/interact/archive/master.zip
Code on github: https://github.com/Amaz1/interact
Last edited by Amaz on Fri Sep 02, 2016 21:42, edited 4 times in total.
 

User avatar
gabo.xandre
Member
 
Posts: 70
Joined: Sat Mar 15, 2014 12:54
Location: Argentina
GitHub: GaboXandre
IRC: GaboXandre
In-game: Gabo

Re: [Mod]Interact[interact]

by gabo.xandre » Tue Feb 10, 2015 22:09

Great mod.
Makes it really easy for new players to get interact and read the rules.
 

User avatar
Oussamarer
Member
 
Posts: 49
Joined: Sat Jan 10, 2015 14:56
GitHub: Oussamarer
IRC: Oussamarer
In-game: Oussamarer

Re: [Mod]Interact[interact]

by Oussamarer » Wed Feb 11, 2015 10:20

i see that you released it
great mod , great code , great everything
I make lets plays on minetest and other games , feel free to check me out and drop some suggestions : https://www.youtube.com/watch?v=g-tWCtruQAQ
 

User avatar
Evergreen
Member
 
Posts: 2135
Joined: Sun Jan 06, 2013 01:22
Location: A forest in the midwest
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen
 

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

Re: [Mod]Interact[interact]

by Krock » Wed Feb 11, 2015 18:17

Good idea! I hope OldCoder will use this mod on his servers because there's mostly no moderator around.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Hybrid Dog
Member
 
Posts: 2681
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Interact [interact]

by Hybrid Dog » Sat Feb 14, 2015 20:31

you can use some code from there if you want
https://github.com/HybridDog/rulesaccept

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

Amaz
Member
 
Posts: 343
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: [Mod] Interact [interact]

by Amaz » Thu Apr 23, 2015 08:46

I've updated the mod. Now everything is configurable by editing things in the config.lua file. All the options should be fairly well documented.

Also, there is a now a quiz screen, where the players are quizzed on the rules! The questions for it are just bellow the rules in the rules.lua file. It should (with good questions!) help to make sure that players actually read the rules, and don't just click accept...
 

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

Re: [Mod] Interact [interact]

by Krock » Thu Apr 23, 2015 16:37

Please add the intllib dependency to make it more language-friendly.

The quiz is a nice idea but "PVP is allowed" can be point in the rules.
Rules aren't always restrictions.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Hybrid Dog
Member
 
Posts: 2681
Joined: Thu Nov 01, 2012 12:46

Re: [Mod] Interact [interact]

by Hybrid Dog » Fri Apr 24, 2015 15:09

Krock wrote:Please add the intllib dependency to make it more language-friendly.

The interact mod is made for multiplayer, isn't it? And as far as l know, intllib only works in singleplayer mode (or national mt servers).

‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪‮
‮‪
 

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

Re: [Mod] Interact [interact]

by Krock » Fri Apr 24, 2015 19:34

Hybrid Dog wrote:
Krock wrote:Please add the intllib dependency to make it more language-friendly.

The interact mod is made for multiplayer, isn't it? And as far as l know, intllib only works in singleplayer mode (or national mt servers).

I saw some national server and they might like questions in their language.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

Amaz
Member
 
Posts: 343
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: [Mod] Interact [interact]

by Amaz » Sat Apr 25, 2015 06:52

Krock wrote:Please add the intllib dependency to make it more language-friendly.

Okay, I'll have a look at how to do that...
Second Edit: I don't think that there is a need for intllib, because all of things that would need translating can be found in config.lua or rules.lua and so the server owner can put his own translation in there... And as intllib is server side (as far as I can see), it won't make a difference for the clients.

Krock wrote:The quiz is a nice idea but "PVP is allowed" can be point in the rules.
Rules aren't always restrictions.

The values in the quiz are just default values, they can, or rather, are supposed to be changed, like the rules, which are just a default set.
From Readme.md: "You will probably want to replace the default rules with your own in rules.lua. Also, the quiz should be adapted to your rules, thus the quiz questions are found in rules.lua also."
Edit: Also, I was about to edit the first post to add that info, and I found it was already in there: "You probably will want to change the rules, found in the rules.lua file, and the quiz questions, which are related to the rules." (I have added that the quiz questions are also found in rules.lua to make things clearer.)
 

User avatar
orwell
Member
 
Posts: 716
Joined: Wed Jun 24, 2015 18:45
Location: Raxacoricofallapatorius
In-game: orwell

Re: [Mod] Interact [interact]

by orwell » Wed Aug 19, 2015 09:47

A nice idea and a nice mod!

Two things that could be done better:
1. Why is the player kicked if he doesn't agree to the rules? There should be an option to show a message to the player that he can only look around the server if he does not accept the rules instead of instantly kicking (or banning) him.
2. Could you please prefix your form names with "interact_" (like interact_welcome or interact_quiz) to avoid conflicts with other mods? (what if another mod is creating a form named "quiz" too?)

Nice work anyway!
Lua is great!
List of my mods
I like singing. I like dancing. I like ... niyummm...
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 13 guests