Page 1 of 1

[Mod] Kick voting [0.1] [kick_voting]

Posted: Sun Dec 21, 2014 16:06
by lag01
Mod for Minetest game. Allow players to vote to make life of griefers and aggressive players harder.

This mod purpose is to allow players deal with griefers and aggressive players. Without intervention of server admin or moderators.

With enough vote overweight, griefer will respawn in "jail" (0,-2,0) instead of spawn point. Or you can code your own punishment procedure using code at the end of init.lua file as example.

Votes and punishments are assigned by IP. IP's are not saved to map data.

This mod code is licensed under the GNU LGPLv2.1 or later.
License for texture: CC BY-SA 3.0
Mod dependencies: default

Download zip
Browse on GitHub

Image

Re: [Mod] Kick voting [0.1][kick_voting]

Posted: Sun Dec 21, 2014 16:09
by ExeterDad
Excellent!

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Sun Dec 21, 2014 18:04
by Don
+1

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Sun Dec 21, 2014 18:23
by maikerumine
+1

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Sun Dec 21, 2014 18:28
by Krock
Nice, I had a similar idea a while ago, where it would be possible to vote for commands like /time, /kick and /ban.

The texture coulde be better but the mod does its job well :)

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Mon Dec 22, 2014 08:55
by 4aiman
Nice mod :)
As for the idea - an old mod of mine (1,5 y.o.) had commands for voting for/against admins/moders/bans/kicks, dealt with trespassing and different abuses like fire, pistons or even TNT...
But no one have used that ever since I've posted the sources :p

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Mon Dec 22, 2014 14:06
by Hybrid Dog
l thought about vote for kicking, too. But when l think about teeworlds…
The people in jail can't vote, can they?
Imagine two "friends" join the game and want to play alone. Then another person joins and wants to play, too. He/she gets kicked by them. After that the next person joins and wants to play. He/she gets kicked by the two. Then the next person joins and wants to play. He/she gets kicked by the two. After that the next person joins and wants to play, too. He/she gets kicked by the two. Then the next person joins and wants to play. He/she gets kicked by the two. After that the next person joins and wants to play, too. He/she gets kicked by the two. Then the next person joins and wants to play. He/she gets kicked by the two. After that the next person joins and wants to play, too. He/she gets kicked by the two. Then the next person joins and wants to play, too. He/she gets kicked by the two. And then the two make a "bot" and automatically vote for kicking when a new player joins.

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Mon Dec 22, 2014 21:27
by lag01
Hybrid Dog wrote:... After that the next person joins and wants to play. He/she gets kicked by the two. And then the two make a "bot" and automatically vote for kicking when a new player joins.
That is exactly the reason why this mod require you to spent gold ingot to vote and also other limitations. I am curious if this mod will help against griefers, or they will find the way to exploit it...

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Mon Dec 22, 2014 21:36
by Hybrid Dog
lag01 wrote:
Hybrid Dog wrote:... After that the next person joins and wants to play. He/she gets kicked by the two. And then the two make a "bot" and automatically vote for kicking when a new player joins.
That is exactly the reason why this mod require you to spent gold ingot to vote and also other limitations. I am curious if this mod will help against griefers, or they will find the way to exploit it...
gold isn't valuable when you cheat,
you can always fly and noclip
and with a little change at nodedef.cpp you can see gold through stone, like the caves
l can record a video with it for you if you want.

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Tue Dec 23, 2014 03:39
by maikerumine
Hybrid Dog wrote:
lag01 wrote:
Hybrid Dog wrote:... After that the next person joins and wants to play. He/she gets kicked by the two. And then the two make a "bot" and automatically vote for kicking when a new player joins.
That is exactly the reason why this mod require you to spent gold ingot to vote and also other limitations. I am curious if this mod will help against griefers, or they will find the way to exploit it...
gold isn't valuable when you cheat,
you can always fly and noclip
and with a little change at nodedef.cpp you can see gold through stone, like the caves
l can record a video with it for you if you want.
I'd like to see a video, out of curiosity. I didn't know one could cheat in minetest without extra privs.

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Tue Dec 23, 2014 04:17
by lag01
maikerumine wrote: I'd like to see a video, out of curiosity. I didn't know one could cheat in minetest without extra privs.
Yes, cheating deserves its own topic. Seeing thorough stones, glitch and fly is possible, i heard abour that before. Most likely, even anticheat option is not very effective against that.
Well, with enough evidence, cheating+griefing is one of rare ocasions, where permanent ban could be used.

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Tue Dec 23, 2014 13:59
by Hybrid Dog
maikerumine wrote:
Hybrid Dog wrote:[quot... After that the next person joins and wants to play. He/she gets kicked by the two. And then the two make a "bot" and automatically vote for kicking when a new player joins.
That is exactly the reason why this mod require you to s
I'd like to see a video, out of curiosity. I didn't know one could cheat in minetest without extra privs.
[/quote]
l uploaded one:
https://vimeo.com/115261206

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Tue Dec 23, 2014 14:40
by Don
@Hybrid Dog - How is that possible? How is gold highlighted like that and can it be done with other things such as diamonds? Can that be done on any server?

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Tue Dec 23, 2014 14:48
by Krock
Interesting. How did you disable the statue messages? (Fly mode turned on, ..)
Also, the gold nodes aren't default. They are diffrent drawn than the stone around them, otherwise they wouldn't show up.
Additional to this, it's not possible to see anything when you're inside a node without nocip privileges.
Nice cheat.

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Tue Dec 23, 2014 15:17
by Hybrid Dog
Don wrote:Can that be done on any server?
yes.
Don wrote:How is gold highlighted like that and can it be done with other things such as diamonds?
lt's highlighted like glass, just some changes at nodedef.cpp. lt can be done with almost every node, e.g. mese blocks, bones, nyancat nodes, see below. If you use it for diamonds,… in minetest many diamonds are generated
Don wrote:@Hybrid Dog - How is that possible?
gedit
Image
Krock wrote:
Interesting. How did you disable the statue messages? (Fly mode turned on, ..)
They aren't disabled, see 00:38
Krock wrote:Also, the gold nodes aren't default. They are diffrent drawn than the stone around them, otherwise they wouldn't show up.
lt's my texture pack, l dislike the default gold mineral texture. https://github.com/HybridDog/HybridTP/b ... l_gold.png
Krock wrote:Additional to this, it's not possible to see anything when you're inside a node without nocip privileges.
Nice cheat.
lt is, if you used linux, you could easily find the other place (not localplayer.cpp), where the noclip privilege is checked, via $ grep -rl noclip src
http://irc.minetest.ru/minetest/2013-01-29#i_2845677
http://irc.minetest.ru/minetest/2014-11-06#i_4010553
http://irc.minetest.ru/minetest/2013-01-08#i_2795718

Edit: see subscription ↓

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Sun Dec 28, 2014 15:50
by Shammmmmm
+1

Re: [Mod] Kick voting [0.1] [kick_voting]

Posted: Wed Feb 14, 2018 23:09
by scottwolff
Useful mod
Not what I though it was at first. Locks in the voting booth and won't allow changes after entering the player's name.