[mod] Minimap requires priv [hide_minimap]

Amaz
Member
 
Posts: 328
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: 2889
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.
 

User avatar
ExeterDad
Member
 
Posts: 1121
Joined: Sun Jun 01, 2014 20:00
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
٩(̾●̮̮̃̾•̃̾)۶

Kibbie and I have a beautiful public server now! HOMETOWN
 

Amaz
Member
 
Posts: 328
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
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [mod] Hide the minimap [hide_minimap]

by rubenwardy » Fri Aug 14, 2015 07:41

You should call this Minimap requires privilege, or something.
 

Amaz
Member
 
Posts: 328
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: 185
Joined: Tue Dec 24, 2013 17:01

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: 627
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.
 

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

Re: [mod] Minimap requires priv [hide_minimap]

by maikerumine » Thu Jul 28, 2016 12:12

+1
 

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 15:20

This has been added upstream, thanks Amaz!
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

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: 493
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?
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: 3458
Joined: Wed Oct 29, 2014 20:05
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)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 


Return to WIP Mods

Who is online

Users browsing this forum: Google [Bot] and 31 guests

cron