Toggle pvp mod

User avatar
mcfan
Member
 
Posts: 120
Joined: Wed Mar 26, 2014 15:02

Toggle pvp mod

by mcfan » Thu Mar 27, 2014 01:52

Im looking for a toggle pvp mod that works with the protector mod where you could do /togglepvp to turn pvp off and again to turn it on again. It would also only toggle pvp in the space that the protector covered. Is this possible?
Love MINECRAFT... will settle for Minetest
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Thu Mar 27, 2014 09:19

Hmmm... maybe this thing should be introduced into protector mod...
Remote deactivation of a given protector node for a certain person for specified amount of time (0=eternity) invoked on chat command sounds like a good idea :)
 

User avatar
mcfan
Member
 
Posts: 120
Joined: Wed Mar 26, 2014 15:02

by mcfan » Thu Mar 27, 2014 23:55

Is this something you can do?
Love MINECRAFT... will settle for Minetest
 

4aiman
Member
 
Posts: 1208
Joined: Mon Jul 30, 2012 05:47

by 4aiman » Fri Mar 28, 2014 08:54

Probably I can, but it's better to ask protector mod authors.
I have my own privacy mod called shared_autoban and if I'm to write/rewrite a protection mod, I'm likely to add features there. But there's no pvp disabler at all in my mod. It only forbids placing and destroying nodes within defined areas if there's a node placed by someone else. Also the version that's publicly available is broken.

Just search the forums, you'll find protection mods as well as their respectable authors.
 

User avatar
mcfan
Member
 
Posts: 120
Joined: Wed Mar 26, 2014 15:02

by mcfan » Fri Mar 28, 2014 14:04

I PM the guy who made the protector mod but I haven't got a reply yet.
Love MINECRAFT... will settle for Minetest
 

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

by Krock » Fri Mar 28, 2014 14:19

mcfan wrote:I PM the guy who made the protector mod but I haven't got a reply yet.

I looked through the minetest lua api and couldn't find any function which gets used when a player gets hurt by "object".
Function status: not integrated, your project/idea seems to be currently impossible.
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
mcfan
Member
 
Posts: 120
Joined: Wed Mar 26, 2014 15:02

by mcfan » Fri Mar 28, 2014 18:44

That is too bad. I hope we can find something sometime. Thanks for looking though.
Love MINECRAFT... will settle for Minetest
 

User avatar
mcfan
Member
 
Posts: 120
Joined: Wed Mar 26, 2014 15:02

by mcfan » Sat Mar 29, 2014 01:20

Where is the programming for turning off enable damage? Any way to make it turn off enable damage upon entering a area?
Love MINECRAFT... will settle for Minetest
 

User avatar
minermoder27
Member
 
Posts: 127
Joined: Wed Nov 20, 2013 23:24
GitHub: ZNixian
In-game: minermoder27

by minermoder27 » Sat Mar 29, 2014 01:39

To disable damage, just keep setting any players within the area to 20 hp / 10 hearts. I think there is also a way to remove the health bar from the head-up display.
My best mods:
Buildtest
 

User avatar
mcfan
Member
 
Posts: 120
Joined: Wed Mar 26, 2014 15:02

by mcfan » Sat Mar 29, 2014 12:00

But then people could still irritate you by making your screen red all the time.
Love MINECRAFT... will settle for Minetest
 

Cristal
New member
 
Posts: 1
Joined: Fri Jun 24, 2016 14:06
GitHub: 0015
IRC: imadIRC
In-game: imad1234

Re: Toggle pvp mod

by Cristal » Sat Jun 25, 2016 15:58

hi
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 15 guests

cron