Page 1 of 1

[mod] Minimap requires priv [hide_minimap]

PostPosted: Thu Aug 13, 2015 20:17
by Amaz
Important note: This mod needs a very new build of Minetest to work, or 0.4.13 when it's released! (This commit added this functionality: https://github.com/minetest/minetest/co ... e393b00d7e)

This mod allows server admins to hide the minimap to normal players, and allow certain players to use it with the minimap priv. I think that's all that there is to it. (Edit: When I wrote this, I forgot about the download link. *headdesk*)

Download: https://github.com/Amaz1/hide_minimap/a ... master.zip
Github: https://github.com/Amaz1/hide_minimap.git

Depends: None.
License: MIT

Re: [mod] Hide the minimap [hide_minimap]

PostPosted: Thu Aug 13, 2015 20:56
by Inocudom
Goodbye minimap. People hate it.

Re: [mod] Hide the minimap [hide_minimap]

PostPosted: Thu Aug 13, 2015 21:10
by ExeterDad
Inocudom wrote:Goodbye minimap. People hate it.

Hate is a very strong word. I prefer "I freaking LOVE it!"

But thats me :)

Not knocking this mod. Minimap available in all cases could be bad for some servers.
Nice work Amaz

Re: [mod] Hide the minimap [hide_minimap]

PostPosted: Thu Aug 13, 2015 21:23
by Amaz
I would certainly agree with ExeterDad when he says "I freaking LOVE it!" I went as far as to put this in the readme: "If this mod becomes used on too many servers, I may have to add a check for my name into the code, which allows me to always use it...!"
I just coded this because a) I was somewhat bored and b) because it might be good for use on some extreme survival servers.

(I had a feeling I would be getting a response like this sooner or later, but just to make it clear once again, I LOVE the minimap, but thought that a mod like this could be good on some servers.

Re: [mod] Hide the minimap [hide_minimap]

PostPosted: Fri Aug 14, 2015 07:41
by rubenwardy
You should call this Minimap requires privilege, or something.

Re: [mod] Hide the minimap [hide_minimap]

PostPosted: Fri Aug 14, 2015 09:04
by Amaz
rubenwardy wrote:You should call this Minimap requires privilege, or something.

Just the topic, or the mod itself?

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Fri Aug 14, 2015 09:21
by CWz
what about older minetest builds that don't care if server allows minimap or not

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Fri Aug 14, 2015 12:00
by 4aiman
Deal with them by enabling strict protocol check on a server that cares?

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Wed Sep 30, 2015 18:07
by everamzah
Does the usage of the minimap by players on a server slow down minetest? Or is this more about not wanting people to see through walls?

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Wed Sep 30, 2015 19:23
by kaadmy
I also found out that the minimap considerably slows down MT for me, it usually drops by about 2-5 fps.

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Wed Sep 30, 2015 19:25
by everamzah
But it only slows down the client, though, right?

Edit: Sorry to derail! Mod looks important.

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Thu Jul 28, 2016 10:21
by everamzah
I made a fork featuring an unconditional hiding of the minimap. `hide_minimap_unconditional' must be set, or the default behavior of priv-based hiding is used.

https://github.com/everamzah/hide_minimap

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Thu Jul 28, 2016 12:12
by maikerumine
+1

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Thu Jul 28, 2016 15:20
by everamzah
This has been added upstream, thanks Amaz!

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Sun Oct 02, 2016 16:12
by amadin
Is any way to disable only underground minimap mode for players on a server side? Underground map seems like cheat wall hack.

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Sun Oct 02, 2016 16:41
by TheReaperKing
Would it be possible to add disallowing the use of F5 so that players can't see the coordinates?

Re: [mod] Minimap requires priv [hide_minimap]

PostPosted: Thu Oct 06, 2016 12:21
by azekill_DIABLO
amadin wrote:Underground map seems like cheat wall hack.

and make the mod i do useless (planning a map mod)