[mod] Minimap requires priv [hide_minimap]

Post Reply
Amaz
Member
Posts: 354
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

[mod] Minimap requires priv [hide_minimap]

by Amaz » Post

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
Last edited by Amaz on Fri Sep 02, 2016 21:43, edited 2 times in total.

User avatar
Inocudom
Member
Posts: 3098
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [mod] Hide the minimap [hide_minimap]

by Inocudom » Post

Goodbye minimap. People hate it.
You can now find my videos at BitChute: https://www.bitchute.com/channel/some_cheeky_jinuskian/

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: [mod] Hide the minimap [hide_minimap]

by ExeterDad » Post

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

Amaz
Member
Posts: 354
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: [mod] Hide the minimap [hide_minimap]

by Amaz » Post

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.

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

Re: [mod] Hide the minimap [hide_minimap]

by rubenwardy » Post

You should call this Minimap requires privilege, or something.

Amaz
Member
Posts: 354
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: [mod] Hide the minimap [hide_minimap]

by Amaz » Post

rubenwardy wrote:You should call this Minimap requires privilege, or something.
Just the topic, or the mod itself?

User avatar
CWz
Member
Posts: 197
Joined: Tue Dec 24, 2013 17:01
GitHub: chaoswormz
IRC: CWz
In-game: CWz
Location: Banana Land

Re: [mod] Minimap requires priv [hide_minimap]

by CWz » Post

what about older minetest builds that don't care if server allows minimap or not

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

Re: [mod] Minimap requires priv [hide_minimap]

by 4aiman » Post

Deal with them by enabling strict protocol check on a server that cares?

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [mod] Minimap requires priv [hide_minimap]

by everamzah » Post

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?

User avatar
kaadmy
Member
Posts: 706
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: [mod] Minimap requires priv [hide_minimap]

by kaadmy » Post

I also found out that the minimap considerably slows down MT for me, it usually drops by about 2-5 fps.
Never paint white stripes on roads near Zebra crossings.

Pixture

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [mod] Minimap requires priv [hide_minimap]

by everamzah » Post

But it only slows down the client, though, right?

Edit: Sorry to derail! Mod looks important.

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [mod] Minimap requires priv [hide_minimap]

by everamzah » Post

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

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

Re: [mod] Minimap requires priv [hide_minimap]

by maikerumine » Post

+1
Talamh Survival Minetest-->viewtopic.php?f=10&t=12959

User avatar
everamzah
Member
Posts: 490
Joined: Thu Jan 29, 2015 00:47
GitHub: everamzah
IRC: everamzah
In-game: everamzah

Re: [mod] Minimap requires priv [hide_minimap]

by everamzah » Post

This has been added upstream, thanks Amaz!

amadin
Member
Posts: 548
Joined: Tue Jun 16, 2015 16:23

Re: [mod] Minimap requires priv [hide_minimap]

by amadin » Post

Is any way to disable only underground minimap mode for players on a server side? Underground map seems like cheat wall hack.
Last edited by amadin on Mon Oct 03, 2016 06:27, edited 1 time in total.

User avatar
TheReaperKing
Member
Posts: 531
Joined: Sun Nov 22, 2015 21:36
Contact:

Re: [mod] Minimap requires priv [hide_minimap]

by TheReaperKing » Post

Would it be possible to add disallowing the use of F5 so that players can't see the coordinates?
Become A Real Life Superhero - http://SuperheroHill.com
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com
Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com
Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids

User avatar
azekill_DIABLO
Member
Posts: 7502
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [mod] Minimap requires priv [hide_minimap]

by azekill_DIABLO » Post

amadin wrote:Underground map seems like cheat wall hack.
and make the mod i do useless (planning a map mod)

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests