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

Post Reply
User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

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
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

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

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

by Krock » Post

I wonder how people can enjoy this game style.
At least after 30 mins, everybody got banned..
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

^^^
Haha,
Just try this IF you want MORE challenges.

Hope the admin don't get banned!
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

This could be cool, say the ban list was reset like every few hours or so? Deathmatch style gaming.
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

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!
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
maikerumine
Member
Posts: 1420
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

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

by maikerumine » Post

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.
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

Woah, a lot of request, let me see if I can do that all.
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
Esteban
Member
Posts: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

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

by Esteban » Post

I was waiting for something like this! Thanks srifqi!
Now PvP will be more fun! ;3
Scan avatar or click here to read a Message of Hope (PDF)

Gerald
Member
Posts: 93
Joined: Sun Dec 28, 2014 10:35
In-game: gerald7
Location: Germany

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

by Gerald » Post

Besides the automatic reban (reset) there could be a manuel reban. Other people had this idea, too:
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.

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

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

by Diamond knight » Post

any servers that use this that i could join?

User avatar
Desour
Member
Posts: 1472
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

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

by Desour » Post

it is really sad, if you fall down a bit and are banned. for minetest this is no good mode, i think.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

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!
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

User avatar
Diamond knight
Member
Posts: 475
Joined: Sun Apr 19, 2015 19:50
GitHub: Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:

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

by Diamond knight » Post

is there a way to make this work on singleplayer for the realtest fork i am working on

User avatar
rubenwardy
Moderator
Posts: 6977
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

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

by rubenwardy » Post

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
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

prestidigitator
Member
Posts: 647
Joined: Thu Feb 21, 2013 23:54

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

by prestidigitator » Post

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.

hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

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

by hampa16 » Post

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?

User avatar
srifqi
Member
Posts: 570
Joined: Sat Jun 28, 2014 04:31
GitHub: srifqi
IRC: srifqi
In-game: srifqi
Location: Indonesia

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

by srifqi » Post

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>
Saya dari Indonesia! · Terjemahkan Minetest! · my mods · My nickname in IPA: /es.rif.qi/

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 18 guests