[mod] Minimap requires priv [hide_minimap]

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

[mod] Minimap requires priv [hide_minimap]

by Amaz » Thu Aug 13, 2015 20:17

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: 3019
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [mod] Hide the minimap [hide_minimap]

by Inocudom » Thu Aug 13, 2015 20:56

Goodbye minimap. People hate it.
Recovering from the abomination I am. Clocking time for Garry's Mod I am too.
 

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

Re: [mod] Hide the minimap [hide_minimap]

by ExeterDad » Thu Aug 13, 2015 21:10

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: 343
Joined: Wed May 08, 2013 08:26
GitHub: Amaz1
IRC: Amaz
In-game: Amaz

Re: [mod] Hide the minimap [hide_minimap]

by Amaz » Thu Aug 13, 2015 21:23

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: 5545
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
 

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

Re: [mod] Hide the minimap [hide_minimap]

by Amaz » Fri Aug 14, 2015 09:04

rubenwardy wrote:You should call this Minimap requires privilege, or something.

Just the topic, or the mod itself?
 

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

Re: [mod] Minimap requires priv [hide_minimap]

by CWz » Fri Aug 14, 2015 09:21

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 » Fri Aug 14, 2015 12:00

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 » Wed Sep 30, 2015 18:07

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: 701
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 » Wed Sep 30, 2015 19:23

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 » Wed Sep 30, 2015 19:25

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 » Thu Jul 28, 2016 10:21

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: 1345
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine
 

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

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

Re: [mod] Minimap requires priv [hide_minimap]

by amadin » Sun Oct 02, 2016 16:12

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: 529
Joined: Sun Nov 22, 2015 21:36

Re: [mod] Minimap requires priv [hide_minimap]

by TheReaperKing » Sun Oct 02, 2016 16:41

Would it be possible to add disallowing the use of F5 so that players can't see the coordinates?
Resources on happiness and life management - http://MikesHappyPlace.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: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [mod] Minimap requires priv [hide_minimap]

by azekill_DIABLO » Thu Oct 06, 2016 12:21

amadin wrote:Underground map seems like cheat wall hack.

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


Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 0 guests