This mod adds a ban hammer and a kick pick to Minetest. They can be used only by players who have the ban/kick privs. The items are not craftable. I think that's about it!
Slight warning: I have not tested the ban hammer much, so if it bans you from your server when you use it, I'm very sorry!
This requires a -dev version of Minetest from at least the 15th May. (When register_on_punchplayer was added)
Github link: https://github.com/Amaz1/banhammer.git
Download: https://github.com/Amaz1/banhammer/archive/master.zip
Depends: Nothing!
License: WTFPL code and banhammer texture, CC BY-SA 3.0 kick pick texture, based off BlockMen's pick texture.
[mod] Ban hammer! [banhammer]
- Evergreen
- Member
- Posts: 2135
- Joined: Sun Jan 06, 2013 01:22
- GitHub: 4Evergreen4
- IRC: EvergreenTree
- In-game: Evergreen
- Location: A forest in the midwest
- Contact:
Re: [mod] Ban hammer! [banhammer]
I actually have already made a mod for this (viewtopic.php?t=9032). What does this do differently?
Back from the dead!
Re: [mod] Ban hammer! [banhammer]
I didn't realize that, sorry!Evergreen wrote:I actually have already made a mod for this (viewtopic.php?t=9032). What does this do differently?
I think that the code that mine uses is considerably shorter, and it use a function of the api to do it (register_on_punchplayer).
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Re: [mod] Ban hammer! [banhammer]
His uses the hammer's on_use function, which is a better way IMHO.Amaz wrote:I didn't realize that, sorry!Evergreen wrote:I actually have already made a mod for this (viewtopic.php?t=9032). What does this do differently?
I think that the code that mine uses is considerably shorter, and it use a function of the api to do it (register_on_punchplayer).
Who is online
Users browsing this forum: No registered users and 39 guests