[Mod] Agree rules or kick V3 [agreerules]

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

[Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Wed Jun 03, 2015 13:56

Now you can skip the cage for new players!

A tiny mod that requires players agree your rules, or be kicked. Yes or No

you can select between to just perss Yes, or to type i agree to the rules (as default)

You can change this in the init.lua file "Enable_type_text_to_accept= true / false"

It check if players have interact on join or this coming up.
Type[ b]/rules[/b] to show the form

Add rules / privs to grant in the init.lua file, shout interact & home is default

english, spanish, french, german translations
change default language or if you want all 4 or only 1 language
Enable_Only_1_language= false
Default_language_number= 1

Blame google translate if the grammatical or spelling is wrong,(I only talking english or swedish)

Licenses: code LGPL 2.1 media CC BY-SA 3.0
Depends: none

Image
Attachments
ByUjEdwinV3-1-agreerules.zip
(2.67 KiB) Downloaded 196 times
screenshot_20160210_164509.jpg
screenshot_20160210_164509.jpg (400.92 KiB) Viewed 4997 times
Last edited by AiTechEye on Mon May 09, 2016 17:32, edited 17 times in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

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

Re: [Mod] Agree rules or kick

by Krock » Wed Jun 03, 2015 16:44

My english teacher always told me to write complete sentences.
However, you definitely need a label with the question "Do you accept the server rules?".
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
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick

by AiTechEye » Wed Jun 03, 2015 21:01

its fixed
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

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

Re: [Mod] Agree rules or kick

by Sokomine » Thu Jun 11, 2015 03:38

The mod might be very useful for servers. The only trouble is that people who are incapable of actually understanding the rules may be able to locate the "Yes" button and press it. It has happened often enough that players - when asked what the rules are - told that they where unable to read them due to not understanding the languange they where written on a particular server. Thus, it is only a little help, but certainly better than nothing. The greeting message is certainly fine! Real new players might not even know about interact. That gets handled well.
A list of my mods can be found here.
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick (V2)

by AiTechEye » Fri Aug 21, 2015 08:44

Upaded to V2
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
SegFault22
Member
 
Posts: 870
Joined: Mon May 21, 2012 03:17

Re: [Mod] Agree rules or kick (V2)

by SegFault22 » Fri Aug 28, 2015 17:18

This mod will be very useful for servers where players accepting the rules are given the ability to interact with the environment - such as "regular" servers (where players build their homes cooperating with the community, and griefing is not allowed), creative servers (where players are in creative mode and can build or modify anything they desire without needing tools), faction servers (where players make factions and can only protect a chunk of land if their faction has enough power, which is lost when a member dies), and other servers where rules are necessary (except for chaos/griefing servers, where nobody makes the rules and you "decide your own fate").
I will use this for my server, if I ever get around to being able to host it on a stable machine.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Agree rules or kick (V2)

by rubenwardy » Thu Nov 26, 2015 19:47

What's the license for this?

Please also change your topic's title to contain [agreerules]
eg: [Mod] Agree rules or kick [V2] [agreerules]
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick [agreerules] (V2)

by AiTechEye » Fri Nov 27, 2015 08:50

Unless nuthing else noted, this is that applies to all the mods I publishing

1: Use the mod in public servers
2: Take a parts of the code (if needed)
3: Edit the mod

I forgot to add licens to the older mods, I dont want to download --> edit --> reupload all the other 12 mods ...
Last edited by AiTechEye on Fri Nov 27, 2015 13:23, edited 1 time in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Agree rules or kick V2 [agreerules]

by rubenwardy » Fri Nov 27, 2015 12:23

That sounds like an no-derivitives license, which you're not allowed to post mods under here. I suggest using WTFPL, MIT, or LGPL or later. You can't legally modify the rules or privs with a nd licence. I've made improvements to the mod, which it appears I'm not allowed to do.
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V2 [agreerules]

by AiTechEye » Fri Nov 27, 2015 13:23

Licenses for all mods created by me is changed
Last edited by AiTechEye on Sat Nov 28, 2015 13:04, edited 2 times in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Agree rules or kick V2 [agreerules]

by rubenwardy » Fri Nov 27, 2015 14:38

A license such as LGPL, BSD, or MIT require you to keep copyright notices on the file. CC-BY requires attribution, but it's unclear where the credit has to be. I think forum posts and read mes are enough. But cc bywasnt really designed for code.

This would literally take me 15-30m to make. Most of that time on making the formspec look nice. But I didn't, because it saves me time. But I will have to do that if this isn't foss.
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V2 [agreerules]

by AiTechEye » Fri Nov 27, 2015 15:04

Done
Last edited by AiTechEye on Sat Nov 28, 2015 13:05, edited 2 times in total.
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

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

Re: [Mod] Agree rules or kick V2 [agreerules]

by Minetestforfun » Fri Nov 27, 2015 15:08

Great work

In MinetestForFun servers we use a mod based on the "interact" mod to do this kind of things, we really impoved the initial "interact" mod.

If you want to take some ideas/codes https://github.com/MinetestForFun/serve ... s/interact :)
 

User avatar
prof-turbo
Member
 
Posts: 518
Joined: Mon May 07, 2012 17:02

Re: [Mod] Agree rules or kick V2 [agreerules]

by prof-turbo » Sat Nov 28, 2015 11:04

Looks nice and easy to use !
Thumbs up !
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] Agree rules or kick V2 [agreerules]

by rubenwardy » Sat Jan 02, 2016 21:18

This mod is still proprietary. I give up, I'll make my own verson.
 

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

Re: [Mod] Agree rules or kick V2 [agreerules]

by Minetestforfun » Fri Jan 08, 2016 10:12

Have a look at MFF version https://github.com/MinetestForFun/serve ... s/interact WTFPL licenced (base + the improvements)
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Wed Feb 10, 2016 16:10

Added languages (a wish by ulla :-)
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

User avatar
ShadowNinja
Member
 
Posts: 194
Joined: Tue Jan 22, 2013 22:35
GitHub: ShadowNinja
IRC: ShadowNinja
In-game: ShadowNinja

Re: [Mod] Agree rules or kick V3 [agreerules]

by ShadowNinja » Mon May 09, 2016 15:54

It looks like the "Ingles" button is for spanish, but in Spanish "Ingles" means "English". Did you mean to use "Español"?
I play on my Minetest server and VanessaE's.
The best way to contact me is usually IRC (InchraNet, freenode).
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Mon May 09, 2016 17:28

i have not seen that, fixed!
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

KCoombes
Member
 
Posts: 278
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt or Rudilyn

Re: [Mod] Agree rules or kick V3 [agreerules]

by KCoombes » Tue May 10, 2016 10:44

UjEdwin wrote:Now you can skip the cage for new players!

A tiny mod that requires players agree your rules, or be kicked. Yes or No
(snip)

english, spanish, french, german translations
(snip)

Blame google translate if the grammatical or spelling is wrong,(I only talking english or swedish)


Is there a reason your own Swedish translation wasn't included?
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Tue May 10, 2016 14:07

the idea was to add the 4 biggest languages to make it easyer for more users, but if you think it should be added then i will do it :-)
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Codesound
Member
 
Posts: 49
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Agree rules or kick V3 [agreerules]

by Codesound » Thu Mar 02, 2017 17:34

Minetest 0.4.15, ByUjEdwinV3-1-agreerules, Win 7 x32 [server]

Hi,

I downloaded, unzipped and placed in the correct path, enabled on my server/level, this mod, but doesn't appear anything on screen... what I wrong?

thanks again for all...

R
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Thu Mar 02, 2017 21:24

The mod checks, if players that joins have interact.
so if a player not have interact, will the form show up.

change players starting privs in minetest.conf, with the line default_privs = interact, shout, home ...
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Codesound
Member
 
Posts: 49
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Agree rules or kick V3 [agreerules]

by Codesound » Fri Mar 03, 2017 20:34

Hi,

many thanks for your suggestions.... but anything is changed....

I added to minetest.conf the line default_privs = interact, shout, home
and tried to enter with another username, but anything is changed....

I did not understand what I should do ...

R
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Fri Mar 03, 2017 20:41

remove the "interact", like

default_privs is the privs that will be automatically granted to new players,and to make the mod work, you need to make the new players don't automatically get interact,

so use default_privs = shout, home
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Codesound
Member
 
Posts: 49
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Agree rules or kick V3 [agreerules]

by Codesound » Sat Mar 04, 2017 17:09

Hi,

many and many thanks for this mod and for your support!

I changed the "German" language to "Italian" and set this default language ..... works!

One another question: the new users receive the 'interact' priv via moderator, like '\grant user interact' .... is correct?

thanks again!

R
 

User avatar
AiTechEye
Member
 
Posts: 409
Joined: Fri May 29, 2015 21:14

Re: [Mod] Agree rules or kick V3 [agreerules]

by AiTechEye » Sat Mar 04, 2017 22:48

yeah:
/grant <name> <priv>

/grant Player0211 interact

remove privs:
/revoke <name> <priv>

http://wiki.minetest.net/Privileges
Alive AI Mine/Build AI NPC
Gravitygun HL2
Portalgun Portal
Marssurvive Survive on mars
Bows bows + arrows
SoundCloud (Music)
SoundCloud (Classic)
YouTube
 

Codesound
Member
 
Posts: 49
Joined: Thu Jun 09, 2016 14:56

Re: [Mod] Agree rules or kick V3 [agreerules]

by Codesound » Mon Mar 06, 2017 07:33

Many and many thanks again! (also for your support!)

Beautiful mod!
5/5

R
 


Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 11 guests

cron