[Mod] Agree rules or kick V4 [agreerules]
[Mod] Agree rules or kick V4 [agreerules]
License: LGPL-2.1
Depends: none
Source
Download
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 appear on players that joins without interact
Type /rules 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)
- Attachments
-
- screenshot_20170817_131947.png (902.95 KiB) Viewed 1823 times
Last edited by AiTechEye on Mon Dec 31, 2018 07:51, edited 23 times in total.
- Krock
- Developer
- Posts: 4649
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: [Mod] Agree rules or kick
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?".
However, you definitely need a label with the question "Do you accept the server rules?".
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
-
- Member
- Posts: 4276
- Joined: Sun Sep 09, 2012 17:31
- GitHub: Sokomine
- IRC: Sokomine
- In-game: Sokomine
Re: [Mod] Agree rules or kick
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.
- SegFault22
- Member
- Posts: 872
- Joined: Mon May 21, 2012 03:17
- Location: NaN
Re: [Mod] Agree rules or kick (V2)
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.
I will use this for my server, if I ever get around to being able to host it on a stable machine.
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [Mod] Agree rules or kick (V2)
What's the license for this?
Please also change your topic's title to contain [agreerules]
eg: [Mod] Agree rules or kick [V2] [agreerules]
Please also change your topic's title to contain [agreerules]
eg: [Mod] Agree rules or kick [V2] [agreerules]
Re: [Mod] Agree rules or kick [agreerules] (V2)
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 ...
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.
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [Mod] Agree rules or kick V2 [agreerules]
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.
Re: [Mod] Agree rules or kick V2 [agreerules]
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.
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [Mod] Agree rules or kick V2 [agreerules]
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.
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.
Re: [Mod] Agree rules or kick V2 [agreerules]
Done
Last edited by AiTechEye on Sat Nov 28, 2015 13:05, edited 2 times in total.
- Minetestforfun
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Agree rules or kick V2 [agreerules]
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 :)
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 :)
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
- prof-turbo
- Member
- Posts: 516
- Joined: Mon May 07, 2012 17:02
- Location: MinetestForFun or Teeworlds master server list
Re: [Mod] Agree rules or kick V2 [agreerules]
Looks nice and easy to use !
Thumbs up !
Thumbs up !
- rubenwardy
- Moderator
- Posts: 6972
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [Mod] Agree rules or kick V2 [agreerules]
This mod is still proprietary. I give up, I'll make my own verson.
- Minetestforfun
- Member
- Posts: 940
- Joined: Tue Aug 05, 2014 14:09
- GitHub: MinetestForFun
- IRC: MinetestForFun
- In-game: MinetestForFun
- Location: On earth
- Contact:
Re: [Mod] Agree rules or kick V2 [agreerules]
Have a look at MFF version https://github.com/MinetestForFun/serve ... s/interact WTFPL licenced (base + the improvements)
MinetestForFun Team mods : [spidermob] [fishing]
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
---
Our Minetest servers :
MinetestForFun (Survival - PvP - Hardcore)[FR/EN]
MinetestForFun HUNGER GAMES
MinetestForFun SKYBLOCK
MinetestForFun CREATIVE
Re: [Mod] Agree rules or kick V3 [agreerules]
Added languages (a wish by ulla :-)
- ShadowNinja
- Developer
- Posts: 200
- Joined: Tue Jan 22, 2013 22:35
- GitHub: ShadowNinja
- IRC: ShadowNinja
- In-game: ShadowNinja
Re: [Mod] Agree rules or kick V3 [agreerules]
It looks like the "Ingles" button is for spanish, but in Spanish "Ingles" means "English". Did you mean to use "Español"?
Re: [Mod] Agree rules or kick V3 [agreerules]
i have not seen that, fixed!
Re: [Mod] Agree rules or kick V3 [agreerules]
Is there a reason your own Swedish translation wasn't included?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)
Re: [Mod] Agree rules or kick V3 [agreerules]
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 :-)
Re: [Mod] Agree rules or kick V3 [agreerules]
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
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
Re: [Mod] Agree rules or kick V3 [agreerules]
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 ...
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 ...
Re: [Mod] Agree rules or kick V3 [agreerules]
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
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
Re: [Mod] Agree rules or kick V3 [agreerules]
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
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
Who is online
Users browsing this forum: No registered users and 22 guests