[Mod] freeze (WIP)

Post Reply
IhrFussel
Member
Posts: 78
Joined: Tue Nov 22, 2016 12:54
GitHub: IhrFussel
IRC: IhrFussel
In-game: IhrFussel

[Mod] freeze (WIP)

by IhrFussel » Post

Minetest mod "freeze"

This mod utilizes an invisible entity to freeze player movement.

Especially useful against griefing.

Commands (requires kick priv):
- /freeze <playername>
- /unfreeze <playername>

Requires version >=0.4.16

License: Code is MIT. Texture is by Shara RedCat (CC BY-SA 3.0 or higher).

https://github.com/IhrFussel/freeze
Last edited by IhrFussel on Sat Feb 03, 2018 17:11, edited 1 time in total.

User avatar
cx384
Member
Posts: 779
Joined: Wed Apr 23, 2014 09:38
GitHub: cx384
IRC: cx384

Re: [Mod] freeze (WIP)

by cx384 » Post

Nice, alternative for the jail mod!
Can your read this?

User avatar
Lone_Wolf
Member
Posts: 2606
Joined: Sun Apr 09, 2017 05:50
GitHub: LoneWolfHT
IRC: LandarVargan
In-game: LandarVargan

Re: [Mod] freeze (WIP)

by Lone_Wolf » Post

Could you show a screenshot of a frozen player? If it wouldn't be too much trouble? I'm curious as to what the texture looks like
My ContentDB -|- Working on CaptureTheFlag -|- Minetest Forums Dark Theme!! (You need it)

User avatar
Wolfshippie
Member
Posts: 116
Joined: Mon Jul 24, 2017 12:37
GitHub: Wolfshippie
IRC: wolfshippie
In-game: wolfshippie minehippie
Location: Franconia, Bavaria, Germany
Contact:

Re: [Mod] freeze (WIP)

by Wolfshippie » Post

Hmm... I guess there's no "frozen player" texture... but would be really interesting. Something like a semi transparent ice block in which the player stucks... ^^

IhrFussel
Member
Posts: 78
Joined: Tue Nov 22, 2016 12:54
GitHub: IhrFussel
IRC: IhrFussel
In-game: IhrFussel

Re: [Mod] freeze (WIP)

by IhrFussel » Post

There is no freeze texture because the player doesn't need to know that it got attached to an entity.

That's why the collision box of the entity is 0.01 in all directions and the texture is transparent.

User avatar
Wolfshippie
Member
Posts: 116
Joined: Mon Jul 24, 2017 12:37
GitHub: Wolfshippie
IRC: wolfshippie
In-game: wolfshippie minehippie
Location: Franconia, Bavaria, Germany
Contact:

Re: [Mod] freeze (WIP)

by Wolfshippie » Post

IhrFussel wrote:... because the player doesn't need to know that it got attached to an entity. ...
But why not? Where's the problem with that?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest