Page 1 of 1

[Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 17:51
by srifqi
Hi!
This mod add new gameplay!

There are no respawn! You will get banned from server (aka MC-like hardcore mode).

There are 2 option in ban-ing player, set the USE_ADVANCEDBAN parameter into:
  • true : Ban the player (using [advancedban] mod)
  • false : Ban the ip (the normal one)

Github: https://github.com/srifqi/banondie

Download:
License: CC0 1.0 Universal
Dependencies: advancedban?

No screenshot needed :P

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 18:22
by Krock
I wonder how people can enjoy this game style.
At least after 30 mins, everybody got banned..

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 18:29
by srifqi
^^^
Haha,
Just try this IF you want MORE challenges.

Hope the admin don't get banned!

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 18:41
by maikerumine
This could be cool, say the ban list was reset like every few hours or so? Deathmatch style gaming.

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 18:47
by srifqi
maikerumine wrote:This could be cool, say the ban list was reset like every few hours or so? Deathmatch style gaming.

Nice idea! Hope I have a time to add that feature! Thanks, maikerumine!

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 19:01
by maikerumine
srifqi wrote:
maikerumine wrote:This could be cool, say the ban list was reset like every few hours or so? Deathmatch style gaming.

Nice idea! Hope I have a time to add that feature! Thanks, maikerumine!

You are welcome!

Another option is have it reset by host menu on server and after reset a tally of who is left, who killed who, and a reset.

Reset could punt all players still alive to help keep it interesting.

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jan 07, 2015 19:06
by srifqi
Woah, a lot of request, let me see if I can do that all.

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Thu Jan 08, 2015 13:27
by Esteban
I was waiting for something like this! Thanks srifqi!
Now PvP will be more fun! ;3

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Thu Feb 12, 2015 19:52
by Gerald
Besides the automatic reban (reset) there could be a manuel reban. Other people had this idea, too:
https://forum.minetest.net/viewtopic.php?f=9&t=9462&hilit=eisen#p144244
Maybe other players should be able to awake dead ones by placing food in their bones. (bones need a new slot. It should also last some time -> just like a furnance)
This would also stop people killing theirselves instead of eating something.

If you want to be protected against login with a new player name (with oder IP) Players should get interact during the next reset.

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Wed Jun 10, 2015 17:48
by Diamond knight
any servers that use this that i could join?

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Sat Jun 13, 2015 14:20
by DS-minetest
it is really sad, if you fall down a bit and are banned. for minetest this is no good mode, i think.

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Sun Jun 14, 2015 06:41
by srifqi
DS-minetest wrote:it is really sad, if you fall down a bit and are banned. for minetest this is no good mode, i think.

viewtopic.php?f=11&t=10940#p167232
srifqi wrote:^^^
Haha,
Just try this IF you want MORE challenges.

Hope the admin don't get banned!

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Sun Jun 14, 2015 18:38
by Diamond knight
is there a way to make this work on singleplayer for the realtest fork i am working on

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Sun Jun 14, 2015 18:43
by rubenwardy
Diamond knight wrote:is there a way to make this work on singleplayer for the realtest fork i am working on



replace https://github.com/srifqi/banondie/blob ... ua#L16-L21

Code: Select all
if USE_ADVANCEDBAN == true then
   advancedban.ban(name) -- advancedban ban
   minetest.kick_player(name, KICK_MESSAGE) -- kick player
else
   minetest.ban_player(name) -- normal ban
end


with

Code: Select all
local f = io.open(minetest.get_worldpath() .. "/permadeath.txt", "w")
f.write("dead\n")
f.close()   
minetest.kick_player("singleplayer", "permadeath")
minetest.request_shutdown()
return


add these lines to the top of the file:

Code: Select all
local f = io.open(minetest.get_worldpath() .. "/permadeath.txt", "r")
if f then
   error("You've died!")
end


This is less "banned on die", more "permadeath" for singleplayer. It won't work on servers. It's also a little hacky :P

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Sun Jun 14, 2015 18:54
by prestidigitator
You could also delete all generated blocks, remove all entities, and empty player inventory. That basically makes player death a "start again from scratch" event, which seems functionally equivalent to permanent death.

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Sat Jul 04, 2015 05:44
by hampa16
Ok, so if you actually had a friend and he/she dies, then what will his/her reaction to this mod be?

Also, how would it be possible to unban someone?

Re: [Mod] Banned on Die [0.1] [banondie]

PostPosted: Tue Jul 21, 2015 15:55
by srifqi
hampa16 wrote:Ok, so if you actually had a friend and he/she dies, then what will his/her reaction to this mod be?

He/She will said: "srifqi, please unban me! Argh, this mod bans me!". Maybe like that. :D
Oh, I'll answer: "Oops, I don't have "ban" privileges. :D".

hampa16 wrote:Also, how would it be possible to unban someone?

Just write in chat command (require "ban" privilege):
Code: Select all
/unban <username of he/she>

For server which use Advanced Ban mod:
Code: Select all
/unaban <username of he/she>

Both username and IP:
Code: Select all
/unaban+ <username of he/she>